Take advantage of PREPARE (Pool of Conections) - Mailing list pgsql-general

From Marcos
Subject Take advantage of PREPARE (Pool of Conections)
Date
Msg-id 1140173236.1250.16.camel@servidor
Whole thread Raw
Responses Re: Take advantage of PREPARE (Pool of Conections)
List pgsql-general
Hi,

I will have an aplication on the web that will have many connections
because it will be looking for data.

I'm doing the main functions that will be used in PL/PGSQL, they use the
PREPARE resource, but in order to use it, I need the connection to be
permanent because the PLAN generated by PREPARE only exists while the
connection is opened.

This means, if each visitor of the website opens and closes the
connection, PREPARE is useless.

I need the connection pool for POSTGRESQL for Linux, but i don't know
how to do this.

Thanks in advance.

Marcos.



pgsql-general by date:

Previous
From: William Leite Araújo
Date:
Subject: Re: return setof and Temp tables
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Take advantage of PREPARE (Pool of Conections)