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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Cached Query Plans (was: global prepared statements)
Дата
Msg-id 20080411170609.GB4392@alvh.no-ip.org
обсуждение исходный текст
Ответ на Cached Query Plans (was: global prepared statements)  (PFC <lists@peufeu.com>)
Ответы Re: Cached Query Plans (was: global prepared statements)  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Cached Query Plans  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
PFC wrote:

>     So, where to go from that ? I don't see a way to implement this without 
> a (backwards-compatible) change to the wire protocol, because the clients 
> will want to specify when a plan should be cached or not. Since the user  
> should not have to name each and every one of the statements they want to 
> use plan caching, I see the following choices :

I don't understand the point here.  We already have cached plans: you
send a Parse.  You can then Bind/Execute many times.

Maybe what we need is support for this in libpq, so that PHP can use it?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: Index AM change proposals, redux
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Commit fest queue