Mapping serial(auto increment) Postgres to bigserial

487 views
Skip to first unread message

voltron

unread,
Oct 2, 2007, 3:06:03 AM10/2/07
to sqlalchemy
How does one specify that the auto incrementing field should map to
big serial and not serial?

thanks

Ants Aasma

unread,
Oct 2, 2007, 9:54:19 AM10/2/07
to sqlalchemy
On Oct 2, 10:06 am, voltron <nhy...@googlemail.com> wrote:
> How does one specify that the auto incrementing field should map to
> big serial and not serial?
Use the sqlalchemy.databases.postgres.PGBigInteger datatype for that
field.

voltron

unread,
Oct 2, 2007, 3:50:54 PM10/2/07
to sqlalchemy
Thanks
Reply all
Reply to author
Forward
0 new messages