Re: [Postgresql-it] Sequenze
- From: Matteo Beccati <php@xxxxxxxxxxx>
- To: postgresql-it@xxxxxxxxxxxxxxxxx
- Date: Mon, 07 Feb 2005 10:23:14 +0100
Ciao,
SELECT currval() è mio amico per recuperare il valore generato.
non può dare problemi su accessi concorrenti?
Assolutamtente no: è per-connessione. Prova a fare:
# psql tuodb -c "SELECT currval('nomediuna_seq')"
Ciao ciao
--
Matteo Beccati
http://phpadsnew.com
http://phppgads.com
Other related posts: