Re: JDBC, prepared queries, and partitioning

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Kris Jurka <books(at)ejurka(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:04:43
Message-ID: 1202940283.16770.525.camel@ebony.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Wed, 2008-02-13 at 16:41 -0500, Kris Jurka wrote:
>
> On Wed, 13 Feb 2008, Simon Riggs wrote:
>
> > OK, but AFAICS the docs relating to prepareThreshold are wrong. They
> > describe behaviour that doesn't happen all of the time, yet there is
> > nothing to indicate that.
>
> That's spelled out in detail if you follow the link:
>
> http://jdbc.postgresql.org/documentation/83/server-prepare.html

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

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

> > Happy to provide a patch, if you'd like.

> If you think it's important, go ahead.

You don't think its important?

--
Simon Riggs
2ndQuadrant http://www.2ndQuadrant.com

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Stephen Denne 2008-02-13 22:10:56 Re: JDBC, prepared queries, and partitioning
Previous Message Stephen Denne 2008-02-13 22:00:26 Re: JDBC, prepared queries, and partitioning