aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Davis <jdavis@postgresql.org>2022-04-07 08:40:16 -0700
committerJeff Davis <jdavis@postgresql.org>2022-04-07 08:40:54 -0700
commit957aa4d87a419d18710283cf4f53ba7d3ead6bbe (patch)
tree1625b648715ae83be5f2de525fc079bd32aabe44
parent344d62fb9a978a72cf8347f0369b9ee643fd0b31 (diff)
downloadpostgresql-957aa4d87a419d18710283cf4f53ba7d3ead6bbe.tar.gz
postgresql-957aa4d87a419d18710283cf4f53ba7d3ead6bbe.zip
Fix another buildfarm issue from commit 5c279a6d350.
Discussion: https://postgr.es/m/3280724.1649340315@sss.pgh.pa.us
-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 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