REALLOCATE_BITMAPSETS manual compile-time option
authorAlexander Korotkov <akorotkov@postgresql.org>
Wed, 27 Dec 2023 01:34:23 +0000 (03:34 +0200)
committerAlexander Korotkov <akorotkov@postgresql.org>
Wed, 27 Dec 2023 01:57:57 +0000 (03:57 +0200)
commit7d58f2342bd3d2f0474207b63a3a548c29e20a9e
treecc0326f2dd0291287a9c7b7c95abbccf77c26cf0
parent71a3e8c43ba8f3d026ae0cb2c2df27455ffdca76
REALLOCATE_BITMAPSETS manual compile-time option

This option forces each bitmapset modification to reallocate bitmapset.  This
is useful for debugging hangling pointers to bitmapset's.

Discussion: https://postgr.es/m/CAMbWs4_wJthNtYBL%2BSsebpgF-5L2r5zFFk6xYbS0A78GKOTFHw%40mail.gmail.com
Reviewed-by: Richard Guo, Andres Freund, Ashutosh Bapat, Andrei Lepikhov
src/backend/nodes/bitmapset.c
src/include/pg_config_manual.h