pgsql: REALLOCATE_BITMAPSETS manual compile-time option

From: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: REALLOCATE_BITMAPSETS manual compile-time option
Date: 2023-12-27 01:58:20
Message-ID: E1rIJBc-00C50d-HU@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2023-12-27 01:58:21 pgsql: Make replace_relid() leave argument unmodified
Previous Message Tom Lane 2023-12-26 22:58:05 pgsql: Fix failure to verify PGC_[SU_]BACKEND GUCs in pg_file_settings