Re: [BUGS] BUG #3244: problem with PREPARE - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [BUGS] BUG #3244: problem with PREPARE
Date
Msg-id 200704241410.l3OEA3O15770@momjian.us
Whole thread Raw
In response to Re: [BUGS] BUG #3244: problem with PREPARE  (Michael Meskes <meskes@postgresql.org>)
List pgsql-hackers
Michael Meskes wrote:
> On Mon, Apr 23, 2007 at 02:02:04PM -0700, William Lawrance wrote:
> > Our first attempt to use the ECPG prepare interface revealed that ECPG
> > doesn't use the PQlib prepare function. The ECPG prepare replaces any
> > parameters with their values and presents a new SQL statement to the
> 
> This is true and should also be documented. The reason for this
> behaviour is simply that ECPG prepare feature was added before the
> backend had its own prepare feature. And no one changed it so far.

It is in the TODO:
       o Use backend PREPARE/EXECUTE facility for ecpg where possible

--  Bruce Momjian  <bruce@momjian.us>          http://momjian.us EnterpriseDB
http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: [pgsql-advocacy] Wild idea: 9.0?
Next
From: Andrew Dunstan
Date:
Subject: Re: [pgsql-advocacy] Wild idea: 9.0?