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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message