From: Michael Schmidt <MichaelMSchmidt@msn.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: postgresql experts please help
Date: Thu, 18 Oct 2007 16:11:59 -0600
Message-ID: <BAYC1-PASMTP122CBC3972F1908338F9D5A39E0@CEZ.ICE> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: MichaelMSchmidt@msn.com
Subject: Re: postgresql experts please help
In-Reply-To: <BAYC1-PASMTP122CBC3972F1908338F9D5A39E0@CEZ.ICE>
References: <BAYC1-PASMTP122CBC3972F1908338F9D5A39E0@CEZ.ICE>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox