summaryrefslogtreecommitdiff
path: root/databases/postgresql11/files
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-10-23 16:02:51 +0000
committeradam <adam@pkgsrc.org>2018-10-23 16:02:51 +0000
commitd42347056c6277ef9953c792c3fe6f34929b1084 (patch)
tree4419f05b9c69ea12e46c20a802e97c9775ae78c9 /databases/postgresql11/files
parenta8254bfd168f51b9a0720da2aa1da6460990c795 (diff)
downloadpkgsrc-d42347056c6277ef9953c792c3fe6f34929b1084.tar.gz
postgresql11: added version 11.0
PostgreSQL 11 provides users with improvements to overall performance of the database system, with specific enhancements associated with very large databases and high computational workloads. Further, PostgreSQL 11 makes significant improvements to the table partitioning system, adds support for stored procedures capable of transaction management, improves query parallelism and adds parallelized data definition capabilities, and introduces just-in-time (JIT) compilation for accelerating the execution of expressions in queries.
Diffstat (limited to 'databases/postgresql11/files')
-rw-r--r--databases/postgresql11/files/GNUmakefile.libpq20
-rw-r--r--databases/postgresql11/files/dynloader-ltdl.h17
2 files changed, 37 insertions, 0 deletions
diff --git a/databases/postgresql11/files/GNUmakefile.libpq b/databases/postgresql11/files/GNUmakefile.libpq
new file mode 100644
index 00000000000..99f81bc6b3c
--- /dev/null
+++ b/databases/postgresql11/files/GNUmakefile.libpq
@@ -0,0 +1,20 @@
+# $NetBSD: GNUmakefile.libpq,v 1.1 2018/10/23 16:02:51 adam Exp $
+#
+# This GNUmakefile overrides the `all' target of $(libpq_srcdir)/Makefile
+# to be empty if INSTALLED_LIBPQ is defined. This handles the submake
+# targets sprinkled throughout the PostgreSQL Makefiles that execute
+#
+# @$(MAKE) -C $(libpq_builddir) all
+#
+# to ensure that the libpq libraries are built first. If INSTALLED_LIBPQ
+# is defined, then have the `all' target simple return success.
+
+ifdef INSTALLED_LIBPQ
+all:
+ @test -f libpq.a || touch libpq.a
+endif
+
+%: force
+ @$(MAKE) -f Makefile $@
+
+force: ;
diff --git a/databases/postgresql11/files/dynloader-ltdl.h b/databases/postgresql11/files/dynloader-ltdl.h
new file mode 100644
index 00000000000..e696470d262
--- /dev/null
+++ b/databases/postgresql11/files/dynloader-ltdl.h
@@ -0,0 +1,17 @@
+/* $NetBSD: dynloader-ltdl.h,v 1.1 2018/10/23 16:02:51 adam Exp $ */
+
+/*
+ * dynamic loader based on libltdl
+ */
+#ifndef PORT_PROTOS_H
+#define PORT_PROTOS_H
+
+#include <ltdl.h>
+#include "utils/dynamic_loader.h"
+
+#define pg_dlopen(a) ((void *)lt_dlopen(a))
+#define pg_dlsym(a,b) lt_dlsym((lt_dlhandle)(a), (b))
+#define pg_dlclose(a) lt_dlclose((lt_dlhandle)(a))
+#define pg_dlerror lt_dlerror
+
+#endif /* PORT_PROTOS_H */