postgresql/src/backend
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
..
access Add support for coordinating record typmods among parallel workers. 2017-09-14 19:59:21 -07:00
bootstrap Remove unnecessary parentheses in return statements 2017-09-05 14:52:55 -04:00
catalog Make RelationGetPartitionDispatchInfo expand depth-first. 2017-09-14 12:28:50 -04:00
commands Fix possible dangling pointer dereference in trigger.c. 2017-09-17 14:50:01 -04:00
executor Fix SQL-spec incompatibilities in new transition table feature. 2017-09-16 13:20:36 -04:00
foreign Abstract logic to allow for multiple kinds of child rels. 2017-04-03 22:41:31 -04:00
lib Remove pre-order and post-order traversal logic for red-black trees. 2017-09-10 13:19:11 -04:00
libpq Define LDAP_NO_ATTRS if necessary. 2017-09-13 08:22:42 -04:00
main Change pg_ctl to detect server-ready by watching status in postmaster.pid. 2017-06-28 17:31:32 -04:00
nodes Allow a partitioned table to have a default partition. 2017-09-08 17:28:04 -04:00
optimizer Allow rel_is_distinct_for() to look through RelabelType below OpExpr. 2017-09-17 15:28:51 -04:00
parser After a MINVALUE/MAXVALUE bound, allow only more of the same. 2017-09-15 21:15:55 -04:00
po Translation updates 2017-08-07 13:55:34 -04:00
port Change pg_ctl to detect server-ready by watching status in postmaster.pid. 2017-06-28 17:31:32 -04:00
postmaster Perform only one ReadControlFile() during startup. 2017-09-14 14:14:34 -07:00
regex Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
replication Improve error message in WAL sender 2017-09-13 08:31:03 -04:00
rewrite Message style fixes 2017-09-11 11:21:27 -04:00
snowball Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
statistics Remove obsolete comments about functional dependencies 2017-07-26 11:40:39 -04:00
storage Add support for coordinating record typmods among parallel workers. 2017-09-14 19:59:21 -07:00
tcop Add missing tags to GetCommandLogLevel. 2017-09-14 17:19:04 -04:00
tsearch Remove unnecessary parentheses in return statements 2017-09-05 14:52:55 -04:00
utils Fix bogus size calculation introduced by commit cc5f81366. 2017-09-17 11:35:27 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Add ICU_CFLAGS to global CPPFLAGS 2017-06-12 15:57:22 -04:00
Makefile Inject $(ICU_LIBS) regardless of platform. 2017-08-20 21:22:18 -07:00
nls.mk Translation updates 2017-05-15 12:19:54 -04:00