Skip to content

Commit 3f712ea

Browse files
committed
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
1 parent e8b93c6 commit 3f712ea

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/include/nodes/plannodes.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -806,8 +806,9 @@ typedef struct Memoize
806806
int numKeys; /* size of the two arrays below */
807807

808808
Oid *hashOperators; /* hash operators for each key */
809-
Oid *collations; /* cache keys */
810-
List *param_exprs; /* exprs containing parameters */
809+
Oid *collations; /* collations for each key */
810+
List *param_exprs; /* cache keys in the form of exprs containing
811+
* parameters */
811812
bool singlerow; /* true if the cache entry should be marked as
812813
* complete after we store the first tuple in
813814
* it. */

0 commit comments

Comments
 (0)