mi rispondo da solo:
"Return the value most recently obtained by nextval for this sequence in
the current session. (An error is reported if nextval has never been
called for this sequence in this session.) Notice that because this is
returning a session-local value, it gives a predictable answer even if
other sessions are executing nextval meanwhile. "
m.
max jacob wrote:
SELECT currval() è mio amico per recuperare il valore generato.
non può dare problemi su accessi concorrenti?
m.
_______________________________________________
Postgresql-it mailing list
Postgresql-it@xxxxxxxxxxxxxxxxx
http://www.linuxtime.it/mailman/listinfo/postgresql-it