Re: PQprepare question - Mailing list pgsql-interfaces

From Michael Meskes
Subject Re: PQprepare question
Date
Msg-id 20070511134817.GA9188@feivel.credativ.de
Whole thread Raw
In response to Re: PQprepare question  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: PQprepare question  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-interfaces
On Fri, May 11, 2007 at 09:08:01AM -0400, Tom Lane wrote:
> Michael Meskes <meskes@postgresql.org> writes:
> > According to the docs parameters are referenced as $1, $2, and so. Is
> > there a reason not to use "?" as placeholder?
> 
> It's an operator name.

Ah, didn't notice. But that means that ecpg should not accept "?" as
placeholder either as this is prone to give errors depending on the
usage right? I'm not sure how often this is used with external strings
that are prepared. The internal stuff could easily be changed.

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!


pgsql-interfaces by date:

Previous
From: Gregory Stark
Date:
Subject: Re: PQprepare question
Next
From: Tom Lane
Date:
Subject: Re: PQprepare question