summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Davis2022-04-07 15:40:16 +0000
committerJeff Davis2022-04-07 15:40:54 +0000
commit957aa4d87a419d18710283cf4f53ba7d3ead6bbe (patch)
tree1625b648715ae83be5f2de525fc079bd32aabe44
parent344d62fb9a978a72cf8347f0369b9ee643fd0b31 (diff)
Fix another buildfarm issue from commit 5c279a6d350.
Discussion: https://postgr.es/m/[email protected]
-rw-r--r--src/include/access/xlog_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h
index f69ea2355d..d9df7f295d 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