From e19272ef603bdb11a09e7f8500dc4e0fb4ec73de Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 21 May 2022 13:26:08 -0400 Subject: [PATCH] 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 d9f2487a96..cd674c3c23 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);