pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andy Fan <zhihuifan1213@163.com>
Subject: [PATCH v1 1/1] Remove xl_commit_ts_set.
Date: Wed, 2 Jul 2025 00:45:52 +0000

The last reference to this code has been removed in  08aa89b3. So
removing xl_commit_ts_set as well.
---
 src/include/access/commit_ts.h | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/src/include/access/commit_ts.h b/src/include/access/commit_ts.h
index b8294e41b97..dc39e7dd32c 100644
--- a/src/include/access/commit_ts.h
+++ b/src/include/access/commit_ts.h
@@ -46,17 +46,6 @@ extern int	committssyncfiletag(const FileTag *ftag, char *path);
 #define COMMIT_TS_ZEROPAGE		0x00
 #define COMMIT_TS_TRUNCATE		0x10
 
-typedef struct xl_commit_ts_set
-{
-	TimestampTz timestamp;
-	RepOriginId nodeid;
-	TransactionId mainxid;
-	/* subxact Xids follow */
-}			xl_commit_ts_set;
-
-#define SizeOfCommitTsSet	(offsetof(xl_commit_ts_set, mainxid) + \
-							 sizeof(TransactionId))
-
 typedef struct xl_commit_ts_truncate
 {
 	int64		pageno;
-- 
2.45.1


--=-=-=--






Message-ID: <no-message-id-25345@localhost>
Permalink:  ../no-message-id-25345@localhost/
Also on:    postgresql.org/message-id/no-message-id-25345@localhost

 · 

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: pgsql-bugs@postgresql.org
  Cc: zhihuifan1213@163.com
  Subject: Re: [PATCH v1 1/1] Remove xl_commit_ts_set.
  In-Reply-To: <no-message-id-25345@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox