I fail to see how this solves the problem of getting auto generated keys.

AFAIKS, the protocol needs to be tweaked to return at a minimum the currval for the first serial in the row, but more correctly all of the modified currval's for an insert

if we had that then we could correctly implement getAutoGeneratedKeys for jdbc.

Dave
On 17-Oct-05, at 8:33 AM, Bruce Momjian wrote:

Neil Conway wrote:

On Sun, 2005-16-10 at 01:20 -0700, Kevin McArthur wrote:

Don't forget insert/update returning.


Omar Kilani has a patch for this:

http://archives.postgresql.org/pgsql-patches/2005-07/msg00568.php

I would like to see it get into 8.2


Yes, this is in the 8.2 patches queue:

    http://momjian.postgresql.org/cgi-bin/pgpatches_hold


--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org




---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

              http://www.postgresql.org/docs/faq

Reply via email to