postgres.git / summary / log / commit / refs

commit    e19272ef603bdb11a09e7f8500dc4e0fb4ec73de
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Sat May 21 17:26:08 2022 +0000
First released in: 15.0

    Remove unused-and-misspelled function extern declaration.
    
    Commit c65507763 added "extern XLogRecPtr CalculateMaxmumSafeLSN(void)",
    which bears no trace of connection to anything else in that patch
    or anywhere else.  Remove it again.
    
    Sergei Kornilov (also spotted by Bharath Rupireddy)
    
    Discussion: https://postgr.es/m/706501646056870@vla3-6a5326aeb4ee.qloud-c.yandex.net
    Discussion: https://postgr.es/m/CALj2ACVoQ7NEf43Xz0rfxsGOKYTN5r4VZp2DO2_5p+CMzsRPFw@mail.gmail.com


src/include/access/xlog.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h index d9f2487a969..cd674c3c23f 100644 --- a/src/include/access/xlog.h +++ b/src/include/access/xlog.h @@ -233,7 +233,6 @@ extern void ShutdownXLOG(int code, Datum arg); extern void CreateCheckPoint(int flags); extern bool CreateRestartPoint(int flags); extern WALAvailability GetWALAvailability(XLogRecPtr targetLSN); -extern XLogRecPtr CalculateMaxmumSafeLSN(void); extern void XLogPutNextOid(Oid nextOid); extern XLogRecPtr XLogRestorePoint(const char *rpName); extern void UpdateFullPageWrites(void); [parent: a916cb9d5a89]