aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2022-05-19 17:14:23 +1200
committerDavid Rowley <drowley@postgresql.org>2022-05-19 17:14:23 +1200
commitc4a4e760f6b0e7933e7d3bff0b589af9da49f8e6 (patch)
tree95cf998521cb906c7e0012288d0a3676ea92a511
parent0ff20288e1cb3282efb43401896a939916fceb4d (diff)
downloadpostgresql-c4a4e760f6b0e7933e7d3bff0b589af9da49f8e6.tar.gz
postgresql-c4a4e760f6b0e7933e7d3bff0b589af9da49f8e6.zip
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
-rw-r--r--src/include/nodes/plannodes.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/nodes/plannodes.h b/src/include/nodes/plannodes.h
index e319e83bd82..0ea9a22dfb7 100644
--- a/src/include/nodes/plannodes.h
+++ b/src/include/nodes/plannodes.h
@@ -824,8 +824,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. */