Re: Problem with update on partitioned table

From: Alex Solovey <a(dot)solovey(at)gmail(dot)com>
To: Martin Gainty <mgainty(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with update on partitioned table
Date: 2008-03-24 21:16:54
Message-ID: 47E81A46.1020809@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2008-03-24 21:24:24 East: Only 3 days left.
Previous Message Martin Gainty 2008-03-24 21:05:11 Re: Problem with update on partitioned table