postgres.git / summary / log / commit / refs

commit    75a2d132eaef7d951db894cf3201f85e9a524774
Author:   David Rowley <drowley@postgresql.org>
Date:     Sun Aug 08 11:27:57 2021 +0000

    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


src/include/access/commit_ts.h | 4 ---- 1 file changed, 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); [parent: cb76fbd7ec87]