Skip to content

Commit c84698c

Browse files
committed
Remove leftover dead code from commit_ts.h.
Commit 08aa89b removed the COMMIT_TS_SETTS WAL record, leaving xl_commit_ts_set and SizeOfCommitTsSet unused. However, it missed removing these definitions. This commit cleans up the leftover code. Since this is a cleanup rather than a bug fix, it is applied only to the master branch. Author: Andy Fan <[email protected]> Reviewed-by: Fujii Masao <[email protected]> Discussion: https://postgr.es/m/[email protected]
1 parent 81a2625 commit c84698c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/include/access/commit_ts.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,6 @@ extern int committssyncfiletag(const FileTag *ftag, char *path);
4646
#define COMMIT_TS_ZEROPAGE 0x00
4747
#define COMMIT_TS_TRUNCATE 0x10
4848

49-
typedef struct xl_commit_ts_set
50-
{
51-
TimestampTz timestamp;
52-
RepOriginId nodeid;
53-
TransactionId mainxid;
54-
/* subxact Xids follow */
55-
} xl_commit_ts_set;
56-
57-
#define SizeOfCommitTsSet (offsetof(xl_commit_ts_set, mainxid) + \
58-
sizeof(TransactionId))
59-
6049
typedef struct xl_commit_ts_truncate
6150
{
6251
int64 pageno;

0 commit comments

Comments
 (0)