Jan Wieck <janwieck(at)yahoo(dot)com> writes:> The reason is that the SQL standard defines CURRVAL to be> last value returned by NEXTVAL "in this session".
Sequences are in the SQL standard? I'm not finding 'em there...
regards, tom lane