Hi,

Michael Bayer написа:
> if you dont want to use the trunk for now, you can probably define
> the column as:
>
> Column('obj_id', integer, default=func.obj_id_seq.nextval())
>
this answers another question of mine :) that i planned to ask
...but it generates (on Postgres) this:
SELECT obj_id_seq.nextval()
and seems the proper syntax is:
SELECT nextval( 'obj_id_seq');
regards,
Stefan


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to