JDBC, prepared queries, and partitioning

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема JDBC, prepared queries, and partitioning
Дата
Msg-id 200802131005.30553.josh@agliodbs.com
обсуждение исходный текст
Ответы Re: JDBC, prepared queries, and partitioning  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
All,

Since JDBC always prepares and plan-caches queries, it makes it hard to use
partitioning with a database connected to a JDBC connection pool; successive
queries in the same session will select the wrong partition, or scan the
whole partition set.

Is there any workaround for this, either on 8.2 or 8.3?

--
Josh Berkus
PostgreSQL @ Sun
San Francisco

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: 8.3 build 603 build error on Fedora 8
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: JDBC, prepared queries, and partitioning