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

Re: Patch for Statement.getGeneratedKeys()

From: Ken Johanson <pg-user(at)kensystem(dot)com>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Patch for Statement.getGeneratedKeys()
Date: 2008-01-17 06:13:39
Message-ID: 478EF213.7010004@kensystem.com (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-jdbc
Kris, all: please see the changes in AbstractJdbc3Statement, the 
regclass technique suggested by Tom is implemented and working. However 
I have not made any attempt to manage the separate generated-keys 
resultset nor state (RETURN_GENERATED_KEYS).

Please consider making these changes yourself, or tell me what needs to 
be done (again I am not proficient with the spec or state mgmt for the 
calls). I think your deeper knowledge of the driver and spec will 
produce better quality code. I am losing some cycles starting next week 
so won't be able to work on this for several weeks or more.

Thanks,
Ken

Attachment: out.patch
Description: text/plain (10.9 KB)

In response to

pgsql-jdbc by date

Next:From: Marc G. FournierDate: 2008-01-17 06:17:53
Subject: Re: [ADMIN] postgresql in FreeBSD jails: proposal
Previous:From: Tom LaneDate: 2008-01-17 06:12:54
Subject: Re: [ADMIN] postgresql in FreeBSD jails: proposal

pgsql-general by date

Next:From: Marc G. FournierDate: 2008-01-17 06:17:53
Subject: Re: [ADMIN] postgresql in FreeBSD jails: proposal
Previous:From: Tom LaneDate: 2008-01-17 06:12:54
Subject: Re: [ADMIN] postgresql in FreeBSD jails: proposal

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