Skip site navigation (1) Skip section navigation (2)

Re: JDBC, prepared queries, and partitioning

From: Kris Jurka <books(at)ejurka(dot)com>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL - JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JDBC, prepared queries, and partitioning
Date: 2008-02-13 22:15:10
Message-ID: Pine.BSO.4.64.0802131706100.16718@leary.csoft.net (view raw or flat)
Thread:
Lists: pgsql-jdbc

On Wed, 13 Feb 2008, Simon Riggs wrote:

> I'd read it before and again before I posted this evening. Which part of
> that says prepareTheshold only applies to v2 protocol?

Perhaps not the clearest wording (too many version numbers), but the below 
is supposed to say that:

"Enabling server-prepared statements will have no affect when connected to 
a 7.3 server or when explicitly using the V2 protocol to connect to a 7.4 
server."

> The code example doesn't explicitly state protocolVersion as you say is
> required either.
>

Well the default is V3, so it's not necessary to explicity state it.

> You don't think its important?
>

It's not important to me.  If I was going to doing some doc editing, I'd 
probably hit this area, but for the moment I think it's close enough to 
the truth and I've got other things to do.

Kris Jurka

In response to

Responses

pgsql-jdbc by date

Next:From: Josh BerkusDate: 2008-02-13 22:23:23
Subject: Re: JDBC, prepared queries, and partitioning
Previous:From: Stephen DenneDate: 2008-02-13 22:10:56
Subject: Re: JDBC, prepared queries, and partitioning

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group