__visit_name__ = "MACADDR8"
-class TIMESTAMPTZ(TIMESTAMP):
- __visit_name__ = "TIMESTAMPTZ"
-
-
ischema_names = {
"_array": _array.ARRAY,
"hstore": _hstore.HSTORE,
"regclass": REGCLASS,
"double precision": DOUBLE_PRECISION,
"timestamp": TIMESTAMP,
- "timestampz": TIMESTAMPZ,
"timestamp with time zone": TIMESTAMP,
"timestamp without time zone": TIMESTAMP,
"time with time zone": TIME,
(type_.timezone and "WITH" or "WITHOUT") + " TIME ZONE",
)
- def visit_TIMESTAMPTZ(self, type_, **kw):
- return "TIMESTAMPTZ"
-
def visit_TIME(self, type_, **kw):
return "TIME%s %s" % (
"(%d)" % type_.precision
Column("bitstring", postgresql.BIT(4)),
Column("addr", postgresql.INET),
Column("addr2", postgresql.MACADDR),
+ Column("addr4", postgresql.MACADDR8),
Column("price", postgresql.MONEY),
Column("addr3", postgresql.CIDR),
Column("doubleprec", postgresql.DOUBLE_PRECISION),