public inbox for [email protected]
help / color / mirror / Atom feedFrom: Álvaro Herrera <[email protected]>
Subject: [PATCH v2 09/15] twophase.h can mostly do without lock.h
Date: Sun, 22 Mar 2026 19:29:21 +0100
---
src/include/access/twophase.h | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/include/access/twophase.h b/src/include/access/twophase.h
index e312514ba87..b762170a041 100644
--- a/src/include/access/twophase.h
+++ b/src/include/access/twophase.h
@@ -17,7 +17,12 @@
#include "access/xact.h"
#include "access/xlogdefs.h"
#include "datatype/timestamp.h"
-#include "storage/lock.h"
+
+/*
+ * forward references in this file
+ */
+typedef struct VirtualTransactionId VirtualTransactionId;
+typedef struct PGPROC PGPROC;
/*
* GlobalTransactionData is defined in twophase.c; other places have no
--
2.47.3
--3mo6hy575thcal37
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment;
filename="v2-0010-sinvaladt.h-doesn-t-need-lock.h-at-all.patch"
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: [PATCH v2 09/15] twophase.h can mostly do without lock.h
In-Reply-To: <no-message-id-724303@localhost>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox