Re: [JDBC] Returning oid or primary key

2001-05-03 Thread Bruce Momjian
-- Start of PGP signed section. > > From: Bruce Momjian <[EMAIL PROTECTED]> > > Date: Thu, 3 May 2001 13:42:23 -0400 (EDT) > > > Certainly the portable solution is to get RETURNING into the backend so > > you can decide what you want to return. > > I agree. Is that currently planned for the ne

Re: [JDBC] Returning oid or primary key

2001-05-03 Thread Ned Wolpert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > From: Bruce Momjian <[EMAIL PROTECTED]> > Date: Thu, 3 May 2001 13:42:23 -0400 (EDT) > Certainly the portable solution is to get RETURNING into the backend so > you can decide what you want to return. I agree. Is that currently planned for the n

Re: [JDBC] Returning oid or primary key

2001-05-03 Thread Bruce Momjian
> However, _if_ RETURNING is going to be in the standard SQL for the > next release, _and_ there are plans to update the jdbc driver to take > advantage of that in the callable statement, as well, then it makes > more sense _not_ to add my patch that implements the 'overloading' of > the return va

Re: [JDBC] Returning oid or primary key

2001-05-03 Thread Bruce Momjian
-- Start of PGP signed section. > (If this is the second time you've seen this message, sorry about that... > it didn't seem to go through the first time I sent it.) > > > Folks- > > I've got an idea on a possible extension to the jdbc driver. I want > to submit a patch, but only if others t

Re: [JDBC] Returning oid or primary key

2001-05-03 Thread Ned Wolpert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > From: Bruce Momjian <[EMAIL PROTECTED]> > Date: Thu, 3 May 2001 13:29:55 -0400 (EDT) > > insert into tablename(name) values('sample') returning oid > > > > as the string would cause the returning value of the executeUpdate() > > method to be the

[JDBC] Returning oid or primary key

2001-05-03 Thread Ned Wolpert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (If this is the second time you've seen this message, sorry about that... it didn't seem to go through the first time I sent it.) Folks- I've got an idea on a possible extension to the jdbc driver. I want to submit a patch, but only if others th

[JDBC] Returning oid or primary key

2001-05-02 Thread Ned Wolpert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Folks- I've got an idea on a possible extension to the jdbc driver. I want to submit a patch, but only if others think it makes sense. I want to add a 'clause' that would slightly change the return value of the executeUpdate(String) method in the