[HACKERS] execute command tag including affected rows count

2004-03-21 Thread Kris Jurka
Would it be possible to have the command completion tag for EXECUTE return the affected row count? The JDBC API says you should be able to get the affected row count for any statement and I'm working on integrating a patch that transforms regular statements to server side prepared statements,

Re: [HACKERS] execute command tag including affected rows count

2004-03-21 Thread Neil Conway
On 21-Mar-04, at 11:39 AM, Kris Jurka wrote: Would it be possible to have the command completion tag for EXECUTE return the affected row count? Yes, this has been suggested before -- for example: http://www.mail-archive.com/[EMAIL PROTECTED]/msg26787.html I agree it would be a good idea,

Re: [HACKERS] execute command tag including affected rows count

2004-03-21 Thread Tom Lane
Neil Conway [EMAIL PROTECTED] writes: On 21-Mar-04, at 11:39 AM, Kris Jurka wrote: Would it be possible to have the command completion tag for EXECUTE return the affected row count? Yes, this has been suggested before -- for example: http://www.mail-archive.com/[EMAIL

Re: [HACKERS] execute command tag including affected rows count

2004-03-21 Thread Kris Jurka
On Sun, 21 Mar 2004, Tom Lane wrote: On 21-Mar-04, at 11:39 AM, Kris Jurka wrote: Would it be possible to have the command completion tag for EXECUTE return the affected row count? However, does this really solve Kris' problem? JDBC generally likes to think that it works with old

Re: [HACKERS] execute command tag including affected rows count

2004-03-21 Thread Bruce Momjian
Neil Conway wrote: On 21-Mar-04, at 11:39 AM, Kris Jurka wrote: Would it be possible to have the command completion tag for EXECUTE return the affected row count? Yes, this has been suggested before -- for example: http://www.mail-archive.com/[EMAIL PROTECTED]/msg26787.html I