postgresql/src/backend/utils
Alexander Korotkov d0c8cf2a56 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
2024-08-08 11:48:57 +03:00
..
activity Introduce pluggable APIs for Cumulative Statistics 2024-08-04 19:41:24 +09:00
adt Use psprintf to simplify gtsvectorout() 2024-08-06 23:05:25 +03:00
cache Optimize InvalidateAttoptCacheCallback() and TypeCacheTypCallback() 2024-08-07 07:06:17 +03:00
error Move all extern declarations for GUC variables to header files 2024-07-24 06:31:07 +02:00
fmgr Revise GUC names quoting in messages again 2024-05-17 11:44:26 +02:00
hash Add a caveat to hash_seq_init_with_hash_value() header comment 2024-08-08 11:48:57 +03:00
init Move cancel key generation to after forking the backend 2024-07-29 15:37:48 +03:00
mb Remove dead generators for cyrillic encoding conversion tables 2024-07-29 20:38:19 +03:00
misc Restrict accesses to non-system views and foreign tables during pg_dump. 2024-08-05 06:05:33 -07:00
mmgr Fix incorrect sentinel byte logic in GenerationRealloc() 2024-07-06 13:59:34 +12:00
resowner Remove unused typedefs 2024-05-17 07:36:12 +02:00
sort Adjust tuplestore.c not to allocate BufFiles in generation context 2024-07-06 17:40:05 +12:00
time Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
.gitignore Rearrange makefile rules for running Gen_fmgrtab.pl. 2018-05-03 17:54:18 -04:00
errcodes.txt Add new error code for "file name too long" 2024-07-22 09:28:01 +09:00
Gen_dummy_probes.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
Gen_fmgrtab.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
generate-errcodes.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
Makefile Update copyright for 2024 2024-01-03 20:49:05 -05:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
postprocess_dtrace.sed Update copyright for 2024 2024-01-03 20:49:05 -05:00
probes.d Update copyright for 2024 2024-01-03 20:49:05 -05:00