X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 2F3699DC875 for ; Fri, 3 Feb 2006 22:33:59 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 98085-03 for ; Fri, 3 Feb 2006 22:34:01 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from candle.pha.pa.us (candle.pha.pa.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id 267B59DC812 for ; Fri, 3 Feb 2006 22:33:54 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id k142XIW23988; Fri, 3 Feb 2006 21:33:18 -0500 (EST) From: Bruce Momjian Message-Id: <200602040233.k142XIW23988@candle.pha.pa.us> Subject: Re: PQfformat() and Composite Formatted Results In-Reply-To: <15245.1139019921@sss.pgh.pa.us> To: Tom Lane Date: Fri, 3 Feb 2006 21:33:18 -0500 (EST) CC: Volkan YAZICI , pgsql-interfaces@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.128 required=5 tests=[AWL=0.128] X-Spam-Score: 0.128 X-Spam-Level: X-Archive-Number: 200602/10 X-Sequence-Number: 5974 Tom Lane wrote: > Bruce Momjian writes: > > Tom Lane wrote: > >> There is 0 chance that this will be applied, because > >> > >>> Therefore, it breaks compatibility with the existing PQ*Params() and > >>> PQ*Prepared() functions. (Use at your own risk.) > > > OK, patch removed, but you stated in email: > >> On Dec 30 06:52, Tom Lane wrote: > > It's not a protocol restriction, it's a libpq restriction made in the > > name of keeping the API from getting too unwieldy. We could add more > > entry points with different parameter lists to address this. I have > > a feeling that refactoring the API of the query functions entirely > > might be a better idea, though. > > > so I thought you were saying that we need to just pick new function > > names or something. > > I didn't say we couldn't do something involving new function names; > I said *this* patch isn't acceptable ... OK, so does he rework it or do we? -- 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