Re: Cached Query Plans (was: global prepared statements)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Cached Query Plans (was: global prepared statements)
Дата
Msg-id 200804141336.m3EDaw000551@momjian.us
обсуждение исходный текст
Ответ на Re: Cached Query Plans (was: global prepared statements)  (PFC <lists@peufeu.com>)
Ответы Re: Cached Query Plans (was: global prepared statements)  (PFC <lists@peufeu.com>)
Список pgsql-hackers
PFC wrote:
> Bind message behaviour was modified :
> - If the user asks for execution of a named prepared statement, and the  
> named statement does not exist in PG's prepared statements cache, instead  
> of issuing an error and borking the transaction, it Binds to an empty  
> statement, that takes no parameters, and returns no result. Parameters  
> sent by the user are consumed but not used.

You mentioned the need for a wire protocol change to allow this.  Why
can't this be controlled with a server variable, like SET auto_prepare =
'true'?

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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ron Mayer
Дата:
Сообщение: Re: Index AM change proposals, redux
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Cached Query Plans (was: global prepared statements)