utils/int8.h is not present in PG 15 but is required in PG 9.6
authorSteve Singer <steve@ssinger.info>
Sun, 9 Oct 2022 19:49:54 +0000 (15:49 -0400)
committerSteve Singer <steve@ssinger.info>
Sat, 29 Oct 2022 17:13:29 +0000 (13:13 -0400)
Make the include conditional

src/backend/slony1_funcs.c

index 683b5415c1ce3bf0cbc9a7c471c266d4279aece1..99ada23be554c511c41c53f0db0869aaec2967c6 100644 (file)
@@ -44,7 +44,9 @@
 #include "utils/memutils.h"
 #include "utils/hsearch.h"
 #include "utils/timestamp.h"
+#if PG_VERSION_MAJOR < 10
 #include "utils/int8.h"
+#endif
 #ifdef HAVE_GETACTIVESNAPSHOT
 #include "utils/snapmgr.h"
 #endif