public inbox for [email protected]  
help / color / mirror / Atom feed
From: Andres Freund <[email protected]>
Subject: [PATCH v2 4/9] Don't include snapshot.h in tableam.h
Date: Thu, 2 Apr 2026 11:56:01 -0400

---
 src/include/access/tableam.h     | 3 ++-
 src/backend/executor/execUtils.c | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/include/access/tableam.h b/src/include/access/tableam.h
index df00fee2229..7f99203f965 100644
--- a/src/include/access/tableam.h
+++ b/src/include/access/tableam.h
@@ -22,7 +22,6 @@
 #include "access/xact.h"
 #include "executor/tuptable.h"
 #include "utils/rel.h"
-#include "utils/snapshot.h"
 
 
 #define DEFAULT_TABLE_ACCESS_METHOD	"heap"
@@ -38,6 +37,8 @@ typedef struct IndexInfo IndexInfo;
 typedef struct ReadStream ReadStream;
 typedef struct SampleScanState SampleScanState;
 typedef struct ScanKeyData ScanKeyData;
+typedef struct SnapshotData SnapshotData;
+typedef SnapshotData *Snapshot;
 typedef struct ValidateIndexState ValidateIndexState;
 typedef struct VacuumParams VacuumParams;
 
diff --git a/src/backend/executor/execUtils.c b/src/backend/executor/execUtils.c
index 1eb6b9f1f40..280364364dc 100644
--- a/src/backend/executor/execUtils.c
+++ b/src/backend/executor/execUtils.c
@@ -61,6 +61,7 @@
 #include "utils/builtins.h"
 #include "utils/memutils.h"
 #include "utils/rel.h"
+#include "utils/snapshot.h"
 #include "utils/typcache.h"
 
 
-- 
2.53.0.1.gb2826b52eb


--jmpqp62znaydqx65
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment;
	filename="v2-0005-Don-t-include-xlogreader.h-in-xlog.h.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 4/9] Don't include snapshot.h in tableam.h
  In-Reply-To: <no-message-id-601442@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