Implement session::get_next_sequence_value() for PostgreSQL backend.

Use the same actual implementation as for the ODBC backend when using
PostgreSQL driver, i.e. "select nextval(sequence-name)".