﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33707	Allow Oracle table names to be over 30 characters	Scott Ertel	nobody	"Currently django.db.backends.oracle sets the max length of a table to 30 characters, and models with names longer than that are hashed. This makes it difficult for users of the database  (i.e. analytics users) to work with the tables in their queries.

Oracle has allowed characters over 30 length since 12.2, and Django supports versions 19c and higher.

I change this behavior through a monkey patch:

{{{
DatabaseOperations.max_name_length = lambda x: 128
}}}

I was wondering if the length could be specified in the config and the max_name_length function could be changed to use that setting, or default to 30 if not set?

I would like to contribute the change if possible. 
"	New feature	closed	Database layer (models, ORM)	4.0	Normal	duplicate			Unreviewed	0	0	0	0	0	0
