pgsql: Use dlists instead of SHM_QUEUE for predicate locking

Started by Andres Freundover 3 years ago1 messagescomitters
Jump to latest
#1Andres Freund
andres@anarazel.de

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.munro@gmail.com> (in an older version)
Discussion: /messages/by-id/20221120055930.t6kl3tyivzhlrzu2@awork3.anarazel.de
Discussion: /messages/by-id/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(-)