projects
/
slony1-engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac5158a
)
utils/int8.h is not present in PG 15 but is required in PG 9.6
author
Steve Singer
<steve@ssinger.info>
Sun, 9 Oct 2022 19:49:54 +0000
(15:49 -0400)
committer
Steve Singer
<steve@ssinger.info>
Sat, 29 Oct 2022 17:13:29 +0000
(13:13 -0400)
Make the include conditional
src/backend/slony1_funcs.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/slony1_funcs.c
b/src/backend/slony1_funcs.c
index 683b5415c1ce3bf0cbc9a7c471c266d4279aece1..99ada23be554c511c41c53f0db0869aaec2967c6 100644
(file)
--- a/
src/backend/slony1_funcs.c
+++ b/
src/backend/slony1_funcs.c
@@
-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