I don't understand this default behaviour in postgres.py:
if column.primary_key and isinstance(column.type, types.Integer) and
(column.default is None or (isinstance(column.default,
schema.Sequence) and column.default.optional)):
colspec += " SERIAL"
more specifically the "isinstance(column.default, schema.Sequence)
and column.default.optional" part
shouldn't the SERIAL modifier be added when the default is *not*
optional, or I got this wrong?
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users