Re: postgresql experts please help - Mailing list pgsql-jdbc

From Michael Schmidt
Subject Re: postgresql experts please help
Date
Msg-id BAYC1-PASMTP122CBC3972F1908338F9D5A39E0@CEZ.ICE
Whole thread Raw
Responses Re: postgresql experts please help  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
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:

Previous
From: Oliver Jowett
Date:
Subject: Re: Re: [BUGS] 'on insert do instead' rule with a where clause responds 'INSERT 0 0'
Next
From: Kris Jurka
Date:
Subject: Re: postgresql experts please help