pgsql: REALLOCATE_BITMAPSETS manual compile-time option - Mailing list pgsql-committers

From Alexander Korotkov
Subject pgsql: REALLOCATE_BITMAPSETS manual compile-time option
Date
Msg-id E1rIJBc-00C50d-HU@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7d58f2342bd3d2f0474207b63a3a548c29e20a9e

Modified Files
--------------
src/backend/nodes/bitmapset.c  | 77 ++++++++++++++++++++++++++++++++++++++++++
src/include/pg_config_manual.h |  6 ++++
2 files changed, 83 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix failure to verify PGC_[SU_]BACKEND GUCs in pg_file_settings
Next
From: Alexander Korotkov
Date:
Subject: pgsql: Make replace_relid() leave argument unmodified