postgresql/src
Tom Lane 6f44fe7f12 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
2017-09-17 15:28:51 -04:00
..
backend Allow rel_is_distinct_for() to look through RelabelType below OpExpr. 2017-09-17 15:28:51 -04:00
bin pg_archivecleanup: Add test suite 2017-09-14 22:23:00 -04:00
common Update copyright in recently added files 2017-07-26 18:17:18 -04:00
fe_utils In psql, use PSQL_PAGER in preference to PAGER, if it's set. 2017-09-05 12:02:13 -04:00
include Fix SQL-spec incompatibilities in new transition table feature. 2017-09-16 13:20:36 -04:00
interfaces Fixed ECPG to correctly handle out-of-scope cursor declarations with pointers 2017-09-12 04:53:36 +02:00
makefiles Always use -fPIC, not -fpic, when building shared libraries with gcc. 2017-06-01 13:32:55 -04:00
pl Prefer argument name over "$n" for the refname of a plpgsql argument. 2017-09-11 16:24:43 -04:00
port Stamp HEAD as 11devel. 2017-08-14 18:08:30 -04:00
template Remove "sco" and "unixware" ports. 2016-10-11 11:26:04 -04:00
test Ensure that BEFORE STATEMENT triggers fire the right number of times. 2017-09-17 12:16:38 -04:00
timezone Fix bool/int type confusion 2017-09-14 11:45:11 -04:00
tools Add support for coordinating record typmods among parallel workers. 2017-09-14 19:59:21 -07:00
tutorial Distinguish selectivity of < from <= and > from >=. 2017-09-13 11:12:39 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Remove redundant coverage target 2017-02-17 08:56:57 -05:00
Makefile.global.in Support retaining data dirs on successful TAP tests 2017-09-05 12:24:06 -04:00
Makefile.shlib Remove support for bcc and msvc standalone libpq builds 2017-04-11 15:22:21 +02:00
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00