Re: JDBC changes for 7.2... some questions...

From: Ned Wolpert <ned(dot)wolpert(at)knowledgenet(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JDBC changes for 7.2... some questions...
Date: 2001-08-21 21:27:04
Message-ID: XFMail.20010821142704.ned.wolpert@knowledgenet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

What about the 'select @@last_oid' to make the getInsertedOID() call available
even when the driver is wrapped by a pooling manager?

How do people feel about this? (I would be happy to contribute to the codebase
for this one.) I understand the RETURNING clause is more work... and I would
like to help out on that for 7.3.

On 21-Aug-2001 Tom Lane wrote:
> Ned Wolpert <ned(dot)wolpert(at)knowledgenet(dot)com> writes:
>> 1) Being able to use the RETURNING clause in prepared statements, like
>> this
>> "INSERT INTO tableName (key1,...)
>> VALUES (value1,...)
>> RETURNING primKeyName INTO ?"
>> Which is what Oracle provides.
>
> INSERT ... RETURNING was discussed recently, and I think people agreed
> it's a good idea, but it got hung up on some unresolved issues about how
> it should interact with ON INSERT rules for views. Search the pghackers
> mailing list archives for details. At this point I think it's probably
> too late to consider it for 7.2, but I'm still open to doing it in 7.3
> if we can come up with a bulletproof spec.
>
> regards, tom lane

Virtually,
Ned Wolpert <ned(dot)wolpert(at)knowledgenet(dot)com>

D08C2F45: 28E7 56CB 58AC C622 5A51 3C42 8B2B 2739 D08C 2F45
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7gtIoiysnOdCML0URAmgIAJwJVf2BGhFq88bXHY3yni9qzGohegCdHmPf
7Xnb57gfiP2xoMC8x5mIhWU=
=p5Bx
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-08-21 21:31:55 Re: JDBC changes for 7.2... some questions...
Previous Message Mitch Vincent 2001-08-21 21:23:51 Re: Re: List response time...

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bruce Momjian 2001-08-21 21:30:43 Re: [PATCHES] Array Support Fix
Previous Message Greg Zoller 2001-08-21 21:17:27 Re: Array Support Fix