Received: from candle.pha.pa.us (maillist@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.8.8/8.7.5) with ESMTP id KAA06236; Mon, 27 Apr 1998 10:54:41 -0400 (EDT) Received: (from maillist@localhost) by candle.pha.pa.us (8.8.5/8.8.5) id KAA05021; Mon, 27 Apr 1998 10:54:13 -0400 (EDT) From: Bruce Momjian Message-Id: <199804271454.KAA05021@candle.pha.pa.us> Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size To: tgl@sss.pgh.pa.us (Tom Lane) Date: Mon, 27 Apr 1998 10:54:13 -0400 (EDT) Cc: pgsql-hackers@postgreSQL.org, pgsql-interfaces@postgreSQL.org In-Reply-To: <4165.893688093@sss.pgh.pa.us> from "Tom Lane" at Apr 27, 98 10:41:33 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > Bruce Momjian writes: > > OK, you just need to remember to throw away any un-called-for results if > > they do another PQexec without retrieving all the results returned by > > the backend. > > OK, so you feel the right behavior is "throw away unconsumed results" > and not "raise an error"? > > I don't have a strong feeling either way; I'm just asking what the > consensus is. Throw them away. That is what we have always done, and if they wanted them, they wouldn't have put them all in one pgexec(). -- Bruce Momjian | 830 Blythe Avenue maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026 + If your life is a hard drive, | (610) 353-9879(w) + Christ can be your backup. | (610) 853-3000(h)