Re: [BUGS] BUG #3244: problem with PREPARE

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [BUGS] BUG #3244: problem with PREPARE
Дата
Msg-id 200704241410.l3OEA3O15770@momjian.us
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #3244: problem with PREPARE  (Michael Meskes <meskes@postgresql.org>)
Список 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 по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: [pgsql-advocacy] Wild idea: 9.0?
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: [pgsql-advocacy] Wild idea: 9.0?