aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2024-08-08 11:48:57 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2024-08-08 11:48:57 +0300
commitd0c8cf2a56fadb08705433bffb301559d97b0712 (patch)
treea2631326bed9e472b342a45b4eb2ad165f9e91b9 /src/backend/utils/adt/ruleutils.c
parent49dc191bd1ae30180597c33e7f75a9950b896ccc (diff)
downloadpostgresql-d0c8cf2a56fadb08705433bffb301559d97b0712.tar.gz
postgresql-d0c8cf2a56fadb08705433bffb301559d97b0712.zip
Add a caveat to hash_seq_init_with_hash_value() header comment
The typical use-case for hash_seq_init_with_hash_value() is syscache callback. Add a caveat that the default hash function doesn't match syscache hash function. So, one needs to define a custom hash function. Reported-by: Pavel Stehule Discussion: https://postgr.es/m/CAFj8pRAXmv6eyYx%3DE_BTfyK%3DO_%2ByOF8sXB%3D0bn9eOBt90EgWRA%40mail.gmail.com Reviewed-by: Pavel Stehule
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions