This was replaced by _create_constraint_name(), which uses only a single mechanism for generating names. The Oracle specific name rules are pushed to Oracle's DatabaseSchemaEditor.

From what I've read, each database has a max identifier name length, which is already specified by self.connection.ops.max_name_length().