pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Hiroshi Inoue <Inoue@tpf.co.jp>
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: EXECUTE status (was Re: [ODBC] About server side prepare)
Date: Fri, 20 Dec 2002 12:56:55 -0500
Message-ID: <23639.1040407015@sss.pgh.pa.us> (raw)
In-Reply-To: <200212201746.gBKHkeR18222@candle.pha.pa.us>
References: <200212201746.gBKHkeR18222@candle.pha.pa.us>

Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I think it should return "EXECUTE" with the counts from the commands. 
> Does that make sense?

No.  It would break client libraries, which only expect command tags
INSERT, UPDATE, DELETE to be followed by counts.  Also, INSERT has two
numbers associated with it, the others only one; if we allow both those
cases for EXECUTE then life gets even worse for the client library.

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <23639.1040407015@sss.pgh.pa.us>
Permalink:  ../23639.1040407015@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23639.1040407015@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us, Inoue@tpf.co.jp, pgsql-hackers@postgresql.org
  Subject: Re: EXECUTE status (was Re: [ODBC] About server side prepare)
  In-Reply-To: <23639.1040407015@sss.pgh.pa.us>
  References: <200212201746.gBKHkeR18222@candle.pha.pa.us> <23639.1040407015@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox