File: 11-foreign-server

package info (click to toggle)
postgresql-plproxy 2.8-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 672 kB
  • sloc: ansic: 3,712; sql: 1,083; lex: 338; yacc: 171; makefile: 117; sh: 26
file content (17 lines) | stat: -rw-r--r-- 348 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/src/plproxy.h
+++ b/src/plproxy.h
@@ -144,6 +144,14 @@
 #endif
 
 /*
+ * backwards compatibility with v10.
+ */
+
+#if PG_VERSION_NUM >= 110000
+#define ACL_KIND_FOREIGN_SERVER OBJECT_FOREIGN_SERVER
+#endif
+
+/*
  * Determine if this argument is to SPLIT
  */
 #define IS_SPLIT_ARG(func, arg)	((func)->split_args && (func)->split_args[arg])