postgresql/src/backend
Tom Lane c22ecc6562 Disable transforms that replaced AT TIME ZONE with RelabelType.
These resulted in wrong answers if the relabeled argument could be matched
to an index column, as shown in bug #14504 from Evgeniy Kozlov.  We might
be able to resurrect these optimizations by adjusting the planner's
treatment of RelabelType, or by adjusting btree's rules for selecting
comparison functions, but either solution will take careful analysis
and does not sound like a fit candidate for backpatching.

I left the catalog infrastructure in place and just reduced the transform
functions to always-return-NULL.  This would be necessary anyway in the
back branches, and it doesn't seem important to be more invasive in HEAD.

Bug introduced by commit b8a18ad48.  Back-patch to 9.5 where that came in.

Report: https://postgr.es/m/20170118144828.1432.52823@wrigleys.postgresql.org
Discussion: https://postgr.es/m/18771.1484759439@sss.pgh.pa.us
2017-01-18 15:22:07 -05:00
..
access Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
bootstrap Remove dead code in bootstrap 2017-01-17 16:54:40 -03:00
catalog Update information_schema queries and system views for new relkind. 2017-01-18 14:29:23 -05:00
commands Make messages mentioning type names more uniform 2017-01-18 16:08:20 -03:00
executor Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
foreign Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
lib Fix overflow check in StringInfo; add missing casts 2017-01-10 11:41:13 -03:00
libpq Rename C symbols for backend lo_ functions 2017-01-17 12:35:30 -05:00
main Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
nodes Improve RLS planning by marking individual quals with security levels. 2017-01-18 12:58:20 -05:00
optimizer Factor out logic for computing number of parallel workers. 2017-01-18 13:54:45 -05:00
parser Make messages mentioning type names more uniform 2017-01-18 16:08:20 -03:00
po
port Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
postmaster Re-allow SSL passphrase prompt at server start, but not thereafter. 2017-01-04 12:44:03 -05:00
regex Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
replication Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
rewrite Change representation of statement lists, and add statement location info. 2017-01-14 16:02:35 -05:00
snowball Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
storage Fix typo 2017-01-17 16:49:20 -03:00
tcop Change representation of statement lists, and add statement location info. 2017-01-14 16:02:35 -05:00
tsearch Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
utils Disable transforms that replaced AT TIME ZONE with RelabelType. 2017-01-18 15:22:07 -05:00
.gitignore
common.mk
Makefile Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
nls.mk