Re: JDBC, prepared queries, and partitioning - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: JDBC, prepared queries, and partitioning
Date
Msg-id 47B375BD.9040202@opencloud.com
Whole thread Raw
In response to Re: JDBC, prepared queries, and partitioning  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: JDBC, prepared queries, and partitioning
Next
From: Oliver Jowett
Date:
Subject: Re: JDBC, prepared queries, and partitioning