There is: SELECT currval(pg_get_serial_sequence('mytab','mycol')); Tried this as an isolated statement and it returned null, so it appears to also require that nextval be run before it can work. Michael Schmidt
pgsql-jdbc by date:
Соглашаюсь с условиями обработки персональных данных