Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 4511E475F47; Fri, 20 Dec 2002 12:46:52 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id A446E475B33; Fri, 20 Dec 2002 12:46:50 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id gBKHkeR18222; Fri, 20 Dec 2002 12:46:40 -0500 (EST) From: Bruce Momjian Message-Id: <200212201746.gBKHkeR18222@candle.pha.pa.us> Subject: Re: EXECUTE status (was Re: [ODBC] About server side prepare) In-Reply-To: <15201.1040395015@sss.pgh.pa.us> To: Tom Lane Date: Fri, 20 Dec 2002 12:46:39 -0500 (EST) Cc: Hiroshi Inoue , pgsql-hackers@postgresql.org, "pgsql-odbc@postgresql.org" X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/1031 X-Sequence-Number: 33486 Tom Lane wrote: > Hiroshi Inoue writes: > > Good catch. Hmm this may be a serious problem because > > there's no way to know the row count when we use EXECUTE > > statements. > > I wonder if EXECUTE could/should be made to return the appropriate > command status string for the executed statement, instead of "EXECUTE". I think it should return "EXECUTE" with the counts from the commands. Does that make sense? -- 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