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