pgsql: Use dlists instead of SHM_QUEUE for predicate locking

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use dlists instead of SHM_QUEUE for predicate locking
Date: 2023-01-20 02:57:50
Message-ID: E1pIhbC-004YOu-0b@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use dlists instead of SHM_QUEUE for predicate locking

Part of a series to remove SHM_QUEUE. ilist.h style lists are more widely used
and have an easier to use interface.

Reviewed-by: Thomas Munro <thomas(dot)munro(at)gmail(dot)com> (in an older version)
Discussion: https://postgr.es/m/20221120055930.t6kl3tyivzhlrzu2@awork3.anarazel.de
Discussion: https://postgr.es/m/20200211042229.msv23badgqljrdg2@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9600371764583c80f3d94957e3d16daa2661154b

Modified Files
--------------
src/backend/storage/lmgr/predicate.c | 701 ++++++++++--------------------
src/include/storage/predicate_internals.h | 48 +-
2 files changed, 249 insertions(+), 500 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-01-20 16:58:30 pgsql: Make our back branches build under -fkeep-inline-functions.
Previous Message Amit Kapila 2023-01-20 02:55:35 pgsql: Improve the description of Output Plugin Callbacks.