From: =?UTF-8?q?=C3=81lvaro=20Herrera?= Date: Sun, 22 Mar 2026 19:32:01 +0100 Subject: [PATCH v2 11/15] replication/worker_internal.h doesn't need lock.h at all --- src/backend/replication/logical/sequencesync.c | 1 + src/include/replication/worker_internal.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/replication/logical/sequencesync.c b/src/backend/replication/logical/sequencesync.c index 9c92fddd624..a4fb6783ba9 100644 --- a/src/backend/replication/logical/sequencesync.c +++ b/src/backend/replication/logical/sequencesync.c @@ -60,6 +60,7 @@ #include "postmaster/interrupt.h" #include "replication/logicalworker.h" #include "replication/worker_internal.h" +#include "storage/lwlock.h" #include "utils/acl.h" #include "utils/builtins.h" #include "utils/fmgroids.h" diff --git a/src/include/replication/worker_internal.h b/src/include/replication/worker_internal.h index 4ecbdcfadac..745b7d9e969 100644 --- a/src/include/replication/worker_internal.h +++ b/src/include/replication/worker_internal.h @@ -20,7 +20,6 @@ #include "replication/walreceiver.h" #include "storage/buffile.h" #include "storage/fileset.h" -#include "storage/lock.h" #include "storage/shm_mq.h" #include "storage/shm_toc.h" #include "storage/spin.h" -- 2.47.3 --3mo6hy575thcal37 Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="v2-0012-cluster.h-can-do-with-just-lockdefs.h.patch"