Re: TODO idea - implicit constraints across child tables with a common column as primary key (but obviously not a shared index) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: TODO idea - implicit constraints across child tables with a common column as primary key (but obviously not a shared index)
Date
Msg-id 23870.1177390960@sss.pgh.pa.us
Whole thread Raw
In response to Re: TODO idea - implicit constraints across child tables with a common column as primary key (but obviously not a shared index)  (Gregory Stark <stark@enterprisedb.com>)
Responses Re: TODO idea - implicit constraints across child tables with a common column as primary key (but obviously not a shared index)  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> The main data from the statistics that's of interest here are the extreme
> values of the histogram. If we're not interested in any values in that range
> then we can exclude the partition entirely.

Except that there is *no* guarantee that the histogram includes the
extreme values --- to promise that would require ANALYZE to scan every
table row.
        regards, tom lane


pgsql-hackers by date:

Previous
From: ITAGAKI Takahiro
Date:
Subject: Any incompatibility in pg_enc between 8.2 and 8.3?
Next
From: "Magnus Hagander"
Date:
Subject: Re: [pgsql-advocacy] Wild idea: 9.0?