pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.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:59:39 -0500 (EST)
Message-ID: <200212201759.gBKHxdV19973@candle.pha.pa.us> (raw)
In-Reply-To: <23639.1040407015@sss.pgh.pa.us>

Tom Lane wrote:
> 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.

It is easy to determine what tag to return?  Remember the discussion on
rules and that only the original tag should be returned.  Is there
always one obvious tag to an execute?

-- 
  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



view thread (9+ messages)  latest in thread

Message-ID: <200212201759.gBKHxdV19973@candle.pha.pa.us>
Permalink:  ../200212201759.gBKHxdV19973@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200212201759.gBKHxdV19973@candle.pha.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: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, Inoue@tpf.co.jp, pgsql-hackers@postgresql.org
  Subject: Re: EXECUTE status (was Re: [ODBC] About server side prepare)
  In-Reply-To: <200212201759.gBKHxdV19973@candle.pha.pa.us>
  References: <23639.1040407015@sss.pgh.pa.us> <200212201759.gBKHxdV19973@candle.pha.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