From 9a1b1f41dd3c02e2fe760ce3ce46a0116862a4a6 Mon Sep 17 00:00:00 2001 From: Konstantin Knizhnik Date: Thu, 20 Nov 2025 08:42:40 +0200 Subject: [PATCH 1/2] Move LastWrittenLsnLock to neon extension --- src/include/storage/lwlocklist.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/include/storage/lwlocklist.h b/src/include/storage/lwlocklist.h index 34ef93261ee..932024b1b0b 100644 --- a/src/include/storage/lwlocklist.h +++ b/src/include/storage/lwlocklist.h @@ -84,4 +84,3 @@ PG_LWLOCK(50, DSMRegistry) PG_LWLOCK(51, InjectionPoint) PG_LWLOCK(52, SerialControl) PG_LWLOCK(53, AioWorkerSubmissionQueue) -PG_LWLOCK(54, LastWrittenLsn) From 2d362189e972bd6f382655c5c96bd883d2be3b90 Mon Sep 17 00:00:00 2001 From: Konstantin Knizhnik Date: Thu, 20 Nov 2025 10:01:15 +0200 Subject: [PATCH 2/2] Move LastWrittenLsnLock to neon extension --- src/backend/utils/activity/wait_event_names.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/utils/activity/wait_event_names.txt b/src/backend/utils/activity/wait_event_names.txt index 017deee70d4..173f1f63728 100644 --- a/src/backend/utils/activity/wait_event_names.txt +++ b/src/backend/utils/activity/wait_event_names.txt @@ -353,7 +353,6 @@ DSMRegistry "Waiting to read or update the dynamic shared memory registry." InjectionPoint "Waiting to read or update information related to injection points." SerialControl "Waiting to read or update shared pg_serial state." AioWorkerSubmissionQueue "Waiting to access AIO worker submission queue." -LastWrittenLsn "Waiting to read or update information related to written recent changes." # # END OF PREDEFINED LWLOCKS (DO NOT CHANGE THIS LINE)