Revision 2845
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
571 | 571 |
|
572 | 572 |
def to_Col(self): return Col(self.name) |
573 | 573 |
|
574 |
null_sentinels = {'text': r'\N'} |
|
574 |
# See <http://www.postgresql.org/docs/8.3/static/datatype-numeric.html> |
|
575 |
null_sentinels = {'text': r'\N', 'integer': 2147483647} |
|
575 | 576 |
|
576 | 577 |
ensure_not_null_excs = (NoUnderlyingTableException, KeyError) |
577 | 578 |
|
Also available in: Unified diff
sql_gen.py: null_sentinels: Added value for integer type