Skip site navigation (1) Skip section navigation (2)

Re: Fw: postgresql experts please help

From: Kris Jurka <books(at)ejurka(dot)com>
To: Michael Schmidt <MichaelMSchmidt(at)msn(dot)com>
Cc: Mark Lewis <mark(dot)lewis(at)mir3(dot)com>, Andrei Ilitchev <andrei(dot)ilitchev(at)oracle(dot)com>, pgsql-jdbc(at)postgresql(dot)org, Marina Vatkina <Marina(dot)Vatkina(at)Sun(dot)COM>
Subject: Re: Fw: postgresql experts please help
Date: 2007-10-18 18:03:23
Message-ID: (view raw or whole thread)
Lists: pgsql-jdbc

On Thu, 18 Oct 2007, Michael Schmidt wrote:

> Also, from my read of the documentation and experience, you have to call 
> nextval before you can call currval in the transaction.

Right, but the insert should trigger the default on the serial column to 
call nextval behind the scenes.

Kris Jurka

In response to


pgsql-jdbc by date

Next:From: Kris JurkaDate: 2007-10-18 18:05:40
Subject: Re: AbstractJdbc2Array - another patch
Previous:From: Michael SchmidtDate: 2007-10-18 17:58:28
Subject: Re: Fw: postgresql experts please help

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group