Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id DC34B475F47 for ; Fri, 20 Dec 2002 12:56:50 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 26125475EEE for ; Fri, 20 Dec 2002 12:56:50 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id gBKHutpd023640; Fri, 20 Dec 2002 12:56:55 -0500 (EST) To: Bruce Momjian Cc: Hiroshi Inoue , pgsql-hackers@postgresql.org, "pgsql-odbc@postgresql.org" Subject: Re: EXECUTE status (was Re: [ODBC] About server side prepare) In-reply-to: <200212201746.gBKHkeR18222@candle.pha.pa.us> References: <200212201746.gBKHkeR18222@candle.pha.pa.us> Comments: In-reply-to Bruce Momjian message dated "Fri, 20 Dec 2002 12:46:39 -0500" Date: Fri, 20 Dec 2002 12:56:55 -0500 Message-ID: <23639.1040407015@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/1032 X-Sequence-Number: 33487 Bruce Momjian 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