Thomas Munro <mu...@ip9.org> writes: > SQL:2003 introduced the function NEXT VALUE FOR <sequence>. Google > tells me that at least DB2, SQL Server and a few niche databases > understand it so far. As far as I can tell there is no standardised > equivalent of currval and setval (but I only have access to second > hand information about the standard, like articles and the manuals of > other products).
Have you checked the archives about this? My recollection is that one reason it's not in there (aside from having to reserve "NEXT") is that the standard-mandated semantics are not the same as nextval(). regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers