Re: JDBC prepared statements & server-side prepared statements

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Jack Orenstein *EXTERN*" <jack(dot)orenstein(at)hds(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: JDBC prepared statements & server-side prepared statements
Date: 2009-06-25 06:59:44
Message-ID: D960CB61B694CF459DCFB4B0128514C202FF6681@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jack Orenstein wrote:
> I'm using postgresql 8.3.7. Under what conditions does a JDBC prepared statement
> result in a server-side prepared statement?

http://jdbc.postgresql.org/development/privateapi/org/postgresql/PGStatement.html#setPrepareThreshold(int)

The default is 5, as far as I remember.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2009-06-25 07:46:57 Re: example of aggregate function for product
Previous Message mobiledreamers 2009-06-25 06:03:07 Re: horizontal sharding