summaryrefslogtreecommitdiff
path: root/databases/postgresql10/patches/patch-src_backend_utils_adt_datetime.c
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_backend_utils_adt_datetime.c
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_backend_utils_adt_datetime.c')
-rw-r--r--databases/postgresql10/patches/patch-src_backend_utils_adt_datetime.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/postgresql10/patches/patch-src_backend_utils_adt_datetime.c b/databases/postgresql10/patches/patch-src_backend_utils_adt_datetime.c
new file mode 100644
index 00000000000..3ba6a87a0a7
--- /dev/null
+++ b/databases/postgresql10/patches/patch-src_backend_utils_adt_datetime.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_backend_utils_adt_datetime.c,v 1.1 2017/10/23 20:33:49 adam Exp $
+
+--- src/backend/utils/adt/datetime.c.orig 2014-12-16 01:07:34.000000000 +0000
++++ src/backend/utils/adt/datetime.c
+@@ -31,6 +31,9 @@
+ #include "utils/memutils.h"
+ #include "utils/tzparser.h"
+
++#if defined(__NetBSD__)
++#define strtoi pg_strtoi
++#endif
+
+ static int DecodeNumber(int flen, char *field, bool haveTextMonth,
+ int fmask, int *tmask,