postgresql/src/backend/optimizer/util
David Rowley 39a3105678 Fix incorrect hash equality operator bug in Memoize
In v14, because we don't have a field in RestrictInfo to cache both the
left and right type's hash equality operator, we just restrict the scope
of Memoize to only when the left and right types of a RestrictInfo are the
same.

In master we add another field to RestrictInfo and cache both hash
equality operators.

Reported-by: Jaime Casanova
Author: David Rowley
Discussion: https://postgr.es/m/20210929185544.GB24346%40ahch-to
Backpatch-through: 14
2021-11-08 14:40:33 +13:00
..
appendinfo.c Rework planning and execution of UPDATE and DELETE. 2021-03-31 11:52:37 -04:00
clauses.c Avoid O(N^2) behavior in SyncPostCheckpoint(). 2021-11-02 11:31:54 -04:00
inherit.c Track a Bitmapset of non-pruned partitions in RelOptInfo 2021-08-03 11:47:24 +12:00
joininfo.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
Makefile Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
orclauses.c Fix pull_varnos' miscomputation of relids set for a PlaceHolderVar. 2021-01-21 15:37:23 -05:00
paramassign.c Use l*_node() family of functions where appropriate 2021-07-19 08:20:24 +02:00
pathnode.c Fix typos and grammar in code comments 2021-09-27 14:21:28 +09:00
placeholder.c Fix pull_varnos' miscomputation of relids set for a PlaceHolderVar. 2021-01-21 15:37:23 -05:00
plancat.c Revert per-index collation version tracking feature. 2021-05-07 21:10:11 +12:00
predtest.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
relnode.c Track a Bitmapset of non-pruned partitions in RelOptInfo 2021-08-03 11:47:24 +12:00
restrictinfo.c Fix incorrect hash equality operator bug in Memoize 2021-11-08 14:40:33 +13:00
tlist.c Fix planner failure in some cases of sorting by an aggregate. 2021-04-20 11:32:02 -04:00
var.c Fix pull_varnos to cope with translated PlaceHolderVars. 2021-09-17 15:41:16 -04:00