Re: BUG #4721: All sub-tables incorrectly included in search plan for partitioned table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Eric Thompson" <eric(dot)thompson(at)salliemae(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4721: All sub-tables incorrectly included in search plan for partitioned table
Date: 2009-05-11 18:04:22
Message-ID: 7131.1242065062@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

I wrote:
> "Eric Thompson" <eric(dot)thompson(at)salliemae(dot)com> writes:
>> test=# -- remove any irrelevant constraint from the master table, and now
>> the date partitioning works

> Hmm. Tracing through this, it seems your child tables have exactly 101
> separate constraint clauses; removing one from the parent table gets it
> down to 100. Which is where the cutoff installed by this patch is:

> http://archives.postgresql.org/pgsql-committers/2008-11/msg00146.php

I've partially reverted that patch:

http://archives.postgresql.org/pgsql-committers/2009-05/msg00202.php

so the next 8.3.x release should behave as you're expecting.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Krimstock, Roger I (Roger) 2009-05-12 01:17:01 Re: BUG #4785: Installation fails
Previous Message Tom Lane 2009-05-11 16:14:46 Re: Is this the expected behaviour for DDL-query execution?

Browse pgsql-hackers by date

  From Date Subject
Next Message Boszormenyi Zoltan 2009-05-11 18:13:03 Re: SELECT ... FOR UPDATE [WAIT integer | NOWAIT] for 8.5
Previous Message Tom Lane 2009-05-11 18:01:34 Re: SELECT ... FOR UPDATE [WAIT integer | NOWAIT] for 8.5