Project

General

Profile

« Previous | Next » 

Revision 2856

sql_gen.py: null_sentinels: Added value for character varying type

View differences:

lib/sql_gen.py
525 525

  
526 526
# See <http://www.postgresql.org/docs/8.3/static/datatype-numeric.html>
527 527
null_sentinels = {'USER-DEFINED': None, 'boolean': False, 'integer': 2147483647,
528
    'text': r'\N'}
528
    'text': r'\N', 'character varying': r'\N'}
529 529

  
530 530
class EnsureNotNull(FunctionCall):
531 531
    def __init__(self, value, type_):

Also available in: Unified diff