On Thu, 18 Oct 2007, Josh Berkus wrote: > I'm pretty sure there's a version of lastval() which takes the table > name as a parameter. That would be the safer one to use. > There is: SELECT currval(pg_get_serial_sequence('mytab','mycol')); Kris Jurka
pgsql-jdbc by date:
Соглашаюсь с условиями обработки персональных данных