From: ljb <ljb220@mindspring.com>
To: pgsql-php@postgresql.org
Subject: Re: Support for prepared queries
Date: Sun, 2 Nov 2003 01:30:34 +0000 (UTC)
Message-ID: <bo1mnq$29fs$1@news.hub.org> (raw)
References: <200310241850.56494.martin@bugs.unl.edu.ar>
<Pine.LNX.4.33.0310241623570.26036-100000@css120.ihs.com>
<wawob.2134$UJ5.1639@nntp-post.primus.ca>
jleelim@xxxxxx.com wrote:
> Any idea how the prepared query can be made to save across PHP invocations?
> How about using pg_pconnect (persistent connection), will it stay prepared
> when PHP comes again and reuse the connection?
Maybe use a procedure-language function instead of a prepared query?
Persistent connections won't help; the prepared query may still be valid
but only for that web-server child process.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: ljb220@mindspring.com
Subject: Re: Support for prepared queries
In-Reply-To: <bo1mnq$29fs$1@news.hub.org>
References: <200310241850.56494.martin@bugs.unl.edu.ar> <Pine.LNX.4.33.0310241623570.26036-100000@css120.ihs.com> <wawob.2134$UJ5.1639@nntp-post.primus.ca> <bo1mnq$29fs$1@news.hub.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox