summaryrefslogtreecommitdiff
path: root/databases/postgresql10/patches/patch-src_pl_plperl_plperl.h
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-10-23 20:33:49 +0000
committeradam <adam@pkgsrc.org>2017-10-23 20:33:49 +0000
commitb45ad1d9394592ccf214a31d1e490d5c423c3c12 (patch)
tree569e2f79e9c2e9ffc1107a4e19a01fd335aaa124 /databases/postgresql10/patches/patch-src_pl_plperl_plperl.h
parent0639431d94995a943e1883bc35c9c43d9a3b2ccd (diff)
downloadpkgsrc-b45ad1d9394592ccf214a31d1e490d5c423c3c12.tar.gz
postgresql10: added version 10.0
Major enhancements in PostgreSQL 10 include: Logical replication using publish/subscribe Declarative table partitioning Improved query parallelism Significant general performance improvements Stronger password authentication based on SCRAM-SHA-256 Improved monitoring and control The above items are explained in more detail in the sections below.
Diffstat (limited to 'databases/postgresql10/patches/patch-src_pl_plperl_plperl.h')
-rw-r--r--databases/postgresql10/patches/patch-src_pl_plperl_plperl.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/databases/postgresql10/patches/patch-src_pl_plperl_plperl.h b/databases/postgresql10/patches/patch-src_pl_plperl_plperl.h
new file mode 100644
index 00000000000..b10cbb5d60f
--- /dev/null
+++ b/databases/postgresql10/patches/patch-src_pl_plperl_plperl.h
@@ -0,0 +1,27 @@
+$NetBSD: patch-src_pl_plperl_plperl.h,v 1.1 2017/10/23 20:33:49 adam Exp $
+
+--- src/pl/plperl/plperl.h.orig 2017-08-07 21:19:50.000000000 +0000
++++ src/pl/plperl/plperl.h
+@@ -44,6 +44,10 @@
+ #undef vsnprintf
+ #endif
+
++#ifdef __sun
++#define list_head sun_list_head
++#define list_tail sun_list_tail
++#endif
+
+ /*
+ * Get the basic Perl API. We use PERL_NO_GET_CONTEXT mode so that our code
+@@ -62,6 +66,11 @@
+ #include "XSUB.h"
+ #endif
+
++#ifdef __sun
++#undef list_head
++#undef list_tail
++#endif
++
+ /* put back our snprintf and vsnprintf */
+ #ifdef USE_REPL_SNPRINTF
+ #ifdef snprintf