From: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> |
---|---|
To: | Kim Rose Carlsen <krc(at)hiper(dot)dk> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Equivalence Classes when using IN |
Date: | 2017-10-08 20:49:27 |
Message-ID: | CAKJS1f8RHOi-=KjCj51bU+CPpeJyaeYyDQbFL08qaQBEj4U9Gg@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 9 October 2017 at 08:01, Kim Rose Carlsen <krc(at)hiper(dot)dk> wrote:
> Is this because postgres never consider IN clause when building equivalence
> class's?
Only btree equality operators are considered at the moment.
> Are there any interests in adding such rule?
There's been some discussion on it previously, although there is lots
to still be worked out, for example, it's not that clear if it will
always be a win to always apply the qual.
There are more details of the discussion in [1], although there's
probably lots more threads to be found if you search the archives.
--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2017-10-08 21:07:16 | Re: Equivalence Classes when using IN |
Previous Message | Kim Rose Carlsen | 2017-10-08 19:01:22 | Equivalence Classes when using IN |