diff options
author | David Rowley <drowley@postgresql.org> | 2021-08-08 23:27:57 +1200 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2021-08-08 23:27:57 +1200 |
commit | 75a2d132eaef7d951db894cf3201f85e9a524774 (patch) | |
tree | 67a24507c613c94531b8e38fca0d337c7787b930 /src/include/access/commit_ts.h | |
parent | cb76fbd7ec87e44b3c53165d68dc2747f7e26a9a (diff) | |
download | postgresql-75a2d132eaef7d951db894cf3201f85e9a524774.tar.gz postgresql-75a2d132eaef7d951db894cf3201f85e9a524774.zip |
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
Diffstat (limited to 'src/include/access/commit_ts.h')
-rw-r--r-- | src/include/access/commit_ts.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/include/access/commit_ts.h b/src/include/access/commit_ts.h index e045dd416f2..a1538978c62 100644 --- a/src/include/access/commit_ts.h +++ b/src/include/access/commit_ts.h @@ -15,14 +15,10 @@ #include "datatype/timestamp.h" #include "replication/origin.h" #include "storage/sync.h" -#include "utils/guc.h" extern PGDLLIMPORT bool track_commit_timestamp; -extern bool check_track_commit_timestamp(bool *newval, void **extra, - GucSource source); - extern void TransactionTreeSetCommitTsData(TransactionId xid, int nsubxids, TransactionId *subxids, TimestampTz timestamp, RepOriginId nodeid); |