Re: Generalizing range-constraint detection in clauselist_selectivity

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Generalizing range-constraint detection in clauselist_selectivity
Date: 2012-09-29 00:41:00
Message-ID: 5066439C.3010002@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 9/28/12 5:13 PM, Tom Lane wrote:
> We could probably eliminate that inconsistency by insisting that two
> clauses can only be matched for this purpose when they reference the
> same set of rels overall, but that doesn't feel right --- it certainly
> seems like the example above ought to be thought of as a range
> restriction if possible.

Yes, it does.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Misa Simic 2012-09-29 02:34:39 Re: data to json enhancements
Previous Message Andres Freund 2012-09-29 00:19:23 Re: embedded list v3