Re: Problem with update on partitioned table

Поиск
Список
Период
Сортировка
От Alex Solovey
Тема Re: Problem with update on partitioned table
Дата
Msg-id 47E81A46.1020809@gmail.com
обсуждение исходный текст
Ответ на Re: Problem with update on partitioned table  ("Martin Gainty" <mgainty@hotmail.com>)
Список pgsql-general
Martin,

 > which if you dont want to scan ALL partitions must be set to 'on'
 > constraint_exclusion = on

It is 'ON'. The problem is that it does not work well for 'UPDATE foo
... FROM bar' queries, when partitioned table 'foo' is joined with
another table.

Martin Gainty wrote:
> Alex-
>
> http://www.postgresql.org/docs/8.2/static/runtime-config-query.html#GUC-CONS
> TRAINT-EXCLUSION
> postgresql.conf contains a constraint_exclusion parameter called
> constraint_exclusion (boolean)
> which if you dont want to scan ALL partitions must be set to 'on'
> constraint_exclusion = on
>
> HTH
> Martin


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Problem with update on partitioned table
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: East: Only 3 days left.