Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 75a2d13

Browse files
committed
Remove unused function declaration
It appears that check_track_commit_timestamp was declared but has never been defined in our code base. Likely this is just leftover cruft from a development version of the original patch to add commit timestamps. Let's just remove the useless declaration. The inclusion of guc.h also seems surplus to requirements. Author: Andrey Lepikhov Discussion: https://postgr.es/m/f49aefb5-edbb-633a-af07-3e777023a94d@postgrespro.ru
1 parent cb76fbd commit 75a2d13

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/include/access/commit_ts.h

-4
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,10 @@
1515
#include "datatype/timestamp.h"
1616
#include "replication/origin.h"
1717
#include "storage/sync.h"
18-
#include "utils/guc.h"
1918

2019

2120
extern PGDLLIMPORT bool track_commit_timestamp;
2221

23-
extern bool check_track_commit_timestamp(bool *newval, void **extra,
24-
GucSource source);
25-
2622
extern void TransactionTreeSetCommitTsData(TransactionId xid, int nsubxids,
2723
TransactionId *subxids, TimestampTz timestamp,
2824
RepOriginId nodeid);

0 commit comments

Comments
 (0)