- postgres:
- better reflection of sequences for alternate-schema Tables [ticket:442]
- sequences on a non-pk column will properly fire off on INSERT
- - added PGInterval type [ticket:460]
+ - added PGInterval type [ticket:460], PGInet type [ticket:444]
- ext:
- added distinct() method to SelectResults. generally should only make a difference
when using count().
except:
psycopg = None
+class PGInet(sqltypes.TypeEngine):
+ def get_col_spec(self):
+ return "INET"
+
class PGNumeric(sqltypes.Numeric):
def get_col_spec(self):
if not self.precision:
'numeric' : PGNumeric,
'float' : PGFloat,
'real' : PGFloat,
+ 'inet': PGInet,
'double precision' : PGFloat,
'timestamp' : PG2DateTime,
'timestamp with time zone' : PG2DateTime,