Re: postgresql experts please help

From: Michael Schmidt <MichaelMSchmidt(at)msn(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: postgresql experts please help
Date: 2007-10-18 22:11:59
Message-ID: BAYC1-PASMTP122CBC3972F1908338F9D5A39E0@CEZ.ICE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2007-10-18 22:19:43 Re: postgresql experts please help
Previous Message Andrei Ilitchev 2007-10-18 21:01:12 Re: Fw: postgresql experts please help