Re: Query preparation

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: John Lister <john(dot)lister-ps(at)kickstone(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Query preparation
Date: 2009-04-14 15:41:32
Message-ID: 49E4AEAC.5000700@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message John Lister 2009-04-14 17:19:02 Re: Query preparation
Previous Message John Lister 2009-04-14 15:08:42 Query preparation