Ticket #4492: add-quote-name_r5678.diff
File add-quote-name_r5678.diff, 1.1 KB (added by , 17 years ago) |
---|
-
db/backends/postgresql/base.py
271 271 style.SQL_FIELD(quote_name('id')), 272 272 style.SQL_KEYWORD('IS NOT'), 273 273 style.SQL_KEYWORD('FROM'), 274 style.SQL_TABLE( f.m2m_db_table())))274 style.SQL_TABLE(quote_name(f.m2m_db_table())))) 275 275 return output 276 276 277 277 def typecast_string(s): -
db/backends/postgresql_psycopg2/base.py
221 221 style.SQL_FIELD(quote_name('id')), 222 222 style.SQL_KEYWORD('IS NOT'), 223 223 style.SQL_KEYWORD('FROM'), 224 style.SQL_TABLE( f.m2m_db_table())))224 style.SQL_TABLE(quote_name(f.m2m_db_table())))) 225 225 return output 226 226 227 227 OPERATOR_MAPPING = {