Re: Prepared statement already exists

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Prepared statement already exists
Дата
Msg-id 20081121163928.GE5210@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Prepared statement already exists  ("Daniel Verite" <daniel@manitou-mail.org>)
Ответы Re: Prepared statement already exists  ("Daniel Verite" <daniel@manitou-mail.org>)
Список pgsql-general
Daniel Verite wrote:

> Also contrary to prepared statements, maybe that cache would be shared
> between connections, and that would be excellent, since it fits the
> typical usage pattern of websites: a high-throughput of a small set of
> low-latency queries, fired from pooled connections.

In this case, why not just prepare all the needed statements at the
first use of the session by the pool software?

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

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

Предыдущее
От: "Daniel Verite"
Дата:
Сообщение: Re: Prepared statement already exists
Следующее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: converter pgplsql funcion