sim wrote: > creation_order = Column('creation_order', PGBigInteger, Sequence > ('creation_order_seq'))
this works fine for me and this is covered in test cases too. from sqlalchemy import * from sqlalchemy.databases.postgres import PGBigInteger engine = create_engine('postgres://scott:ti...@localhost/test', echo='debug') m = MetaData(engine) t = Table('t1', m, Column('id', PGBigInteger, primary_key=True), Column('foo', PGBigInteger, Sequence('foo_seq')) ) m.drop_all() m.create_all() t.insert().execute() t.insert().execute() t.insert().execute() assert list(t.select().execute()) == [ (1, 1), (2, 2), (3, 3) ] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---