From: David Rowley Date: Thu, 19 May 2022 05:14:56 +0000 (+1200) Subject: Fix incorrect comments for Memoize struct X-Git-Tag: REL_14_4~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f712ea6dc40a0c9d5cf96907655343039601473;p=thirdparty%2Fpostgresql.git Fix incorrect comments for Memoize struct Reported-by: Peter Eisentraut Discussion: https://postgr.es/m/0635f5aa-4973-8dc2-4e4e-df9fd5778a65@enterprisedb.com Backpatch-through: 14, where Memoize was added --- diff --git a/src/include/nodes/plannodes.h b/src/include/nodes/plannodes.h index 9ac4d9af125..2308c80ddee 100644 --- a/src/include/nodes/plannodes.h +++ b/src/include/nodes/plannodes.h @@ -806,8 +806,9 @@ typedef struct Memoize int numKeys; /* size of the two arrays below */ Oid *hashOperators; /* hash operators for each key */ - Oid *collations; /* cache keys */ - List *param_exprs; /* exprs containing parameters */ + Oid *collations; /* collations for each key */ + List *param_exprs; /* cache keys in the form of exprs containing + * parameters */ bool singlerow; /* true if the cache entry should be marked as * complete after we store the first tuple in * it. */