Re: Prepared statement already exists - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Prepared statement already exists
Date
Msg-id 20081121163928.GE5210@alvh.no-ip.org
Whole thread Raw
In response to Re: Prepared statement already exists  ("Daniel Verite" <daniel@manitou-mail.org>)
Responses Re: Prepared statement already exists  ("Daniel Verite" <daniel@manitou-mail.org>)
List 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 by date:

Previous
From: "Daniel Verite"
Date:
Subject: Re: Prepared statement already exists
Next
From: "Jonah H. Harris"
Date:
Subject: Re: converter pgplsql funcion