pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: Kris Jurka <books@ejurka.com>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: PostgreSQL - JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: JDBC, prepared queries, and partitioning
Date: Thu, 14 Feb 2008 11:57:01 +1300
Message-ID: <47B375BD.9040202@opencloud.com> (raw)
In-Reply-To: <1202941965.16770.540.camel@ebony.site>
References: <200802131005.30553.josh@agliodbs.com>
	<Pine.BSO.4.64.0802131348050.27322@leary.csoft.net>
	<1202934864.16770.486.camel@ebony.site>
	<Pine.BSO.4.64.0802131537500.26092@leary.csoft.net>
	<1202936181.16770.493.camel@ebony.site>
	<Pine.BSO.4.64.0802131602540.9961@leary.csoft.net>
	<1202938005.16770.514.camel@ebony.site>
	<Pine.BSO.4.64.0802131630420.22592@leary.csoft.net>
	<1202940283.16770.525.camel@ebony.site>
	<Pine.BSO.4.64.0802131706100.16718@leary.csoft.net>
	<1202941965.16770.540.camel@ebony.site>

Simon Riggs wrote:

> But the code example shows explicit use of
> 
> pgconn.setPrepareThreshold(5);
> 
> which clearly does nothing, given the default setting of protocol V3.

You are misreading something somewhere, you have that backwards.

Prepare threshold works only on V3. It does not work with V2.

-O



view thread (41+ messages)  latest in thread

Message-ID: <47B375BD.9040202@opencloud.com>
Permalink:  ../47B375BD.9040202@opencloud.com/
Also on:    postgresql.org/message-id/47B375BD.9040202@opencloud.com

 · 

reply

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, simon@2ndquadrant.com, books@ejurka.com, josh@agliodbs.com
  Subject: Re: JDBC, prepared queries, and partitioning
  In-Reply-To: <47B375BD.9040202@opencloud.com>
  References: <200802131005.30553.josh@agliodbs.com> <Pine.BSO.4.64.0802131348050.27322@leary.csoft.net> <1202934864.16770.486.camel@ebony.site> <Pine.BSO.4.64.0802131537500.26092@leary.csoft.net> <1202936181.16770.493.camel@ebony.site> <Pine.BSO.4.64.0802131602540.9961@leary.csoft.net> <1202938005.16770.514.camel@ebony.site> <Pine.BSO.4.64.0802131630420.22592@leary.csoft.net> <1202940283.16770.525.camel@ebony.site> <Pine.BSO.4.64.0802131706100.16718@leary.csoft.net> <1202941965.16770.540.camel@ebony.site> <47B375BD.9040202@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