Re: INSERT and get ID - Mailing list pgsql-jdbc

From Peter.Zoche@materna.de
Subject Re: INSERT and get ID
Date
Msg-id 3617A3C21370D045B75C0A40A7A6530D0B37E19A@ntexc2buc.do-office.buc.materna.com
Whole thread Raw
In response to INSERT and get ID  (Peter.Zoche@materna.de)
Responses Re: INSERT and get ID  (Csaba Nagy <nagy@ecircle-ag.com>)
Re: INSERT and get ID  (Dave Cramer <pg@fastcrypt.com>)
Re: INSERT and get ID  (Roland Walter <rwa@mosaic-ag.com>)
List pgsql-jdbc
> You have to do a a "SELECT curval('myseq')" after the insert.

I had this in mind, too, but I am not sure if it is really safe if
there are several inserts at the same time...

pgsql-jdbc by date:

Previous
From: Roland Walter
Date:
Subject: Re: INSERT and get ID
Next
From: Csaba Nagy
Date:
Subject: Re: INSERT and get ID