Revision 2856
Added by Aaron Marcuse-Kubitza over 12 years ago
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
sql_gen.py: null_sentinels: Added value for character varying type