Re: Problem with update on partitioned table - Mailing list pgsql-general

From Alex Solovey
Subject Re: Problem with update on partitioned table
Date
Msg-id 47E81A46.1020809@gmail.com
Whole thread Raw
In response to Re: Problem with update on partitioned table  ("Martin Gainty" <mgainty@hotmail.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem with update on partitioned table
Next
From: "Joshua D. Drake"
Date:
Subject: East: Only 3 days left.