We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49dc191 commit d0c8cf2Copy full SHA for d0c8cf2
src/backend/utils/hash/dynahash.c
@@ -1395,6 +1395,11 @@ hash_seq_init(HASH_SEQ_STATUS *status, HTAB *hashp)
1395
/*
1396
* Same as above but scan by the given hash value.
1397
* See also hash_seq_search().
1398
+ *
1399
+ * NOTE: the default hash function doesn't match syscache hash function.
1400
+ * Thus, if you're going to use this function in syscache callback, make sure
1401
+ * you're using custom hash function. See relatt_cache_syshash()
1402
+ * for example.
1403
*/
1404
void
1405
hash_seq_init_with_hash_value(HASH_SEQ_STATUS *status, HTAB *hashp,
0 commit comments