postgres.git / summary / log / commit / refs
commit 957aa4d87a419d18710283cf4f53ba7d3ead6bbe
Author: Jeff Davis <jdavis@postgresql.org>
Date: Thu Apr 07 15:40:16 2022 +0000
First released in: 15.0
Fix another buildfarm issue from commit 5c279a6d350.
Discussion: https://postgr.es/m/3280724.1649340315@sss.pgh.pa.us
src/include/access/xlog_internal.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h
index f69ea2355da..d9df7f295d5 100644
--- a/src/include/access/xlog_internal.h
+++ b/src/include/access/xlog_internal.h
@@ -326,6 +326,7 @@ extern void RmgrCleanup(void);
extern void RmgrNotFound(RmgrId rmid);
extern void RegisterCustomRmgr(RmgrId rmid, RmgrData *rmgr);
+#ifndef FRONTEND
static inline bool
RmgrIdExists(RmgrId rmid)
{
@@ -339,6 +340,7 @@ GetRmgr(RmgrId rmid)
RmgrNotFound(rmid);
return RmgrTable[rmid];
}
+#endif
/*
* Exported to support xlog switching from checkpointer
[parent: 344d62fb9a97]