Project

General

Profile

« Previous | Next » 

Revision 2608

sql_gen.py: identifier_max_len: Fixed bug where PostgreSQL's max length was actually 63, not 64

View differences:

lib/sql_gen.py
9 9

  
10 10
##### Names
11 11

  
12
identifier_max_len = 64 # for both PostgreSQL and MySQL
12
identifier_max_len = 63 # works for both PostgreSQL and MySQL
13 13

  
14 14
def add_suffix(str_, suffix):
15 15
    return strings.add_suffix(str_, suffix, identifier_max_len)

Also available in: Unified diff