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

returning autogenerated keys

From: Srinivasa_Tata(at)hud(dot)gov
To: pgsql-jdbc(at)postgresql(dot)org
Subject: returning autogenerated keys
Date: 2005-10-07 02:02:39
Message-ID: OF3E01A0CD.ACDB08E9-ON85257093.000AF64A-85257093.000B3B26@HUD.GOV (view raw or whole thread)
Lists: pgsql-jdbc
 I am trying to use PostgreSQL and while trying to do a prototype, I am 
getting an error. 
org.postgresql.util.PSQLException: Returning autogenerated keys is not 
In the TODO list (INSERT section), it is mentioned that  "This is useful 
for returning the auto-generated key for an INSERT. One complication is 
how to handle rules that run as part of the insert."
Does it mean PostgreSQL does not support returning autogenerated keys?  I 
am using 803 version.

Thanks In Advance

Srinivas Tata


pgsql-jdbc by date

Next:From: Kris JurkaDate: 2005-10-07 02:20:45
Subject: Re:
Previous:From: Srinivas TataDate: 2005-10-07 01:55:40

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