Re: Constraint exclusion oddity with composite index - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Constraint exclusion oddity with composite index
Date
Msg-id 23243.1180730823@sss.pgh.pa.us
Whole thread Raw
In response to Constraint exclusion oddity with composite index  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: Constraint exclusion oddity with composite index
List pgsql-hackers
"Joshua D. Drake" <jd@commandprompt.com> writes:
> Assume the following:
> index on: (id, adate)
> constraint CHECK(adate > '01-01-2007' AND adate < '04-01-2007');

> The planner will not use the index listed above.

For what?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Command tags in create/drop scripts
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Constraint exclusion oddity with composite index