Fix another buildfarm issue from commit 5c279a6d350.
authorJeff Davis <jdavis@postgresql.org>
Thu, 7 Apr 2022 15:40:16 +0000 (08:40 -0700)
committerJeff Davis <jdavis@postgresql.org>
Thu, 7 Apr 2022 15:40:54 +0000 (08:40 -0700)
Discussion: https://postgr.es/m/3280724.1649340315@sss.pgh.pa.us

src/include/access/xlog_internal.h

index f69ea2355dac15d2a06fcefc64849c35493c6bf5..d9df7f295d54ab12fe8ebf7a819c5593c3504dee 100644 (file)
@@ -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