Skip to content

Commit c4a4e76

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 0ff2028 commit c4a4e76

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
@@ -824,8 +824,9 @@ typedef struct Memoize
824824
int numKeys; /* size of the two arrays below */
825825

826826
Oid *hashOperators; /* hash operators for each key */
827-
Oid *collations; /* cache keys */
828-
List *param_exprs; /* exprs containing parameters */
827+
Oid *collations; /* collations for each key */
828+
List *param_exprs; /* cache keys in the form of exprs containing
829+
* parameters */
829830
bool singlerow; /* true if the cache entry should be marked as
830831
* complete after we store the first tuple in
831832
* it. */

0 commit comments

Comments
 (0)