From: Oliver Jowett <oliver@opencloud.com>
To: louis <louis@ibms.sinica.edu.tw>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: The logic behind the prepared statement in PostgreSQL
Date: Thu, 07 Oct 2010 01:19:59 +1300
Message-ID: <4CAC696F.9020109@opencloud.com> (raw)
In-Reply-To: <1286365302.13691.35.camel@london>
References: <1286365302.13691.35.camel@london>
louis wrote:
> 1. Even though all the prepare statements have the identical SQL string, the postgresql server creates one execution plan for each statement.
> So I think the execution plan is fetched by name (S_1, S_2, etc.) instead of SQL query string from the server-side. On the other hand,
> a JDBC code tracing shows that the execution plan is fetched by SQL query String. Is the above assertion correct?
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, louis@ibms.sinica.edu.tw
Subject: Re: The logic behind the prepared statement in PostgreSQL
In-Reply-To: <4CAC696F.9020109@opencloud.com>
References: <1286365302.13691.35.camel@london> <4CAC696F.9020109@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