Remove leftover dead code from commit_ts.h. · postgres/postgres@c84698c · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
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 <zhihuifan1213@163.com> Reviewed-by: Fujii Masao <masao.fujii@gmail.com> Discussion: https://postgr.es/m/87ecuzmkqf.fsf@163.com
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)

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.