Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 3A4AE9FB3C5; Sat, 12 May 2007 08:35:50 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 69811-06; Sat, 12 May 2007 08:35:36 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from gauss.credativ.com (ipx11302.ipxserver.de [212.112.227.254]) by postgresql.org (Postfix) with ESMTP id 3F6C39FB33C; Sat, 12 May 2007 08:35:45 -0300 (ADT) Received: from gauss.credativ.com (localhost [127.0.0.1]) by gauss.credativ.com (Postfix) with ESMTP id BAEF7D75FB; Sat, 12 May 2007 13:35:39 +0200 (CEST) Received: from feivel (p54BBF9CB.dip.t-dialin.net [84.187.249.203]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gauss.credativ.com (Postfix) with ESMTP id A74CCD7651; Sat, 12 May 2007 13:35:36 +0200 (CEST) Received: by feivel (Postfix, from userid 1000) id 8AB73D6CFC; Sat, 12 May 2007 13:35:35 +0200 (CEST) Date: Sat, 12 May 2007 13:35:35 +0200 From: Michael Meskes To: Tom Lane Cc: Michael Meskes , PostgreSQL Interfaces Subject: Re: PQprepare question Message-ID: <20070512113535.GA4620@feivel.credativ.de> Mail-Followup-To: Tom Lane , Michael Meskes , PostgreSQL Interfaces References: <20070511111647.GA18711@feivel.credativ.de> <17526.1178888881@sss.pgh.pa.us> <20070511134817.GA9188@feivel.credativ.de> <18665.1178891575@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18665.1178891575@sss.pgh.pa.us> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/19 X-Sequence-Number: 6526 On Fri, May 11, 2007 at 09:52:55AM -0400, Tom Lane wrote: > I'd vote that way if you haven't accepted it in the past. Otherwise > you'll need some kind of compromise for backward compatibility ... In the past ecpg not only accepted "?" as placeholder but also created it! This is what I was talking about, to not create those placeholders anymore. As far as user supplied placehodlers are concerned I agree that we need some backward compatibility. I think the best way is to implement a command line option to enable the old behaviour. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!