Re: JDBC, prepared queries, and partitioning

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: JDBC, prepared queries, and partitioning
Дата
Msg-id 47B375BD.9040202@opencloud.com
обсуждение исходный текст
Ответ на Re: JDBC, prepared queries, and partitioning  (Simon Riggs <simon@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: JDBC, prepared queries, and partitioning
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: JDBC, prepared queries, and partitioning