From: Oliver Jowett <oliver@opencloud.com>
To: John Lister <john.lister-ps@kickstone.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Query preparation
Date: Wed, 15 Apr 2009 03:41:32 +1200
Message-ID: <49E4AEAC.5000700@opencloud.com> (raw)
In-Reply-To: <49E4A6FA.7050407@kickstone.com>
References: <49E4A6FA.7050407@kickstone.com>
John Lister wrote:
> Hi, i was wondering if there is any reason why the query preparation is
> done when the query is executed instead of when the preparedStatement is
> created.
It would be an extra network round-trip on every query, and there's no
requirement to prepare it early.
> Has any one looked into moving it?
Why would you want to move it?
-O
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-jdbc@postgresql.org
Cc: oliver@opencloud.com, john.lister-ps@kickstone.com
Subject: Re: Query preparation
In-Reply-To: <49E4AEAC.5000700@opencloud.com>
References: <49E4A6FA.7050407@kickstone.com> <49E4AEAC.5000700@opencloud.com>
* 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