By accident I stumbled across the following paragraph in the August
2002 draft of SQL 2003:
If there are multiple instances of <next value expression>s
specifying the same sequence generator within a single
SQL-statement, all those instances return the same value for a
given row processed by that SQL-statement.
Is this of any relevance to PG's nextval()?
Servus
Manfred
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html