From: Michael Fuhr <mike@fuhr.org>
To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: Neil Conway <neilc@samurai.com>
Cc: Bojidar Mihajlov <bmihajlov@yahoo.com>
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-odbc@postgresql.org
Subject: Re: [HACKERS] RQ: Prepared statements used by multiple connections
Date: Tue, 25 Jan 2005 14:46:48 -0700
Message-ID: <20050125214648.GB95908@winnie.fuhr.org> (raw)
In-Reply-To: <41F62132.6070403@familyhealth.com.au>
References: <20050125092707.32541.qmail@web50502.mail.yahoo.com>
<41F61367.5060807@familyhealth.com.au>
<41F61D42.50804@samurai.com>
<41F62132.6070403@familyhealth.com.au>
On Tue, Jan 25, 2005 at 10:36:34AM +0000, Christopher Kings-Lynne wrote:
> >
> >... a prepared version that is local to the backend that invokes the
> >function, yes (i.e. it will be planned once per backend). So ISTM this
> >is equivalent functionality to what you can get using PREPARE or the
> >extended query protocol.
>
> Are you sure it's only per-backend? I thought I tested it and it seemed
> to prepare it everywhere... oh well.
How did you test it? You can use settings like debug_print_plan
and client_min_messages to see what's happening in each backend.
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
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-odbc@postgresql.org
Cc: mike@fuhr.org, chriskl@familyhealth.com.au, neilc@samurai.com, bmihajlov@yahoo.com, pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] RQ: Prepared statements used by multiple connections
In-Reply-To: <20050125214648.GB95908@winnie.fuhr.org>
References: <20050125092707.32541.qmail@web50502.mail.yahoo.com> <41F61367.5060807@familyhealth.com.au> <41F61D42.50804@samurai.com> <41F62132.6070403@familyhealth.com.au> <20050125214648.GB95908@winnie.fuhr.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