Re: [GENERAL] Protocol 2 and query parameters support

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [GENERAL] Protocol 2 and query parameters support
Дата
Msg-id 20170424201126.lxhphq6f6r6qyozz@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [GENERAL] Protocol 2 and query parameters support  ("Rader, David" <davidr@openscg.com>)
Ответы Re: [GENERAL] Protocol 2 and query parameters support  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Список pgsql-general
On 2017-04-24 16:07:01 -0400, Rader, David wrote:
> As Tom mentioned, it sounds like the issue is that Presto expects to only
> use simple query, not extended query (no server-side prepared statements).
> The JDBC driver supports setting the prepare threshold to 0 to disable
> using server-side prepares.
>
> https://jdbc.postgresql.org/documentation/publicapi/org/postgresql/PGStatement.html#setPrepareThreshold-int-
>
> "If threshold is zero, server-side prepare will not be used."

Note that you can use the extended protocol without server side
prepares...


В списке pgsql-general по дате отправления:

Предыдущее
От: "Rader, David"
Дата:
Сообщение: Re: [GENERAL] Protocol 2 and query parameters support
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [GENERAL] Protocol 2 and query parameters support