Re: PGStatement#setPrepareThreshold

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: PGStatement#setPrepareThreshold
Дата
Msg-id 44D27558.3040907@opencloud.com
обсуждение исходный текст
Ответ на Re: PGStatement#setPrepareThreshold  (Dave Cramer <pg@fastcrypt.com>)
Ответы Re: PGStatement#setPrepareThreshold
Список pgsql-jdbc
Dave Cramer wrote:

> If that's the case then the driver is not doing what it's supposed to be
> doing. It should be using the named portal (S_3) to do the insert.

No, the driver is fine. It is using a named statement (S_3) but an
unnamed portal (because it is going to fetch all the data in one go and
doesn't need to retain the portal after execution)

If your query met the conditions for using a portal-based ResultSet,
you'd see it use a named portal as well as a named statement.

-O

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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: PGStatement#setPrepareThreshold
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: PGStatement#setPrepareThreshold