Take advantage of PREPARE (Pool of Conections)

From: Marcos <mjs_ops(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Take advantage of PREPARE (Pool of Conections)
Date: 2006-02-17 10:47:16
Message-ID: 1140173236.1250.16.camel@servidor
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Marcos 2006-02-17 12:24:02 Re: Take advantage of PREPARE (Pool of Conections)
Previous Message Chad 2006-02-17 10:43:53 Re: How do I use the backend APIs