Matt Wilson wrote:

In psql, I can do this:

alter sequence city_id_seq restart 1;

You can also use "select setval ( 'city_id_seq', 1 )" which might be easier to map from an ORM.

http://www.postgresql.org/docs/8.0/interactive/functions-sequence.html

Sorry I don't have a direct answer to your question.

Cliff

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to