[COMMITTERS] pgsql: Allow rel_is_distinct_for() to look through RelabelType belowOp - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Allow rel_is_distinct_for() to look through RelabelType belowOp
Date
Msg-id E1dtfFZ-0003wL-2O@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Allow rel_is_distinct_for() to look through RelabelType below OpExpr.

This lets it do the right thing for, eg, varchar columns.
Back-patch to 9.5 where this logic appeared.

David Rowley, per report from Kim Rose Carlsen

Discussion: https://postgr.es/m/VI1PR05MB17091F9A9876528055D6A827C76D0@VI1PR05MB1709.eurprd05.prod.outlook.com

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/86e4ebb9af7ed07f11410d568e0fd72427f3b0e3

Modified Files
--------------
src/backend/optimizer/plan/analyzejoins.c | 8 ++++++++
1 file changed, 8 insertions(+)


--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Fix possible dangling pointer dereference in trigger.c.
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Doc: update v10 release notes through today.