summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2016-10-29 19:41:53 +0000
committeradam <adam@pkgsrc.org>2016-10-29 19:41:53 +0000
commitd5d906211a471a34bc553a116c1faad7c19c67c2 (patch)
tree075ccb0bd00f135546147ce512d0e02c04854cc9
parent10bf9ecbb2426907cda2d1206135264afaf511cb (diff)
downloadpkgsrc-d5d906211a471a34bc553a116c1faad7c19c67c2.tar.gz
The PostgreSQL Global Development Group has released an update to all supported versions of our database system, including 9.6.1, 9.5.5, 9.4.10, 9.3.15, 9.2.19, and 9.1.24. This is also the last update for the PostgreSQL 9.1 series as it is now end-of-life. This release fixes two issues that can cause data corruption, which are described in more detail below. It also patches a number of other bugs reported over the last three months. The project urges users to apply this update at the next possible downtime.
-rw-r--r--databases/postgresql91-docs/PLIST3
-rw-r--r--databases/postgresql91-server/PLIST3
-rw-r--r--databases/postgresql91/Makefile.common4
-rw-r--r--databases/postgresql91/distinfo10
-rw-r--r--databases/postgresql92-docs/PLIST4
-rw-r--r--databases/postgresql92-server/PLIST3
-rw-r--r--databases/postgresql92/Makefile.common4
-rw-r--r--databases/postgresql92/distinfo10
-rw-r--r--databases/postgresql93-docs/PLIST5
-rw-r--r--databases/postgresql93-server/PLIST3
-rw-r--r--databases/postgresql93/Makefile.common4
-rw-r--r--databases/postgresql93/distinfo10
-rw-r--r--databases/postgresql94-docs/PLIST6
-rw-r--r--databases/postgresql94-server/PLIST3
-rw-r--r--databases/postgresql94/Makefile.common4
-rw-r--r--databases/postgresql94/distinfo10
-rw-r--r--databases/postgresql95-docs/PLIST7
-rw-r--r--databases/postgresql95-server/PLIST3
-rw-r--r--databases/postgresql95/Makefile.common4
-rw-r--r--databases/postgresql95/distinfo10
-rw-r--r--databases/postgresql96-client/DESCR9
-rw-r--r--databases/postgresql96-client/Makefile87
-rw-r--r--databases/postgresql96-client/PLIST856
-rw-r--r--databases/postgresql96-client/buildlink3.mk21
-rw-r--r--databases/postgresql96-contrib/DESCR4
-rw-r--r--databases/postgresql96-contrib/Makefile72
-rw-r--r--databases/postgresql96-contrib/PLIST225
-rw-r--r--databases/postgresql96-docs/DESCR9
-rw-r--r--databases/postgresql96-docs/Makefile21
-rw-r--r--databases/postgresql96-docs/PLIST1602
-rw-r--r--databases/postgresql96-plperl/DESCR5
-rw-r--r--databases/postgresql96-plperl/MESSAGE7
-rw-r--r--databases/postgresql96-plperl/Makefile24
-rw-r--r--databases/postgresql96-plperl/PLIST25
-rw-r--r--databases/postgresql96-plpython/DESCR9
-rw-r--r--databases/postgresql96-plpython/MESSAGE17
-rw-r--r--databases/postgresql96-plpython/Makefile18
-rw-r--r--databases/postgresql96-plpython/PLIST34
-rw-r--r--databases/postgresql96-pltcl/DESCR4
-rw-r--r--databases/postgresql96-pltcl/MESSAGE7
-rw-r--r--databases/postgresql96-pltcl/Makefile20
-rw-r--r--databases/postgresql96-pltcl/PLIST26
-rw-r--r--databases/postgresql96-server/DEINSTALL20
-rw-r--r--databases/postgresql96-server/DESCR9
-rw-r--r--databases/postgresql96-server/MESSAGE18
-rw-r--r--databases/postgresql96-server/Makefile76
-rw-r--r--databases/postgresql96-server/PLIST698
-rw-r--r--databases/postgresql96-server/files/pgsql.sh130
-rw-r--r--databases/postgresql96-server/files/smf/manifest.xml37
-rw-r--r--databases/postgresql96-server/files/smf/postgresql.sh57
-rw-r--r--databases/postgresql96/DESCR9
-rw-r--r--databases/postgresql96/Makefile14
-rw-r--r--databases/postgresql96/Makefile.common129
-rw-r--r--databases/postgresql96/PLIST2
-rw-r--r--databases/postgresql96/distinfo20
-rw-r--r--databases/postgresql96/files/GNUmakefile.libpq20
-rw-r--r--databases/postgresql96/files/dynloader-ltdl.h17
-rw-r--r--databases/postgresql96/options.mk73
-rw-r--r--databases/postgresql96/patches/patch-config_missing13
-rw-r--r--databases/postgresql96/patches/patch-config_perl.m415
-rw-r--r--databases/postgresql96/patches/patch-configure34
-rw-r--r--databases/postgresql96/patches/patch-contrib_dblink_dblink.c13
-rw-r--r--databases/postgresql96/patches/patch-contrib_uuid-ossp_uuid-ossp.c22
-rw-r--r--databases/postgresql96/patches/patch-src_Makefile.global.in16
-rw-r--r--databases/postgresql96/patches/patch-src_Makefile.shlib61
-rw-r--r--databases/postgresql96/patches/patch-src_backend_Makefile24
-rw-r--r--databases/postgresql96/patches/patch-src_backend_utils_adt_datetime.c14
-rw-r--r--databases/postgresql96/patches/patch-src_interfaces_ecpg_pgtypeslib_interval.c15
-rw-r--r--databases/postgresql96/patches/patch-src_interfaces_libpq_Makefile13
-rw-r--r--databases/postgresql96/patches/patch-src_makefiles_Makefile.solaris10
-rw-r--r--databases/postgresql96/patches/patch-src_pl_plperl_GNUmakefile21
-rw-r--r--databases/postgresql96/patches/patch-src_pl_plperl_plperl.h26
72 files changed, 4793 insertions, 45 deletions
diff --git a/databases/postgresql91-docs/PLIST b/databases/postgresql91-docs/PLIST
index 1a1ad37e069..1a7631307b0 100644
--- a/databases/postgresql91-docs/PLIST
+++ b/databases/postgresql91-docs/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.25 2016/08/23 06:28:15 adam Exp $
+@comment $NetBSD: PLIST,v 1.26 2016/10/29 19:41:53 adam Exp $
man/man1/clusterdb.1
man/man1/createdb.1
man/man1/createlang.1
@@ -1027,6 +1027,7 @@ share/doc/postgresql/html/release-9-1-2.html
share/doc/postgresql/html/release-9-1-21.html
share/doc/postgresql/html/release-9-1-22.html
share/doc/postgresql/html/release-9-1-23.html
+share/doc/postgresql/html/release-9-1-24.html
share/doc/postgresql/html/release-9-1-3.html
share/doc/postgresql/html/release-9-1-4.html
share/doc/postgresql/html/release-9-1-5.html
diff --git a/databases/postgresql91-server/PLIST b/databases/postgresql91-server/PLIST
index 38e22f58679..428b2536172 100644
--- a/databases/postgresql91-server/PLIST
+++ b/databases/postgresql91-server/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2016/05/23 14:27:34 adam Exp $
+@comment $NetBSD: PLIST,v 1.15 2016/10/29 19:41:53 adam Exp $
bin/postgres
bin/postmaster
lib/postgresql/ascii_and_mic.so
@@ -394,6 +394,7 @@ share/postgresql/timezone/Asia/Ust-Nera
share/postgresql/timezone/Asia/Vientiane
share/postgresql/timezone/Asia/Vladivostok
share/postgresql/timezone/Asia/Yakutsk
+share/postgresql/timezone/Asia/Yangon
share/postgresql/timezone/Asia/Yekaterinburg
share/postgresql/timezone/Asia/Yerevan
share/postgresql/timezone/Atlantic/Azores
diff --git a/databases/postgresql91/Makefile.common b/databases/postgresql91/Makefile.common
index a62cbe5aeb5..e116edc248d 100644
--- a/databases/postgresql91/Makefile.common
+++ b/databases/postgresql91/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.34 2016/08/23 06:28:15 adam Exp $
+# $NetBSD: Makefile.common,v 1.35 2016/10/29 19:41:53 adam Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -16,7 +16,7 @@
# used by databases/postgresql91-pltcl/Makefile
# used by databases/postgresql91-server/Makefile
-DISTNAME= postgresql-9.1.23
+DISTNAME= postgresql-9.1.24
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/}
EXTRACT_SUFX= .tar.bz2
diff --git a/databases/postgresql91/distinfo b/databases/postgresql91/distinfo
index c68b2d2879f..2eacbf92996 100644
--- a/databases/postgresql91/distinfo
+++ b/databases/postgresql91/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.30 2016/08/23 06:28:15 adam Exp $
+$NetBSD: distinfo,v 1.31 2016/10/29 19:41:53 adam Exp $
-SHA1 (postgresql-9.1.23.tar.bz2) = 9b3c51c4b40d69e6d84c1a0ac464828b559f7362
-RMD160 (postgresql-9.1.23.tar.bz2) = 5ec47504950f42d7f6fa07059e5e5daa7caef1c3
-SHA512 (postgresql-9.1.23.tar.bz2) = 192f48ed8db510663c85c217afee8eff732d467fe10f600c9be834371ccb6a788acd380c582d80f0096a0b7d7ee0daa378d1fb8177281bf4e6e2fcc39fffdc67
-Size (postgresql-9.1.23.tar.bz2) = 15856178 bytes
+SHA1 (postgresql-9.1.24.tar.bz2) = 213c4ea5552e516f03c74d163085c233b0d5d9fa
+RMD160 (postgresql-9.1.24.tar.bz2) = 9531c8d01bc8012bac09d9e698d062b2374b164b
+SHA512 (postgresql-9.1.24.tar.bz2) = a9ad0d62846598afee317eeda83406b5f85a658bfe7eb78aff6c59c904223dd165adbd5870598b74aa0e012878489f0c285e6ac7b07ebddf3cf8d81ba70bea7e
+Size (postgresql-9.1.24.tar.bz2) = 15863767 bytes
SHA1 (patch-config_perl.m4) = c7e5aaff1c47d2e33df7692a412ef984c77ffcc0
SHA1 (patch-configure) = dab79533dac06a79a5aa8439d6b15830d8d2fba7
SHA1 (patch-contrib_dblink_Makefile) = 4960ad57d42465fae203870548e4c53f8a32ce04
diff --git a/databases/postgresql92-docs/PLIST b/databases/postgresql92-docs/PLIST
index 57e1849789f..c42986697b5 100644
--- a/databases/postgresql92-docs/PLIST
+++ b/databases/postgresql92-docs/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2016/08/23 06:28:15 adam Exp $
+@comment $NetBSD: PLIST,v 1.19 2016/10/29 19:41:54 adam Exp $
man/man1/clusterdb.1
man/man1/createdb.1
man/man1/createlang.1
@@ -1056,6 +1056,7 @@ share/doc/postgresql/html/release-9-1-2.html
share/doc/postgresql/html/release-9-1-21.html
share/doc/postgresql/html/release-9-1-22.html
share/doc/postgresql/html/release-9-1-23.html
+share/doc/postgresql/html/release-9-1-24.html
share/doc/postgresql/html/release-9-1-3.html
share/doc/postgresql/html/release-9-1-4.html
share/doc/postgresql/html/release-9-1-5.html
@@ -1074,6 +1075,7 @@ share/doc/postgresql/html/release-9-2-15.html
share/doc/postgresql/html/release-9-2-16.html
share/doc/postgresql/html/release-9-2-17.html
share/doc/postgresql/html/release-9-2-18.html
+share/doc/postgresql/html/release-9-2-19.html
share/doc/postgresql/html/release-9-2-2.html
share/doc/postgresql/html/release-9-2-3.html
share/doc/postgresql/html/release-9-2-4.html
diff --git a/databases/postgresql92-server/PLIST b/databases/postgresql92-server/PLIST
index cbf5a2c4d16..484f1379e8a 100644
--- a/databases/postgresql92-server/PLIST
+++ b/databases/postgresql92-server/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2016/05/23 14:27:34 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2016/10/29 19:41:54 adam Exp $
bin/postgres
bin/postmaster
include/postgresql/server/plpgsql.h
@@ -393,6 +393,7 @@ share/postgresql/timezone/Asia/Ust-Nera
share/postgresql/timezone/Asia/Vientiane
share/postgresql/timezone/Asia/Vladivostok
share/postgresql/timezone/Asia/Yakutsk
+share/postgresql/timezone/Asia/Yangon
share/postgresql/timezone/Asia/Yekaterinburg
share/postgresql/timezone/Asia/Yerevan
share/postgresql/timezone/Atlantic/Azores
diff --git a/databases/postgresql92/Makefile.common b/databases/postgresql92/Makefile.common
index ead7fc2729f..5d921dfaa66 100644
--- a/databases/postgresql92/Makefile.common
+++ b/databases/postgresql92/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.25 2016/08/23 06:28:15 adam Exp $
+# $NetBSD: Makefile.common,v 1.26 2016/10/29 19:41:53 adam Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -16,7 +16,7 @@
# used by databases/postgresql92-pltcl/Makefile
# used by databases/postgresql92-server/Makefile
-DISTNAME= postgresql-9.2.18
+DISTNAME= postgresql-9.2.19
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/}
EXTRACT_SUFX= .tar.bz2
diff --git a/databases/postgresql92/distinfo b/databases/postgresql92/distinfo
index 11d880ff505..a8cd62d31ea 100644
--- a/databases/postgresql92/distinfo
+++ b/databases/postgresql92/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.20 2016/08/23 06:28:15 adam Exp $
+$NetBSD: distinfo,v 1.21 2016/10/29 19:41:53 adam Exp $
-SHA1 (postgresql-9.2.18.tar.bz2) = 703f237f2d70df3809733852a9c2421e5b4fdba9
-RMD160 (postgresql-9.2.18.tar.bz2) = 939d42d613dd25ac06e8e5eed82627e11663de7e
-SHA512 (postgresql-9.2.18.tar.bz2) = c311f621ac38e2dfaf5fd57a4500430333dcbb2d7f1719bc7d99fef54e06a22f93aea595391c3607d44c89c372d0e89daf18f8f295b33e3b21e5285fbbb87d5b
-Size (postgresql-9.2.18.tar.bz2) = 16448429 bytes
+SHA1 (postgresql-9.2.19.tar.bz2) = 0444ba612dde02031704838b21560139d996f7f0
+RMD160 (postgresql-9.2.19.tar.bz2) = 481cd06f5fe445f2bcc64a11f2e8da8b1b79a161
+SHA512 (postgresql-9.2.19.tar.bz2) = d3b4c5578bf6d6580028e775bff81a921258cb53b6b06567d96a352d14f3b63063adb480b2f5e2029baf8a034e14b5cd75eebc04f1ed7b16c849e1a5ec1f4867
+Size (postgresql-9.2.19.tar.bz2) = 16466698 bytes
SHA1 (patch-config_missing) = c2d7d742922ba6861e7660c75b7b53f09e564813
SHA1 (patch-config_perl.m4) = c7e5aaff1c47d2e33df7692a412ef984c77ffcc0
SHA1 (patch-configure) = 21b27add570cff1a24c440201eb1ed49f8223747
diff --git a/databases/postgresql93-docs/PLIST b/databases/postgresql93-docs/PLIST
index 3f481ece8a9..7e3b1762881 100644
--- a/databases/postgresql93-docs/PLIST
+++ b/databases/postgresql93-docs/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2016/08/23 06:28:16 adam Exp $
+@comment $NetBSD: PLIST,v 1.16 2016/10/29 19:41:54 adam Exp $
man/man1/clusterdb.1
man/man1/createdb.1
man/man1/createlang.1
@@ -1077,6 +1077,7 @@ share/doc/postgresql/html/release-9-1-2.html
share/doc/postgresql/html/release-9-1-21.html
share/doc/postgresql/html/release-9-1-22.html
share/doc/postgresql/html/release-9-1-23.html
+share/doc/postgresql/html/release-9-1-24.html
share/doc/postgresql/html/release-9-1-3.html
share/doc/postgresql/html/release-9-1-4.html
share/doc/postgresql/html/release-9-1-5.html
@@ -1095,6 +1096,7 @@ share/doc/postgresql/html/release-9-2-14.html
share/doc/postgresql/html/release-9-2-16.html
share/doc/postgresql/html/release-9-2-17.html
share/doc/postgresql/html/release-9-2-18.html
+share/doc/postgresql/html/release-9-2-19.html
share/doc/postgresql/html/release-9-2-2.html
share/doc/postgresql/html/release-9-2-3.html
share/doc/postgresql/html/release-9-2-4.html
@@ -1110,6 +1112,7 @@ share/doc/postgresql/html/release-9-3-11.html
share/doc/postgresql/html/release-9-3-12.html
share/doc/postgresql/html/release-9-3-13.html
share/doc/postgresql/html/release-9-3-14.html
+share/doc/postgresql/html/release-9-3-15.html
share/doc/postgresql/html/release-9-3-2.html
share/doc/postgresql/html/release-9-3-3.html
share/doc/postgresql/html/release-9-3-4.html
diff --git a/databases/postgresql93-server/PLIST b/databases/postgresql93-server/PLIST
index 61928401b53..efad17a986a 100644
--- a/databases/postgresql93-server/PLIST
+++ b/databases/postgresql93-server/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2016/05/23 14:27:35 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2016/10/29 19:41:54 adam Exp $
bin/postgres
bin/postmaster
include/postgresql/server/plpgsql.h
@@ -393,6 +393,7 @@ share/postgresql/timezone/Asia/Ust-Nera
share/postgresql/timezone/Asia/Vientiane
share/postgresql/timezone/Asia/Vladivostok
share/postgresql/timezone/Asia/Yakutsk
+share/postgresql/timezone/Asia/Yangon
share/postgresql/timezone/Asia/Yekaterinburg
share/postgresql/timezone/Asia/Yerevan
share/postgresql/timezone/Atlantic/Azores
diff --git a/databases/postgresql93/Makefile.common b/databases/postgresql93/Makefile.common
index d5f1ae558bc..3c6d8f89d89 100644
--- a/databases/postgresql93/Makefile.common
+++ b/databases/postgresql93/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.21 2016/08/23 06:28:15 adam Exp $
+# $NetBSD: Makefile.common,v 1.22 2016/10/29 19:41:54 adam Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -16,7 +16,7 @@
# used by databases/postgresql93-pltcl/Makefile
# used by databases/postgresql93-server/Makefile
-DISTNAME= postgresql-9.3.14
+DISTNAME= postgresql-9.3.15
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/}
EXTRACT_SUFX= .tar.bz2
diff --git a/databases/postgresql93/distinfo b/databases/postgresql93/distinfo
index 899d2fc0293..b06bf9d0f6f 100644
--- a/databases/postgresql93/distinfo
+++ b/databases/postgresql93/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.20 2016/08/23 06:28:15 adam Exp $
+$NetBSD: distinfo,v 1.21 2016/10/29 19:41:54 adam Exp $
-SHA1 (postgresql-9.3.14.tar.bz2) = a07cc4d1fd0fdd5ced85b75d821e1eec8eb9cb55
-RMD160 (postgresql-9.3.14.tar.bz2) = e7b6899874901d27f227524039c63823b0d23924
-SHA512 (postgresql-9.3.14.tar.bz2) = 97bd92ffdd661f7428c47a8bc87fde88a2b150e7d08bd577a7159ac65aec319d358495b883b95dff2069d24a8d15d1e7c10c3fae81fc76186bfef0127f257ac4
-Size (postgresql-9.3.14.tar.bz2) = 17042199 bytes
+SHA1 (postgresql-9.3.15.tar.bz2) = 8f04a3e71eded0e44086bae94be6205c246f2f89
+RMD160 (postgresql-9.3.15.tar.bz2) = b1c613167aa612ab0ea9fd1d17d0a7570662d6a8
+SHA512 (postgresql-9.3.15.tar.bz2) = 35c30cdb5599f99c94ab921f9f5e7671a8c0b7bca8fe3b616630ae13d6eda8d329e77e7e802da6a83cb09c3c9ca10fa8ce0de8a184e6fff471130e1cd68ce762
+Size (postgresql-9.3.15.tar.bz2) = 17059932 bytes
SHA1 (patch-config_missing) = c2d7d742922ba6861e7660c75b7b53f09e564813
SHA1 (patch-config_perl.m4) = e035132b1c281a75752d570ac5e29a11176c25c5
SHA1 (patch-configure) = 3de7635fe18532a05a619941fecad7bcda6c51b9
diff --git a/databases/postgresql94-docs/PLIST b/databases/postgresql94-docs/PLIST
index 2da07b0b391..65f5f6f9416 100644
--- a/databases/postgresql94-docs/PLIST
+++ b/databases/postgresql94-docs/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2016/08/14 16:56:30 is Exp $
+@comment $NetBSD: PLIST,v 1.11 2016/10/29 19:41:54 adam Exp $
man/man1/clusterdb.1
man/man1/createdb.1
man/man1/createlang.1
@@ -1097,6 +1097,7 @@ share/doc/postgresql/html/release-9-1-2.html
share/doc/postgresql/html/release-9-1-21.html
share/doc/postgresql/html/release-9-1-22.html
share/doc/postgresql/html/release-9-1-23.html
+share/doc/postgresql/html/release-9-1-24.html
share/doc/postgresql/html/release-9-1-3.html
share/doc/postgresql/html/release-9-1-4.html
share/doc/postgresql/html/release-9-1-5.html
@@ -1115,6 +1116,7 @@ share/doc/postgresql/html/release-9-2-15.html
share/doc/postgresql/html/release-9-2-16.html
share/doc/postgresql/html/release-9-2-17.html
share/doc/postgresql/html/release-9-2-18.html
+share/doc/postgresql/html/release-9-2-19.html
share/doc/postgresql/html/release-9-2-2.html
share/doc/postgresql/html/release-9-2-3.html
share/doc/postgresql/html/release-9-2-4.html
@@ -1130,6 +1132,7 @@ share/doc/postgresql/html/release-9-3-11.html
share/doc/postgresql/html/release-9-3-12.html
share/doc/postgresql/html/release-9-3-13.html
share/doc/postgresql/html/release-9-3-14.html
+share/doc/postgresql/html/release-9-3-15.html
share/doc/postgresql/html/release-9-3-2.html
share/doc/postgresql/html/release-9-3-3.html
share/doc/postgresql/html/release-9-3-4.html
@@ -1140,6 +1143,7 @@ share/doc/postgresql/html/release-9-3-8.html
share/doc/postgresql/html/release-9-3-9.html
share/doc/postgresql/html/release-9-3.html
share/doc/postgresql/html/release-9-4-1.html
+share/doc/postgresql/html/release-9-4-10.html
share/doc/postgresql/html/release-9-4-2.html
share/doc/postgresql/html/release-9-4-3.html
share/doc/postgresql/html/release-9-4-4.html
diff --git a/databases/postgresql94-server/PLIST b/databases/postgresql94-server/PLIST
index 4288e8cb728..4d5c670ce49 100644
--- a/databases/postgresql94-server/PLIST
+++ b/databases/postgresql94-server/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2016/05/23 14:27:35 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2016/10/29 19:41:54 adam Exp $
bin/postgres
bin/postmaster
include/postgresql/server/plpgsql.h
@@ -393,6 +393,7 @@ share/postgresql/timezone/Asia/Ust-Nera
share/postgresql/timezone/Asia/Vientiane
share/postgresql/timezone/Asia/Vladivostok
share/postgresql/timezone/Asia/Yakutsk
+share/postgresql/timezone/Asia/Yangon
share/postgresql/timezone/Asia/Yekaterinburg
share/postgresql/timezone/Asia/Yerevan
share/postgresql/timezone/Atlantic/Azores
diff --git a/databases/postgresql94/Makefile.common b/databases/postgresql94/Makefile.common
index ba8b4431d4e..c45633bd1a5 100644
--- a/databases/postgresql94/Makefile.common
+++ b/databases/postgresql94/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.13 2016/08/14 16:56:29 is Exp $
+# $NetBSD: Makefile.common,v 1.14 2016/10/29 19:41:54 adam Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -16,7 +16,7 @@
# used by databases/postgresql94-pltcl/Makefile
# used by databases/postgresql94-server/Makefile
-DISTNAME= postgresql-9.4.9
+DISTNAME= postgresql-9.4.10
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/}
EXTRACT_SUFX= .tar.bz2
diff --git a/databases/postgresql94/distinfo b/databases/postgresql94/distinfo
index 5b0796ed22b..855d0c0e8d0 100644
--- a/databases/postgresql94/distinfo
+++ b/databases/postgresql94/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.12 2016/08/14 16:56:29 is Exp $
+$NetBSD: distinfo,v 1.13 2016/10/29 19:41:54 adam Exp $
-SHA1 (postgresql-9.4.9.tar.bz2) = a8e6130576ff7b8876e71497f18cdfeb89bb6fc0
-RMD160 (postgresql-9.4.9.tar.bz2) = e217f7fd127c82aa8afa52b1b167188fc1b4d585
-SHA512 (postgresql-9.4.9.tar.bz2) = 980b1a8828d07151e67793367ea0ee08e4231cd76d9b20b4f4bca08a7976ee82a3aea51ce801a4107680c8203f8ebdb4cf5a0a6aaf93d580c9f337658d50819b
-Size (postgresql-9.4.9.tar.bz2) = 17763281 bytes
+SHA1 (postgresql-9.4.10.tar.bz2) = d1ebec7f076a6b9de29d7f726b0932ac542f2bd1
+RMD160 (postgresql-9.4.10.tar.bz2) = 40d7b38f3bce9e5404825c653e9bb2b851f84374
+SHA512 (postgresql-9.4.10.tar.bz2) = 2fcf47769b22c69bc82c9d6edc317e18dfcb4a96534e012bae4355e5088afa83da98b21e08a07766794f0a166888acbd16705a806464ea11711ed97c3b4012fb
+Size (postgresql-9.4.10.tar.bz2) = 17802812 bytes
SHA1 (patch-config_missing) = c2d7d742922ba6861e7660c75b7b53f09e564813
SHA1 (patch-config_perl.m4) = e035132b1c281a75752d570ac5e29a11176c25c5
SHA1 (patch-configure) = 59fe9a768caf8a5d308acac60c28bc6bb2c40632
diff --git a/databases/postgresql95-docs/PLIST b/databases/postgresql95-docs/PLIST
index 6f368caf21c..4fe1f9e2863 100644
--- a/databases/postgresql95-docs/PLIST
+++ b/databases/postgresql95-docs/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2016/08/23 06:28:16 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2016/10/29 19:41:54 adam Exp $
man/man1/clusterdb.1
man/man1/createdb.1
man/man1/createlang.1
@@ -1118,6 +1118,7 @@ share/doc/postgresql/html/release-9-1-20.html
share/doc/postgresql/html/release-9-1-21.html
share/doc/postgresql/html/release-9-1-22.html
share/doc/postgresql/html/release-9-1-23.html
+share/doc/postgresql/html/release-9-1-24.html
share/doc/postgresql/html/release-9-1-3.html
share/doc/postgresql/html/release-9-1-4.html
share/doc/postgresql/html/release-9-1-5.html
@@ -1136,6 +1137,7 @@ share/doc/postgresql/html/release-9-2-15.html
share/doc/postgresql/html/release-9-2-16.html
share/doc/postgresql/html/release-9-2-17.html
share/doc/postgresql/html/release-9-2-18.html
+share/doc/postgresql/html/release-9-2-19.html
share/doc/postgresql/html/release-9-2-2.html
share/doc/postgresql/html/release-9-2-3.html
share/doc/postgresql/html/release-9-2-4.html
@@ -1151,6 +1153,7 @@ share/doc/postgresql/html/release-9-3-11.html
share/doc/postgresql/html/release-9-3-12.html
share/doc/postgresql/html/release-9-3-13.html
share/doc/postgresql/html/release-9-3-14.html
+share/doc/postgresql/html/release-9-3-15.html
share/doc/postgresql/html/release-9-3-2.html
share/doc/postgresql/html/release-9-3-3.html
share/doc/postgresql/html/release-9-3-4.html
@@ -1161,6 +1164,7 @@ share/doc/postgresql/html/release-9-3-8.html
share/doc/postgresql/html/release-9-3-9.html
share/doc/postgresql/html/release-9-3.html
share/doc/postgresql/html/release-9-4-1.html
+share/doc/postgresql/html/release-9-4-10.html
share/doc/postgresql/html/release-9-4-2.html
share/doc/postgresql/html/release-9-4-3.html
share/doc/postgresql/html/release-9-4-4.html
@@ -1174,6 +1178,7 @@ share/doc/postgresql/html/release-9-5-1.html
share/doc/postgresql/html/release-9-5-2.html
share/doc/postgresql/html/release-9-5-3.html
share/doc/postgresql/html/release-9-5-4.html
+share/doc/postgresql/html/release-9-5-5.html
share/doc/postgresql/html/release-9-5.html
share/doc/postgresql/html/release.html
share/doc/postgresql/html/replication-origins.html
diff --git a/databases/postgresql95-server/PLIST b/databases/postgresql95-server/PLIST
index ed76477b4b9..3017c597de5 100644
--- a/databases/postgresql95-server/PLIST
+++ b/databases/postgresql95-server/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2016/05/23 14:27:35 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2016/10/29 19:41:54 adam Exp $
bin/postgres
bin/postmaster
include/postgresql/server/plpgsql.h
@@ -394,6 +394,7 @@ share/postgresql/timezone/Asia/Ust-Nera
share/postgresql/timezone/Asia/Vientiane
share/postgresql/timezone/Asia/Vladivostok
share/postgresql/timezone/Asia/Yakutsk
+share/postgresql/timezone/Asia/Yangon
share/postgresql/timezone/Asia/Yekaterinburg
share/postgresql/timezone/Asia/Yerevan
share/postgresql/timezone/Atlantic/Azores
diff --git a/databases/postgresql95/Makefile.common b/databases/postgresql95/Makefile.common
index b793ea01467..e1158680e5c 100644
--- a/databases/postgresql95/Makefile.common
+++ b/databases/postgresql95/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2016/08/23 06:28:16 adam Exp $
+# $NetBSD: Makefile.common,v 1.7 2016/10/29 19:41:54 adam Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -16,7 +16,7 @@
# used by databases/postgresql95-pltcl/Makefile
# used by databases/postgresql95-server/Makefile
-DISTNAME= postgresql-9.5.4
+DISTNAME= postgresql-9.5.5
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/}
EXTRACT_SUFX= .tar.bz2
diff --git a/databases/postgresql95/distinfo b/databases/postgresql95/distinfo
index 9e4de4fe239..cae9dcece03 100644
--- a/databases/postgresql95/distinfo
+++ b/databases/postgresql95/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.4 2016/08/23 06:28:16 adam Exp $
+$NetBSD: distinfo,v 1.5 2016/10/29 19:41:54 adam Exp $
-SHA1 (postgresql-9.5.4.tar.bz2) = bdbbecf691354a689c599631256d41eaa8824c66
-RMD160 (postgresql-9.5.4.tar.bz2) = 496a4bb2b1417361a9880bfe527a77865f9c88e1
-SHA512 (postgresql-9.5.4.tar.bz2) = e5220bc967443d54b9dcff7ba5aefccedbe1c219f953eb0d67254c709d52b0e647d1dc473446640804165b596fc5b75fa4ff8d63696123b87d8096c3a7795c34
-Size (postgresql-9.5.4.tar.bz2) = 18496299 bytes
+SHA1 (postgresql-9.5.5.tar.bz2) = daf67622692f066d78150a2c4ffae1ec6568ced8
+RMD160 (postgresql-9.5.5.tar.bz2) = 87a90023bdae604f1356e9f0e5a9b7f4c333c847
+SHA512 (postgresql-9.5.5.tar.bz2) = 727ab57796cd393ec3755e9aabf515ebbdc3152b4062c20e64511e866a7e7038ba5c5e2843f13f3a79e2263296451f0e93108346b6f638611fba2449394e338e
+Size (postgresql-9.5.5.tar.bz2) = 18525082 bytes
SHA1 (patch-config_missing) = c2d7d742922ba6861e7660c75b7b53f09e564813
SHA1 (patch-config_perl.m4) = e035132b1c281a75752d570ac5e29a11176c25c5
SHA1 (patch-configure) = 59fe9a768caf8a5d308acac60c28bc6bb2c40632
diff --git a/databases/postgresql96-client/DESCR b/databases/postgresql96-client/DESCR
new file mode 100644
index 00000000000..a485664e6f1
--- /dev/null
+++ b/databases/postgresql96-client/DESCR
@@ -0,0 +1,9 @@
+PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS),
+derived from the Berkeley Postgres database management system. While
+PostgreSQL retains the powerful object-relational data model, rich data types
+and easy extensibility of Postgres, it replaces the PostQuel query language
+with an extended subset of SQL.
+
+PostgreSQL is free and the complete source is available.
+
+This package contains the database client programs.
diff --git a/databases/postgresql96-client/Makefile b/databases/postgresql96-client/Makefile
new file mode 100644
index 00000000000..7bf0b9ebf08
--- /dev/null
+++ b/databases/postgresql96-client/Makefile
@@ -0,0 +1,87 @@
+# $NetBSD: Makefile,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+PKGNAME= ${DISTNAME:C/-/96-client-/}
+COMMENT= PostgreSQL database client programs
+
+.include "../../databases/postgresql96/Makefile.common"
+
+USE_TOOLS+= gzip tar
+CONFIGURE_ARGS+= --with-openssl
+CONFIGURE_ARGS+= --with-zlib
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Cygwin"
+INSTALLATION_DIRS+= bin
+.endif
+
+# 1. The thread-safety test in ${WRSRC}/src/tools/thread does not pass on
+# NetBSD earlier than 4.0 or DragonFly.
+# 2. configure with --enable-thread-safety fails on OpenBSD.
+.if (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[0-3].*)) || \
+ ${OPSYS} == "DragonFly" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "MirBSD"
+PGSQL_THREAD_SAFETY?= no
+.endif
+PGSQL_THREAD_SAFETY?= yes
+BUILD_DEFS+= PGSQL_THREAD_SAFETY
+
+.if !empty(PGSQL_THREAD_SAFETY:M[yY][eE][sS])
+. include "../../mk/pthread.buildlink3.mk"
+. if (${PTHREAD_TYPE} == "native")
+CONFIGURE_ARGS+= --enable-thread-safety
+. endif
+.else
+CONFIGURE_ARGS+= --disable-thread-safety
+.endif
+
+INSTALL_DIRS= src/include
+INSTALL_DIRS+= src/common
+INSTALL_DIRS+= src/interfaces
+INSTALL_DIRS+= src/bin
+INSTALL_DIRS+= src/port
+BUILD_DIRS= ${INSTALL_DIRS}
+# Without this, the Darwin build fails (related to -bundle_loader).
+BUILD_DIRS+= src/backend
+
+.for f in pg_service.conf psqlrc
+CONF_FILES+= share/postgresql/${f}.sample ${PKG_SYSCONFDIR}/${f}
+.endfor
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+
+SUBST_CLASSES+= pgxs
+SUBST_STAGE.pgxs= post-build
+SUBST_MESSAGE.pgxs= Fixing workdir tools references in pgxs Makefile
+SUBST_FILES.pgxs= src/Makefile.global
+SUBST_SED.pgxs= -e 's,${TOOLS_CMD.bison},${TOOLS_PATH.bison},'
+SUBST_SED.pgxs+= -e 's,${TOOLS_CMD.lex},${TOOLS_PATH.lex},'
+SUBST_SED.pgxs+= -e 's,${TOOLS_CMD.mkdir},${TOOLS_PATH.mkdir},'
+SUBST_SED.pgxs+= -e 's,${WRKDIR}/.wrapper/bin/ld,${LD},'
+SUBST_SED.pgxs+= -e 's,${WRKDIR}/.wrapper,${PREFIX},'
+SUBST_SED.pgxs+= -e 's,${WRKSRC},/dev/null,'
+
+INSTALLATION_DIRS+= lib/postgresql/pgxs
+INSTALLATION_DIRS+= lib/postgresql/pgxs/config
+INSTALLATION_DIRS+= lib/postgresql/pgxs/src
+INSTALLATION_DIRS+= lib/postgresql/pgxs/src/makefiles
+
+DEST_PGXS= ${DESTDIR}${PREFIX}/lib/postgresql/pgxs
+PGXS_FILES= config/install-sh
+PGXS_FILES+= src/makefiles/pgxs.mk src/Makefile.global
+PGXS_FILES+= src/Makefile.port src/Makefile.shlib
+PGXS_FILES+= src/nls-global.mk
+
+# On Solaris, avoid conflicts between "${SSLBASE}/include/openssl/des.h"
+# and "/usr/include/crypt.h" -- we want the definitions in the former.
+.if ${OPSYS} == "SunOS"
+post-wrapper:
+ touch ${BUILDLINK_DIR}/include/crypt.h
+.endif
+
+post-install:
+.for file in ${PGXS_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DEST_PGXS}/${file}
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql96-client/PLIST b/databases/postgresql96-client/PLIST
new file mode 100644
index 00000000000..48e08662fa2
--- /dev/null
+++ b/databases/postgresql96-client/PLIST
@@ -0,0 +1,856 @@
+@comment $NetBSD: PLIST,v 1.1 2016/10/29 19:41:55 adam Exp $
+bin/clusterdb
+bin/createdb
+bin/createlang
+bin/createuser
+bin/dropdb
+bin/droplang
+bin/dropuser
+bin/ecpg
+bin/initdb
+bin/pg_archivecleanup
+bin/pg_basebackup
+bin/pg_config
+bin/pg_controldata
+bin/pg_ctl
+bin/pg_dump
+bin/pg_dumpall
+bin/pg_isready
+bin/pg_receivexlog
+bin/pg_recvlogical
+bin/pg_resetxlog
+bin/pg_restore
+bin/pg_rewind
+bin/pg_test_fsync
+bin/pg_test_timing
+bin/pg_upgrade
+bin/pg_xlogdump
+bin/pgbench
+bin/psql
+bin/reindexdb
+bin/vacuumdb
+include/ecpg_config.h
+include/ecpg_informix.h
+include/ecpgerrno.h
+include/ecpglib.h
+include/ecpgtype.h
+include/libpq-events.h
+include/libpq-fe.h
+include/libpq/libpq-fs.h
+include/pg_config.h
+include/pg_config_ext.h
+include/pg_config_manual.h
+include/pg_config_os.h
+include/pgtypes_date.h
+include/pgtypes_error.h
+include/pgtypes_interval.h
+include/pgtypes_numeric.h
+include/pgtypes_timestamp.h
+include/postgres_ext.h
+include/postgresql/informix/esql/datetime.h
+include/postgresql/informix/esql/decimal.h
+include/postgresql/informix/esql/sqltypes.h
+include/postgresql/internal/c.h
+include/postgresql/internal/libpq-int.h
+include/postgresql/internal/libpq/pqcomm.h
+include/postgresql/internal/port.h
+include/postgresql/internal/postgres_fe.h
+include/postgresql/internal/pqexpbuffer.h
+include/postgresql/server/access/amapi.h
+include/postgresql/server/access/amvalidate.h
+include/postgresql/server/access/attnum.h
+include/postgresql/server/access/brin.h
+include/postgresql/server/access/brin_internal.h
+include/postgresql/server/access/brin_page.h
+include/postgresql/server/access/brin_pageops.h
+include/postgresql/server/access/brin_revmap.h
+include/postgresql/server/access/brin_tuple.h
+include/postgresql/server/access/brin_xlog.h
+include/postgresql/server/access/clog.h
+include/postgresql/server/access/commit_ts.h
+include/postgresql/server/access/genam.h
+include/postgresql/server/access/generic_xlog.h
+include/postgresql/server/access/gin.h
+include/postgresql/server/access/gin_private.h
+include/postgresql/server/access/gist.h
+include/postgresql/server/access/gist_private.h
+include/postgresql/server/access/gistscan.h
+include/postgresql/server/access/hash.h
+include/postgresql/server/access/heapam.h
+include/postgresql/server/access/heapam_xlog.h
+include/postgresql/server/access/hio.h
+include/postgresql/server/access/htup.h
+include/postgresql/server/access/htup_details.h
+include/postgresql/server/access/itup.h
+include/postgresql/server/access/multixact.h
+include/postgresql/server/access/nbtree.h
+include/postgresql/server/access/parallel.h
+include/postgresql/server/access/printtup.h
+include/postgresql/server/access/reloptions.h
+include/postgresql/server/access/relscan.h
+include/postgresql/server/access/rewriteheap.h
+include/postgresql/server/access/rmgr.h
+include/postgresql/server/access/rmgrlist.h
+include/postgresql/server/access/sdir.h
+include/postgresql/server/access/skey.h
+include/postgresql/server/access/slru.h
+include/postgresql/server/access/spgist.h
+include/postgresql/server/access/spgist_private.h
+include/postgresql/server/access/stratnum.h
+include/postgresql/server/access/subtrans.h
+include/postgresql/server/access/sysattr.h
+include/postgresql/server/access/timeline.h
+include/postgresql/server/access/transam.h
+include/postgresql/server/access/tsmapi.h
+include/postgresql/server/access/tupconvert.h
+include/postgresql/server/access/tupdesc.h
+include/postgresql/server/access/tupmacs.h
+include/postgresql/server/access/tuptoaster.h
+include/postgresql/server/access/twophase.h
+include/postgresql/server/access/twophase_rmgr.h
+include/postgresql/server/access/valid.h
+include/postgresql/server/access/visibilitymap.h
+include/postgresql/server/access/xact.h
+include/postgresql/server/access/xlog.h
+include/postgresql/server/access/xlog_fn.h
+include/postgresql/server/access/xlog_internal.h
+include/postgresql/server/access/xlogdefs.h
+include/postgresql/server/access/xloginsert.h
+include/postgresql/server/access/xlogreader.h
+include/postgresql/server/access/xlogrecord.h
+include/postgresql/server/access/xlogutils.h
+include/postgresql/server/bootstrap/bootstrap.h
+include/postgresql/server/c.h
+include/postgresql/server/catalog/binary_upgrade.h
+include/postgresql/server/catalog/catalog.h
+include/postgresql/server/catalog/catversion.h
+include/postgresql/server/catalog/dependency.h
+include/postgresql/server/catalog/genbki.h
+include/postgresql/server/catalog/heap.h
+include/postgresql/server/catalog/index.h
+include/postgresql/server/catalog/indexing.h
+include/postgresql/server/catalog/namespace.h
+include/postgresql/server/catalog/objectaccess.h
+include/postgresql/server/catalog/objectaddress.h
+include/postgresql/server/catalog/opfam_internal.h
+include/postgresql/server/catalog/pg_aggregate.h
+include/postgresql/server/catalog/pg_am.h
+include/postgresql/server/catalog/pg_amop.h
+include/postgresql/server/catalog/pg_amproc.h
+include/postgresql/server/catalog/pg_attrdef.h
+include/postgresql/server/catalog/pg_attribute.h
+include/postgresql/server/catalog/pg_auth_members.h
+include/postgresql/server/catalog/pg_authid.h
+include/postgresql/server/catalog/pg_cast.h
+include/postgresql/server/catalog/pg_class.h
+include/postgresql/server/catalog/pg_collation.h
+include/postgresql/server/catalog/pg_collation_fn.h
+include/postgresql/server/catalog/pg_constraint.h
+include/postgresql/server/catalog/pg_constraint_fn.h
+include/postgresql/server/catalog/pg_control.h
+include/postgresql/server/catalog/pg_conversion.h
+include/postgresql/server/catalog/pg_conversion_fn.h
+include/postgresql/server/catalog/pg_database.h
+include/postgresql/server/catalog/pg_db_role_setting.h
+include/postgresql/server/catalog/pg_default_acl.h
+include/postgresql/server/catalog/pg_depend.h
+include/postgresql/server/catalog/pg_description.h
+include/postgresql/server/catalog/pg_enum.h
+include/postgresql/server/catalog/pg_event_trigger.h
+include/postgresql/server/catalog/pg_extension.h
+include/postgresql/server/catalog/pg_foreign_data_wrapper.h
+include/postgresql/server/catalog/pg_foreign_server.h
+include/postgresql/server/catalog/pg_foreign_table.h
+include/postgresql/server/catalog/pg_index.h
+include/postgresql/server/catalog/pg_inherits.h
+include/postgresql/server/catalog/pg_inherits_fn.h
+include/postgresql/server/catalog/pg_init_privs.h
+include/postgresql/server/catalog/pg_language.h
+include/postgresql/server/catalog/pg_largeobject.h
+include/postgresql/server/catalog/pg_largeobject_metadata.h
+include/postgresql/server/catalog/pg_namespace.h
+include/postgresql/server/catalog/pg_opclass.h
+include/postgresql/server/catalog/pg_operator.h
+include/postgresql/server/catalog/pg_operator_fn.h
+include/postgresql/server/catalog/pg_opfamily.h
+include/postgresql/server/catalog/pg_pltemplate.h
+include/postgresql/server/catalog/pg_policy.h
+include/postgresql/server/catalog/pg_proc.h
+include/postgresql/server/catalog/pg_proc_fn.h
+include/postgresql/server/catalog/pg_range.h
+include/postgresql/server/catalog/pg_replication_origin.h
+include/postgresql/server/catalog/pg_rewrite.h
+include/postgresql/server/catalog/pg_seclabel.h
+include/postgresql/server/catalog/pg_shdepend.h
+include/postgresql/server/catalog/pg_shdescription.h
+include/postgresql/server/catalog/pg_shseclabel.h
+include/postgresql/server/catalog/pg_statistic.h
+include/postgresql/server/catalog/pg_tablespace.h
+include/postgresql/server/catalog/pg_transform.h
+include/postgresql/server/catalog/pg_trigger.h
+include/postgresql/server/catalog/pg_ts_config.h
+include/postgresql/server/catalog/pg_ts_config_map.h
+include/postgresql/server/catalog/pg_ts_dict.h
+include/postgresql/server/catalog/pg_ts_parser.h
+include/postgresql/server/catalog/pg_ts_template.h
+include/postgresql/server/catalog/pg_type.h
+include/postgresql/server/catalog/pg_type_fn.h
+include/postgresql/server/catalog/pg_user_mapping.h
+include/postgresql/server/catalog/schemapg.h
+include/postgresql/server/catalog/storage.h
+include/postgresql/server/catalog/storage_xlog.h
+include/postgresql/server/catalog/toasting.h
+include/postgresql/server/commands/alter.h
+include/postgresql/server/commands/async.h
+include/postgresql/server/commands/cluster.h
+include/postgresql/server/commands/collationcmds.h
+include/postgresql/server/commands/comment.h
+include/postgresql/server/commands/conversioncmds.h
+include/postgresql/server/commands/copy.h
+include/postgresql/server/commands/createas.h
+include/postgresql/server/commands/dbcommands.h
+include/postgresql/server/commands/dbcommands_xlog.h
+include/postgresql/server/commands/defrem.h
+include/postgresql/server/commands/discard.h
+include/postgresql/server/commands/event_trigger.h
+include/postgresql/server/commands/explain.h
+include/postgresql/server/commands/extension.h
+include/postgresql/server/commands/lockcmds.h
+include/postgresql/server/commands/matview.h
+include/postgresql/server/commands/policy.h
+include/postgresql/server/commands/portalcmds.h
+include/postgresql/server/commands/prepare.h
+include/postgresql/server/commands/proclang.h
+include/postgresql/server/commands/progress.h
+include/postgresql/server/commands/schemacmds.h
+include/postgresql/server/commands/seclabel.h
+include/postgresql/server/commands/sequence.h
+include/postgresql/server/commands/tablecmds.h
+include/postgresql/server/commands/tablespace.h
+include/postgresql/server/commands/trigger.h
+include/postgresql/server/commands/typecmds.h
+include/postgresql/server/commands/user.h
+include/postgresql/server/commands/vacuum.h
+include/postgresql/server/commands/variable.h
+include/postgresql/server/commands/view.h
+include/postgresql/server/common/config_info.h
+include/postgresql/server/common/controldata_utils.h
+include/postgresql/server/common/fe_memutils.h
+include/postgresql/server/common/keywords.h
+include/postgresql/server/common/pg_lzcompress.h
+include/postgresql/server/common/relpath.h
+include/postgresql/server/common/restricted_token.h
+include/postgresql/server/common/string.h
+include/postgresql/server/common/username.h
+include/postgresql/server/datatype/timestamp.h
+include/postgresql/server/dynloader.h
+include/postgresql/server/executor/execParallel.h
+include/postgresql/server/executor/execdebug.h
+include/postgresql/server/executor/execdesc.h
+include/postgresql/server/executor/executor.h
+include/postgresql/server/executor/functions.h
+include/postgresql/server/executor/hashjoin.h
+include/postgresql/server/executor/instrument.h
+include/postgresql/server/executor/nodeAgg.h
+include/postgresql/server/executor/nodeAppend.h
+include/postgresql/server/executor/nodeBitmapAnd.h
+include/postgresql/server/executor/nodeBitmapHeapscan.h
+include/postgresql/server/executor/nodeBitmapIndexscan.h
+include/postgresql/server/executor/nodeBitmapOr.h
+include/postgresql/server/executor/nodeCtescan.h
+include/postgresql/server/executor/nodeCustom.h
+include/postgresql/server/executor/nodeForeignscan.h
+include/postgresql/server/executor/nodeFunctionscan.h
+include/postgresql/server/executor/nodeGather.h
+include/postgresql/server/executor/nodeGroup.h
+include/postgresql/server/executor/nodeHash.h
+include/postgresql/server/executor/nodeHashjoin.h
+include/postgresql/server/executor/nodeIndexonlyscan.h
+include/postgresql/server/executor/nodeIndexscan.h
+include/postgresql/server/executor/nodeLimit.h
+include/postgresql/server/executor/nodeLockRows.h
+include/postgresql/server/executor/nodeMaterial.h
+include/postgresql/server/executor/nodeMergeAppend.h
+include/postgresql/server/executor/nodeMergejoin.h
+include/postgresql/server/executor/nodeModifyTable.h
+include/postgresql/server/executor/nodeNestloop.h
+include/postgresql/server/executor/nodeRecursiveunion.h
+include/postgresql/server/executor/nodeResult.h
+include/postgresql/server/executor/nodeSamplescan.h
+include/postgresql/server/executor/nodeSeqscan.h
+include/postgresql/server/executor/nodeSetOp.h
+include/postgresql/server/executor/nodeSort.h
+include/postgresql/server/executor/nodeSubplan.h
+include/postgresql/server/executor/nodeSubqueryscan.h
+include/postgresql/server/executor/nodeTidscan.h
+include/postgresql/server/executor/nodeUnique.h
+include/postgresql/server/executor/nodeValuesscan.h
+include/postgresql/server/executor/nodeWindowAgg.h
+include/postgresql/server/executor/nodeWorktablescan.h
+include/postgresql/server/executor/spi.h
+include/postgresql/server/executor/spi_priv.h
+include/postgresql/server/executor/tqueue.h
+include/postgresql/server/executor/tstoreReceiver.h
+include/postgresql/server/executor/tuptable.h
+include/postgresql/server/fe_utils/mbprint.h
+include/postgresql/server/fe_utils/print.h
+include/postgresql/server/fe_utils/psqlscan.h
+include/postgresql/server/fe_utils/psqlscan_int.h
+include/postgresql/server/fe_utils/simple_list.h
+include/postgresql/server/fe_utils/string_utils.h
+include/postgresql/server/fmgr.h
+include/postgresql/server/foreign/fdwapi.h
+include/postgresql/server/foreign/foreign.h
+include/postgresql/server/funcapi.h
+include/postgresql/server/getaddrinfo.h
+include/postgresql/server/getopt_long.h
+include/postgresql/server/lib/binaryheap.h
+include/postgresql/server/lib/bipartite_match.h
+include/postgresql/server/lib/hyperloglog.h
+include/postgresql/server/lib/ilist.h
+include/postgresql/server/lib/pairingheap.h
+include/postgresql/server/lib/rbtree.h
+include/postgresql/server/lib/stringinfo.h
+include/postgresql/server/libpq/auth.h
+include/postgresql/server/libpq/be-fsstubs.h
+include/postgresql/server/libpq/crypt.h
+include/postgresql/server/libpq/hba.h
+include/postgresql/server/libpq/ip.h
+include/postgresql/server/libpq/libpq-be.h
+include/postgresql/server/libpq/libpq-fs.h
+include/postgresql/server/libpq/libpq.h
+include/postgresql/server/libpq/md5.h
+include/postgresql/server/libpq/pqcomm.h
+include/postgresql/server/libpq/pqformat.h
+include/postgresql/server/libpq/pqmq.h
+include/postgresql/server/libpq/pqsignal.h
+include/postgresql/server/mb/pg_wchar.h
+include/postgresql/server/miscadmin.h
+include/postgresql/server/nodes/bitmapset.h
+include/postgresql/server/nodes/execnodes.h
+include/postgresql/server/nodes/extensible.h
+include/postgresql/server/nodes/lockoptions.h
+include/postgresql/server/nodes/makefuncs.h
+include/postgresql/server/nodes/memnodes.h
+include/postgresql/server/nodes/nodeFuncs.h
+include/postgresql/server/nodes/nodes.h
+include/postgresql/server/nodes/params.h
+include/postgresql/server/nodes/parsenodes.h
+include/postgresql/server/nodes/pg_list.h
+include/postgresql/server/nodes/plannodes.h
+include/postgresql/server/nodes/primnodes.h
+include/postgresql/server/nodes/print.h
+include/postgresql/server/nodes/readfuncs.h
+include/postgresql/server/nodes/relation.h
+include/postgresql/server/nodes/replnodes.h
+include/postgresql/server/nodes/tidbitmap.h
+include/postgresql/server/nodes/value.h
+include/postgresql/server/optimizer/clauses.h
+include/postgresql/server/optimizer/cost.h
+include/postgresql/server/optimizer/geqo.h
+include/postgresql/server/optimizer/geqo_copy.h
+include/postgresql/server/optimizer/geqo_gene.h
+include/postgresql/server/optimizer/geqo_misc.h
+include/postgresql/server/optimizer/geqo_mutation.h
+include/postgresql/server/optimizer/geqo_pool.h
+include/postgresql/server/optimizer/geqo_random.h
+include/postgresql/server/optimizer/geqo_recombination.h
+include/postgresql/server/optimizer/geqo_selection.h
+include/postgresql/server/optimizer/joininfo.h
+include/postgresql/server/optimizer/orclauses.h
+include/postgresql/server/optimizer/pathnode.h
+include/postgresql/server/optimizer/paths.h
+include/postgresql/server/optimizer/placeholder.h
+include/postgresql/server/optimizer/plancat.h
+include/postgresql/server/optimizer/planmain.h
+include/postgresql/server/optimizer/planner.h
+include/postgresql/server/optimizer/predtest.h
+include/postgresql/server/optimizer/prep.h
+include/postgresql/server/optimizer/restrictinfo.h
+include/postgresql/server/optimizer/subselect.h
+include/postgresql/server/optimizer/tlist.h
+include/postgresql/server/optimizer/var.h
+include/postgresql/server/parser/analyze.h
+include/postgresql/server/parser/gram.h
+include/postgresql/server/parser/gramparse.h
+include/postgresql/server/parser/kwlist.h
+include/postgresql/server/parser/parse_agg.h
+include/postgresql/server/parser/parse_clause.h
+include/postgresql/server/parser/parse_coerce.h
+include/postgresql/server/parser/parse_collate.h
+include/postgresql/server/parser/parse_cte.h
+include/postgresql/server/parser/parse_expr.h
+include/postgresql/server/parser/parse_func.h
+include/postgresql/server/parser/parse_node.h
+include/postgresql/server/parser/parse_oper.h
+include/postgresql/server/parser/parse_param.h
+include/postgresql/server/parser/parse_relation.h
+include/postgresql/server/parser/parse_target.h
+include/postgresql/server/parser/parse_type.h
+include/postgresql/server/parser/parse_utilcmd.h
+include/postgresql/server/parser/parser.h
+include/postgresql/server/parser/parsetree.h
+include/postgresql/server/parser/scanner.h
+include/postgresql/server/parser/scansup.h
+include/postgresql/server/pg_config.h
+include/postgresql/server/pg_config_ext.h
+include/postgresql/server/pg_config_manual.h
+include/postgresql/server/pg_config_os.h
+include/postgresql/server/pg_getopt.h
+include/postgresql/server/pg_trace.h
+include/postgresql/server/pgstat.h
+include/postgresql/server/pgtar.h
+include/postgresql/server/pgtime.h
+include/postgresql/server/port.h
+include/postgresql/server/port/aix.h
+include/postgresql/server/port/atomics.h
+include/postgresql/server/port/atomics/arch-arm.h
+include/postgresql/server/port/atomics/arch-hppa.h
+include/postgresql/server/port/atomics/arch-ia64.h
+include/postgresql/server/port/atomics/arch-ppc.h
+include/postgresql/server/port/atomics/arch-x86.h
+include/postgresql/server/port/atomics/fallback.h
+include/postgresql/server/port/atomics/generic-acc.h
+include/postgresql/server/port/atomics/generic-gcc.h
+include/postgresql/server/port/atomics/generic-msvc.h
+include/postgresql/server/port/atomics/generic-sunpro.h
+include/postgresql/server/port/atomics/generic-xlc.h
+include/postgresql/server/port/atomics/generic.h
+include/postgresql/server/port/cygwin.h
+include/postgresql/server/port/darwin.h
+include/postgresql/server/port/dragonfly.h
+include/postgresql/server/port/freebsd.h
+include/postgresql/server/port/hpux.h
+include/postgresql/server/port/linux.h
+include/postgresql/server/port/netbsd.h
+include/postgresql/server/port/openbsd.h
+include/postgresql/server/port/pg_bswap.h
+include/postgresql/server/port/pg_crc32c.h
+include/postgresql/server/port/sco.h
+include/postgresql/server/port/solaris.h
+include/postgresql/server/port/unixware.h
+include/postgresql/server/port/win32.h
+include/postgresql/server/port/win32/arpa/inet.h
+include/postgresql/server/port/win32/dlfcn.h
+include/postgresql/server/port/win32/grp.h
+include/postgresql/server/port/win32/netdb.h
+include/postgresql/server/port/win32/netinet/in.h
+include/postgresql/server/port/win32/pwd.h
+include/postgresql/server/port/win32/sys/socket.h
+include/postgresql/server/port/win32/sys/wait.h
+include/postgresql/server/port/win32_msvc/dirent.h
+include/postgresql/server/port/win32_msvc/sys/file.h
+include/postgresql/server/port/win32_msvc/sys/param.h
+include/postgresql/server/port/win32_msvc/sys/time.h
+include/postgresql/server/port/win32_msvc/unistd.h
+include/postgresql/server/port/win32_msvc/utime.h
+include/postgresql/server/portability/instr_time.h
+include/postgresql/server/portability/mem.h
+include/postgresql/server/postgres.h
+include/postgresql/server/postgres_ext.h
+include/postgresql/server/postgres_fe.h
+include/postgresql/server/postmaster/autovacuum.h
+include/postgresql/server/postmaster/bgworker.h
+include/postgresql/server/postmaster/bgworker_internals.h
+include/postgresql/server/postmaster/bgwriter.h
+include/postgresql/server/postmaster/fork_process.h
+include/postgresql/server/postmaster/pgarch.h
+include/postgresql/server/postmaster/postmaster.h
+include/postgresql/server/postmaster/startup.h
+include/postgresql/server/postmaster/syslogger.h
+include/postgresql/server/postmaster/walwriter.h
+include/postgresql/server/regex/regcustom.h
+include/postgresql/server/regex/regerrs.h
+include/postgresql/server/regex/regex.h
+include/postgresql/server/regex/regexport.h
+include/postgresql/server/regex/regguts.h
+include/postgresql/server/replication/basebackup.h
+include/postgresql/server/replication/decode.h
+include/postgresql/server/replication/logical.h
+include/postgresql/server/replication/logicalfuncs.h
+include/postgresql/server/replication/message.h
+include/postgresql/server/replication/origin.h
+include/postgresql/server/replication/output_plugin.h
+include/postgresql/server/replication/reorderbuffer.h
+include/postgresql/server/replication/slot.h
+include/postgresql/server/replication/snapbuild.h
+include/postgresql/server/replication/syncrep.h
+include/postgresql/server/replication/walreceiver.h
+include/postgresql/server/replication/walsender.h
+include/postgresql/server/replication/walsender_private.h
+include/postgresql/server/rewrite/prs2lock.h
+include/postgresql/server/rewrite/rewriteDefine.h
+include/postgresql/server/rewrite/rewriteHandler.h
+include/postgresql/server/rewrite/rewriteManip.h
+include/postgresql/server/rewrite/rewriteRemove.h
+include/postgresql/server/rewrite/rewriteSupport.h
+include/postgresql/server/rewrite/rowsecurity.h
+include/postgresql/server/rusagestub.h
+include/postgresql/server/snowball/header.h
+include/postgresql/server/snowball/libstemmer/api.h
+include/postgresql/server/snowball/libstemmer/header.h
+include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_danish.h
+include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_dutch.h
+include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_english.h
+include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_finnish.h
+include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_french.h
+include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_german.h
+include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_hungarian.h
+include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_italian.h
+include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_norwegian.h
+include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_porter.h
+include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_portuguese.h
+include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_spanish.h
+include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_swedish.h
+include/postgresql/server/snowball/libstemmer/stem_ISO_8859_2_romanian.h
+include/postgresql/server/snowball/libstemmer/stem_KOI8_R_russian.h
+include/postgresql/server/snowball/libstemmer/stem_UTF_8_danish.h
+include/postgresql/server/snowball/libstemmer/stem_UTF_8_dutch.h
+include/postgresql/server/snowball/libstemmer/stem_UTF_8_english.h
+include/postgresql/server/snowball/libstemmer/stem_UTF_8_finnish.h
+include/postgresql/server/snowball/libstemmer/stem_UTF_8_french.h
+include/postgresql/server/snowball/libstemmer/stem_UTF_8_german.h
+include/postgresql/server/snowball/libstemmer/stem_UTF_8_hungarian.h
+include/postgresql/server/snowball/libstemmer/stem_UTF_8_italian.h
+include/postgresql/server/snowball/libstemmer/stem_UTF_8_norwegian.h
+include/postgresql/server/snowball/libstemmer/stem_UTF_8_porter.h
+include/postgresql/server/snowball/libstemmer/stem_UTF_8_portuguese.h
+include/postgresql/server/snowball/libstemmer/stem_UTF_8_romanian.h
+include/postgresql/server/snowball/libstemmer/stem_UTF_8_russian.h
+include/postgresql/server/snowball/libstemmer/stem_UTF_8_spanish.h
+include/postgresql/server/snowball/libstemmer/stem_UTF_8_swedish.h
+include/postgresql/server/snowball/libstemmer/stem_UTF_8_turkish.h
+include/postgresql/server/storage/backendid.h
+include/postgresql/server/storage/barrier.h
+include/postgresql/server/storage/block.h
+include/postgresql/server/storage/buf.h
+include/postgresql/server/storage/buf_internals.h
+include/postgresql/server/storage/buffile.h
+include/postgresql/server/storage/bufmgr.h
+include/postgresql/server/storage/bufpage.h
+include/postgresql/server/storage/checksum.h
+include/postgresql/server/storage/checksum_impl.h
+include/postgresql/server/storage/copydir.h
+include/postgresql/server/storage/dsm.h
+include/postgresql/server/storage/dsm_impl.h
+include/postgresql/server/storage/fd.h
+include/postgresql/server/storage/freespace.h
+include/postgresql/server/storage/fsm_internals.h
+include/postgresql/server/storage/indexfsm.h
+include/postgresql/server/storage/ipc.h
+include/postgresql/server/storage/item.h
+include/postgresql/server/storage/itemid.h
+include/postgresql/server/storage/itemptr.h
+include/postgresql/server/storage/large_object.h
+include/postgresql/server/storage/latch.h
+include/postgresql/server/storage/lmgr.h
+include/postgresql/server/storage/lock.h
+include/postgresql/server/storage/lockdefs.h
+include/postgresql/server/storage/lwlock.h
+include/postgresql/server/storage/lwlocknames.h
+include/postgresql/server/storage/off.h
+include/postgresql/server/storage/pg_sema.h
+include/postgresql/server/storage/pg_shmem.h
+include/postgresql/server/storage/pmsignal.h
+include/postgresql/server/storage/pos.h
+include/postgresql/server/storage/predicate.h
+include/postgresql/server/storage/predicate_internals.h
+include/postgresql/server/storage/proc.h
+include/postgresql/server/storage/procarray.h
+include/postgresql/server/storage/procsignal.h
+include/postgresql/server/storage/reinit.h
+include/postgresql/server/storage/relfilenode.h
+include/postgresql/server/storage/s_lock.h
+include/postgresql/server/storage/shm_mq.h
+include/postgresql/server/storage/shm_toc.h
+include/postgresql/server/storage/shmem.h
+include/postgresql/server/storage/sinval.h
+include/postgresql/server/storage/sinvaladt.h
+include/postgresql/server/storage/smgr.h
+include/postgresql/server/storage/spin.h
+include/postgresql/server/storage/standby.h
+include/postgresql/server/storage/standbydefs.h
+include/postgresql/server/tcop/deparse_utility.h
+include/postgresql/server/tcop/dest.h
+include/postgresql/server/tcop/fastpath.h
+include/postgresql/server/tcop/pquery.h
+include/postgresql/server/tcop/tcopprot.h
+include/postgresql/server/tcop/utility.h
+include/postgresql/server/tsearch/dicts/regis.h
+include/postgresql/server/tsearch/dicts/spell.h
+include/postgresql/server/tsearch/ts_cache.h
+include/postgresql/server/tsearch/ts_locale.h
+include/postgresql/server/tsearch/ts_public.h
+include/postgresql/server/tsearch/ts_type.h
+include/postgresql/server/tsearch/ts_utils.h
+include/postgresql/server/utils/acl.h
+include/postgresql/server/utils/aclchk_internal.h
+include/postgresql/server/utils/array.h
+include/postgresql/server/utils/arrayaccess.h
+include/postgresql/server/utils/ascii.h
+include/postgresql/server/utils/attoptcache.h
+include/postgresql/server/utils/builtins.h
+include/postgresql/server/utils/bytea.h
+include/postgresql/server/utils/cash.h
+include/postgresql/server/utils/catcache.h
+include/postgresql/server/utils/combocid.h
+include/postgresql/server/utils/date.h
+include/postgresql/server/utils/datetime.h
+include/postgresql/server/utils/datum.h
+include/postgresql/server/utils/dynahash.h
+include/postgresql/server/utils/dynamic_loader.h
+include/postgresql/server/utils/elog.h
+include/postgresql/server/utils/errcodes.h
+include/postgresql/server/utils/evtcache.h
+include/postgresql/server/utils/expandeddatum.h
+include/postgresql/server/utils/fmgroids.h
+include/postgresql/server/utils/fmgrtab.h
+include/postgresql/server/utils/formatting.h
+include/postgresql/server/utils/geo_decls.h
+include/postgresql/server/utils/guc.h
+include/postgresql/server/utils/guc_tables.h
+include/postgresql/server/utils/help_config.h
+include/postgresql/server/utils/hsearch.h
+include/postgresql/server/utils/index_selfuncs.h
+include/postgresql/server/utils/inet.h
+include/postgresql/server/utils/int8.h
+include/postgresql/server/utils/inval.h
+include/postgresql/server/utils/json.h
+include/postgresql/server/utils/jsonapi.h
+include/postgresql/server/utils/jsonb.h
+include/postgresql/server/utils/logtape.h
+include/postgresql/server/utils/lsyscache.h
+include/postgresql/server/utils/memdebug.h
+include/postgresql/server/utils/memutils.h
+include/postgresql/server/utils/nabstime.h
+include/postgresql/server/utils/numeric.h
+include/postgresql/server/utils/palloc.h
+include/postgresql/server/utils/pg_crc.h
+include/postgresql/server/utils/pg_locale.h
+include/postgresql/server/utils/pg_lsn.h
+include/postgresql/server/utils/pg_rusage.h
+include/postgresql/server/utils/plancache.h
+include/postgresql/server/utils/portal.h
+include/postgresql/server/utils/probes.h
+include/postgresql/server/utils/ps_status.h
+include/postgresql/server/utils/rangetypes.h
+include/postgresql/server/utils/rel.h
+include/postgresql/server/utils/relcache.h
+include/postgresql/server/utils/relfilenodemap.h
+include/postgresql/server/utils/relmapper.h
+include/postgresql/server/utils/reltrigger.h
+include/postgresql/server/utils/resowner.h
+include/postgresql/server/utils/resowner_private.h
+include/postgresql/server/utils/rls.h
+include/postgresql/server/utils/ruleutils.h
+include/postgresql/server/utils/sampling.h
+include/postgresql/server/utils/selfuncs.h
+include/postgresql/server/utils/snapmgr.h
+include/postgresql/server/utils/snapshot.h
+include/postgresql/server/utils/sortsupport.h
+include/postgresql/server/utils/spccache.h
+include/postgresql/server/utils/syscache.h
+include/postgresql/server/utils/timeout.h
+include/postgresql/server/utils/timestamp.h
+include/postgresql/server/utils/tqual.h
+include/postgresql/server/utils/tuplesort.h
+include/postgresql/server/utils/tuplestore.h
+include/postgresql/server/utils/typcache.h
+include/postgresql/server/utils/tzparser.h
+include/postgresql/server/utils/uuid.h
+include/postgresql/server/utils/varbit.h
+include/postgresql/server/utils/xml.h
+include/postgresql/server/windowapi.h
+include/sql3types.h
+include/sqlca.h
+include/sqlda-compat.h
+include/sqlda-native.h
+include/sqlda.h
+lib/libecpg.a
+lib/libecpg.so
+lib/libecpg.so.6
+lib/libecpg.so.6.8
+lib/libecpg_compat.a
+lib/libecpg_compat.so
+lib/libecpg_compat.so.3
+lib/libecpg_compat.so.3.8
+lib/libpgcommon.a
+lib/libpgport.a
+lib/libpgtypes.a
+lib/libpgtypes.so
+lib/libpgtypes.so.3
+lib/libpgtypes.so.3.7
+lib/libpq.a
+lib/libpq.so
+lib/libpq.so.5
+lib/libpq.so.5.9
+lib/pkgconfig/libecpg.pc
+lib/pkgconfig/libecpg_compat.pc
+lib/pkgconfig/libpgtypes.pc
+lib/pkgconfig/libpq.pc
+lib/postgresql/pgxs/config/install-sh
+lib/postgresql/pgxs/src/Makefile.global
+lib/postgresql/pgxs/src/Makefile.port
+lib/postgresql/pgxs/src/Makefile.shlib
+lib/postgresql/pgxs/src/makefiles/pgxs.mk
+lib/postgresql/pgxs/src/nls-global.mk
+share/locale/cs/LC_MESSAGES/ecpg-9.6.mo
+share/locale/cs/LC_MESSAGES/ecpglib6-9.6.mo
+share/locale/cs/LC_MESSAGES/initdb-9.6.mo
+share/locale/cs/LC_MESSAGES/libpq5-9.6.mo
+share/locale/cs/LC_MESSAGES/pg_config-9.6.mo
+share/locale/cs/LC_MESSAGES/pg_controldata-9.6.mo
+share/locale/cs/LC_MESSAGES/pg_ctl-9.6.mo
+share/locale/cs/LC_MESSAGES/pg_dump-9.6.mo
+share/locale/cs/LC_MESSAGES/pg_resetxlog-9.6.mo
+share/locale/cs/LC_MESSAGES/pgscripts-9.6.mo
+share/locale/cs/LC_MESSAGES/psql-9.6.mo
+share/locale/de/LC_MESSAGES/ecpg-9.6.mo
+share/locale/de/LC_MESSAGES/ecpglib6-9.6.mo
+share/locale/de/LC_MESSAGES/initdb-9.6.mo
+share/locale/de/LC_MESSAGES/libpq5-9.6.mo
+share/locale/de/LC_MESSAGES/pg_basebackup-9.6.mo
+share/locale/de/LC_MESSAGES/pg_config-9.6.mo
+share/locale/de/LC_MESSAGES/pg_controldata-9.6.mo
+share/locale/de/LC_MESSAGES/pg_ctl-9.6.mo
+share/locale/de/LC_MESSAGES/pg_dump-9.6.mo
+share/locale/de/LC_MESSAGES/pg_resetxlog-9.6.mo
+share/locale/de/LC_MESSAGES/pg_rewind-9.6.mo
+share/locale/de/LC_MESSAGES/pgscripts-9.6.mo
+share/locale/de/LC_MESSAGES/psql-9.6.mo
+share/locale/es/LC_MESSAGES/ecpg-9.6.mo
+share/locale/es/LC_MESSAGES/ecpglib6-9.6.mo
+share/locale/es/LC_MESSAGES/initdb-9.6.mo
+share/locale/es/LC_MESSAGES/libpq5-9.6.mo
+share/locale/es/LC_MESSAGES/pg_basebackup-9.6.mo
+share/locale/es/LC_MESSAGES/pg_config-9.6.mo
+share/locale/es/LC_MESSAGES/pg_controldata-9.6.mo
+share/locale/es/LC_MESSAGES/pg_ctl-9.6.mo
+share/locale/es/LC_MESSAGES/pg_dump-9.6.mo
+share/locale/es/LC_MESSAGES/pg_resetxlog-9.6.mo
+share/locale/es/LC_MESSAGES/pg_rewind-9.6.mo
+share/locale/es/LC_MESSAGES/pgscripts-9.6.mo
+share/locale/es/LC_MESSAGES/psql-9.6.mo
+share/locale/fr/LC_MESSAGES/ecpg-9.6.mo
+share/locale/fr/LC_MESSAGES/ecpglib6-9.6.mo
+share/locale/fr/LC_MESSAGES/initdb-9.6.mo
+share/locale/fr/LC_MESSAGES/libpq5-9.6.mo
+share/locale/fr/LC_MESSAGES/pg_basebackup-9.6.mo
+share/locale/fr/LC_MESSAGES/pg_config-9.6.mo
+share/locale/fr/LC_MESSAGES/pg_controldata-9.6.mo
+share/locale/fr/LC_MESSAGES/pg_ctl-9.6.mo
+share/locale/fr/LC_MESSAGES/pg_dump-9.6.mo
+share/locale/fr/LC_MESSAGES/pg_resetxlog-9.6.mo
+share/locale/fr/LC_MESSAGES/pg_rewind-9.6.mo
+share/locale/fr/LC_MESSAGES/pgscripts-9.6.mo
+share/locale/fr/LC_MESSAGES/psql-9.6.mo
+share/locale/it/LC_MESSAGES/ecpg-9.6.mo
+share/locale/it/LC_MESSAGES/ecpglib6-9.6.mo
+share/locale/it/LC_MESSAGES/initdb-9.6.mo
+share/locale/it/LC_MESSAGES/libpq5-9.6.mo
+share/locale/it/LC_MESSAGES/pg_basebackup-9.6.mo
+share/locale/it/LC_MESSAGES/pg_config-9.6.mo
+share/locale/it/LC_MESSAGES/pg_controldata-9.6.mo
+share/locale/it/LC_MESSAGES/pg_ctl-9.6.mo
+share/locale/it/LC_MESSAGES/pg_dump-9.6.mo
+share/locale/it/LC_MESSAGES/pg_resetxlog-9.6.mo
+share/locale/it/LC_MESSAGES/pg_rewind-9.6.mo
+share/locale/it/LC_MESSAGES/pgscripts-9.6.mo
+share/locale/it/LC_MESSAGES/psql-9.6.mo
+share/locale/ja/LC_MESSAGES/ecpg-9.6.mo
+share/locale/ja/LC_MESSAGES/ecpglib6-9.6.mo
+share/locale/ja/LC_MESSAGES/initdb-9.6.mo
+share/locale/ja/LC_MESSAGES/libpq5-9.6.mo
+share/locale/ja/LC_MESSAGES/pg_basebackup-9.6.mo
+share/locale/ja/LC_MESSAGES/pg_config-9.6.mo
+share/locale/ja/LC_MESSAGES/pg_controldata-9.6.mo
+share/locale/ja/LC_MESSAGES/pg_ctl-9.6.mo
+share/locale/ja/LC_MESSAGES/pg_dump-9.6.mo
+share/locale/ja/LC_MESSAGES/pg_resetxlog-9.6.mo
+share/locale/ja/LC_MESSAGES/pg_rewind-9.6.mo
+share/locale/ja/LC_MESSAGES/pgscripts-9.6.mo
+share/locale/ja/LC_MESSAGES/psql-9.6.mo
+share/locale/ko/LC_MESSAGES/ecpg-9.6.mo
+share/locale/ko/LC_MESSAGES/ecpglib6-9.6.mo
+share/locale/ko/LC_MESSAGES/initdb-9.6.mo
+share/locale/ko/LC_MESSAGES/libpq5-9.6.mo
+share/locale/ko/LC_MESSAGES/pg_basebackup-9.6.mo
+share/locale/ko/LC_MESSAGES/pg_config-9.6.mo
+share/locale/ko/LC_MESSAGES/pg_controldata-9.6.mo
+share/locale/ko/LC_MESSAGES/pg_ctl-9.6.mo
+share/locale/ko/LC_MESSAGES/pg_dump-9.6.mo
+share/locale/ko/LC_MESSAGES/pg_resetxlog-9.6.mo
+share/locale/ko/LC_MESSAGES/pg_rewind-9.6.mo
+share/locale/ko/LC_MESSAGES/pgscripts-9.6.mo
+share/locale/ko/LC_MESSAGES/psql-9.6.mo
+share/locale/nb/LC_MESSAGES/pg_config-9.6.mo
+share/locale/pl/LC_MESSAGES/ecpg-9.6.mo
+share/locale/pl/LC_MESSAGES/ecpglib6-9.6.mo
+share/locale/pl/LC_MESSAGES/initdb-9.6.mo
+share/locale/pl/LC_MESSAGES/libpq5-9.6.mo
+share/locale/pl/LC_MESSAGES/pg_basebackup-9.6.mo
+share/locale/pl/LC_MESSAGES/pg_config-9.6.mo
+share/locale/pl/LC_MESSAGES/pg_controldata-9.6.mo
+share/locale/pl/LC_MESSAGES/pg_ctl-9.6.mo
+share/locale/pl/LC_MESSAGES/pg_dump-9.6.mo
+share/locale/pl/LC_MESSAGES/pg_resetxlog-9.6.mo
+share/locale/pl/LC_MESSAGES/pg_rewind-9.6.mo
+share/locale/pl/LC_MESSAGES/pgscripts-9.6.mo
+share/locale/pl/LC_MESSAGES/psql-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/ecpg-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/ecpglib6-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/initdb-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/libpq5-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/pg_basebackup-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/pg_config-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/pg_controldata-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/pg_ctl-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/pg_dump-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/pg_resetxlog-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/pg_rewind-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/pgscripts-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/psql-9.6.mo
+share/locale/ro/LC_MESSAGES/pg_config-9.6.mo
+share/locale/ru/LC_MESSAGES/ecpg-9.6.mo
+share/locale/ru/LC_MESSAGES/ecpglib6-9.6.mo
+share/locale/ru/LC_MESSAGES/initdb-9.6.mo
+share/locale/ru/LC_MESSAGES/libpq5-9.6.mo
+share/locale/ru/LC_MESSAGES/pg_basebackup-9.6.mo
+share/locale/ru/LC_MESSAGES/pg_config-9.6.mo
+share/locale/ru/LC_MESSAGES/pg_controldata-9.6.mo
+share/locale/ru/LC_MESSAGES/pg_ctl-9.6.mo
+share/locale/ru/LC_MESSAGES/pg_dump-9.6.mo
+share/locale/ru/LC_MESSAGES/pg_resetxlog-9.6.mo
+share/locale/ru/LC_MESSAGES/pg_rewind-9.6.mo
+share/locale/ru/LC_MESSAGES/pgscripts-9.6.mo
+share/locale/ru/LC_MESSAGES/psql-9.6.mo
+share/locale/sv/LC_MESSAGES/initdb-9.6.mo
+share/locale/sv/LC_MESSAGES/pg_config-9.6.mo
+share/locale/sv/LC_MESSAGES/pg_controldata-9.6.mo
+share/locale/sv/LC_MESSAGES/pg_ctl-9.6.mo
+share/locale/sv/LC_MESSAGES/pg_resetxlog-9.6.mo
+share/locale/sv/LC_MESSAGES/pgscripts-9.6.mo
+share/locale/ta/LC_MESSAGES/pg_config-9.6.mo
+share/locale/tr/LC_MESSAGES/ecpg-9.6.mo
+share/locale/tr/LC_MESSAGES/ecpglib6-9.6.mo
+share/locale/tr/LC_MESSAGES/libpq5-9.6.mo
+share/locale/tr/LC_MESSAGES/pg_config-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/ecpg-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/ecpglib6-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/initdb-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/libpq5-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/pg_basebackup-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/pg_config-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/pg_controldata-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/pg_ctl-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/pg_dump-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/pg_resetxlog-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/pg_rewind-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/pgscripts-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/psql-9.6.mo
+share/locale/zh_TW/LC_MESSAGES/ecpg-9.6.mo
+share/locale/zh_TW/LC_MESSAGES/libpq5-9.6.mo
+share/locale/zh_TW/LC_MESSAGES/pg_config-9.6.mo
+share/locale/zh_TW/LC_MESSAGES/psql-9.6.mo
+share/postgresql/pg_service.conf.sample
+share/postgresql/psqlrc.sample
diff --git a/databases/postgresql96-client/buildlink3.mk b/databases/postgresql96-client/buildlink3.mk
new file mode 100644
index 00000000000..7a3bc160864
--- /dev/null
+++ b/databases/postgresql96-client/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+BUILDLINK_TREE+= postgresql96-client
+
+.if !defined(POSTGRESQL96_CLIENT_BUILDLINK3_MK)
+POSTGRESQL96_CLIENT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.postgresql96-client+= postgresql96-client>=9.6.1
+BUILDLINK_ABI_DEPENDS.postgresql96-client+= postgresql96-client>=9.6.1
+BUILDLINK_PKGSRCDIR.postgresql96-client?= ../../databases/postgresql96-client
+
+# This variable contains the libraries need to link most clients.
+BUILDLINK_LDADD.postgresql96-client= -lpq ${BUILDLINK_LDADD.gettext}
+BUILDLINK_FILES.postgresql96-client+= bin/pg_config
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.endif # POSTGRESQL96_CLIENT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -postgresql96-client
diff --git a/databases/postgresql96-contrib/DESCR b/databases/postgresql96-contrib/DESCR
new file mode 100644
index 00000000000..be9981a85f4
--- /dev/null
+++ b/databases/postgresql96-contrib/DESCR
@@ -0,0 +1,4 @@
+This subtree contains porting tools, analysis utilities, and plug-in
+features that are not part of the core PostgreSQL system, mainly because
+they address a limited audience or are too experimental to be part of
+the main source tree. This does not preclude their usefulness.
diff --git a/databases/postgresql96-contrib/Makefile b/databases/postgresql96-contrib/Makefile
new file mode 100644
index 00000000000..337879ec525
--- /dev/null
+++ b/databases/postgresql96-contrib/Makefile
@@ -0,0 +1,72 @@
+# $NetBSD: Makefile,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+PKGNAME= ${DISTNAME:C/-/96-contrib-/}
+COMMENT= Contrib subtree of tools and plug-ins
+
+.include "../../databases/postgresql96/Makefile.common"
+
+DEPENDS+= postgresql96-server>=${PKGVERSION_NOREV}:../../databases/postgresql96-server
+
+BUILD_MAKE_FLAGS= USE_PGXS=1
+
+BUILD_DIRS+= contrib/adminpack
+BUILD_DIRS+= contrib/auth_delay
+BUILD_DIRS+= contrib/auto_explain
+BUILD_DIRS+= contrib/btree_gin
+BUILD_DIRS+= contrib/btree_gist
+BUILD_DIRS+= contrib/chkpass
+BUILD_DIRS+= contrib/citext
+BUILD_DIRS+= contrib/cube
+BUILD_DIRS+= contrib/dblink
+BUILD_DIRS+= contrib/dict_int
+BUILD_DIRS+= contrib/dict_xsyn
+BUILD_DIRS+= contrib/earthdistance
+BUILD_DIRS+= contrib/file_fdw
+BUILD_DIRS+= contrib/fuzzystrmatch
+BUILD_DIRS+= contrib/hstore
+BUILD_DIRS+= contrib/intagg
+BUILD_DIRS+= contrib/intarray
+BUILD_DIRS+= contrib/isn
+BUILD_DIRS+= contrib/lo
+BUILD_DIRS+= contrib/ltree
+BUILD_DIRS+= contrib/oid2name
+BUILD_DIRS+= contrib/pageinspect
+BUILD_DIRS+= contrib/passwordcheck
+BUILD_DIRS+= contrib/pg_buffercache
+BUILD_DIRS+= contrib/pg_freespacemap
+BUILD_DIRS+= contrib/pg_prewarm
+BUILD_DIRS+= contrib/pg_standby
+BUILD_DIRS+= contrib/pg_stat_statements
+BUILD_DIRS+= contrib/pg_trgm
+BUILD_DIRS+= contrib/pgcrypto
+BUILD_DIRS+= contrib/pgrowlocks
+BUILD_DIRS+= contrib/pgstattuple
+BUILD_DIRS+= contrib/postgres_fdw
+BUILD_DIRS+= contrib/seg
+BUILD_DIRS+= contrib/spi
+BUILD_DIRS+= contrib/sslinfo
+BUILD_DIRS+= contrib/tablefunc
+BUILD_DIRS+= contrib/tcn
+BUILD_DIRS+= contrib/test_decoding
+BUILD_DIRS+= contrib/tsearch2
+BUILD_DIRS+= contrib/tsm_system_rows
+BUILD_DIRS+= contrib/tsm_system_time
+BUILD_DIRS+= contrib/unaccent
+BUILD_DIRS+= contrib/vacuumlo
+
+CONFIGURE_ARGS+= --with-openssl
+
+PLIST_VARS+= uuid
+.if ${OPSYS} != "Darwin"
+PLIST.uuid= yes
+CONFIGURE_ARGS+= --with-uuid=ossp
+BUILD_DIRS+= contrib/uuid-ossp
+# because global pg_config.h is included, we have to define this
+BUILD_MAKE_FLAGS+= PG_CPPFLAGS=-DHAVE_UUID_H
+.include "../../devel/ossp-uuid/buildlink3.mk"
+.endif
+
+PRINT_PLIST_AWK+= {if ($$0 ~ /uuid-ossp/) {$$0 = "$${PLIST.uuid}" $$0;}}
+
+.include "../../databases/postgresql96-client/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql96-contrib/PLIST b/databases/postgresql96-contrib/PLIST
new file mode 100644
index 00000000000..04229415d52
--- /dev/null
+++ b/databases/postgresql96-contrib/PLIST
@@ -0,0 +1,225 @@
+@comment $NetBSD: PLIST,v 1.1 2016/10/29 19:41:55 adam Exp $
+bin/oid2name
+bin/pg_standby
+bin/vacuumlo
+lib/postgresql/_int.so
+lib/postgresql/adminpack.so
+lib/postgresql/auth_delay.so
+lib/postgresql/auto_explain.so
+lib/postgresql/autoinc.so
+lib/postgresql/btree_gin.so
+lib/postgresql/btree_gist.so
+lib/postgresql/chkpass.so
+lib/postgresql/citext.so
+lib/postgresql/cube.so
+lib/postgresql/dblink.so
+lib/postgresql/dict_int.so
+lib/postgresql/dict_xsyn.so
+lib/postgresql/earthdistance.so
+lib/postgresql/file_fdw.so
+lib/postgresql/fuzzystrmatch.so
+lib/postgresql/hstore.so
+lib/postgresql/insert_username.so
+lib/postgresql/isn.so
+lib/postgresql/lo.so
+lib/postgresql/ltree.so
+lib/postgresql/moddatetime.so
+lib/postgresql/pageinspect.so
+lib/postgresql/passwordcheck.so
+lib/postgresql/pg_buffercache.so
+lib/postgresql/pg_freespacemap.so
+lib/postgresql/pg_prewarm.so
+lib/postgresql/pg_stat_statements.so
+lib/postgresql/pg_trgm.so
+lib/postgresql/pgcrypto.so
+lib/postgresql/pgrowlocks.so
+lib/postgresql/pgstattuple.so
+lib/postgresql/postgres_fdw.so
+lib/postgresql/refint.so
+lib/postgresql/seg.so
+lib/postgresql/sslinfo.so
+lib/postgresql/tablefunc.so
+lib/postgresql/tcn.so
+lib/postgresql/test_decoding.so
+lib/postgresql/timetravel.so
+lib/postgresql/tsearch2.so
+lib/postgresql/tsm_system_rows.so
+lib/postgresql/tsm_system_time.so
+lib/postgresql/unaccent.so
+${PLIST.uuid}lib/postgresql/uuid-ossp.so
+share/doc/postgresql/extension/autoinc.example
+share/doc/postgresql/extension/insert_username.example
+share/doc/postgresql/extension/moddatetime.example
+share/doc/postgresql/extension/refint.example
+share/doc/postgresql/extension/timetravel.example
+share/postgresql/extension/adminpack--1.0.sql
+share/postgresql/extension/adminpack.control
+share/postgresql/extension/autoinc--1.0.sql
+share/postgresql/extension/autoinc--unpackaged--1.0.sql
+share/postgresql/extension/autoinc.control
+share/postgresql/extension/btree_gin--1.0.sql
+share/postgresql/extension/btree_gin--unpackaged--1.0.sql
+share/postgresql/extension/btree_gin.control
+share/postgresql/extension/btree_gist--1.0--1.1.sql
+share/postgresql/extension/btree_gist--1.1--1.2.sql
+share/postgresql/extension/btree_gist--1.2.sql
+share/postgresql/extension/btree_gist--unpackaged--1.0.sql
+share/postgresql/extension/btree_gist.control
+share/postgresql/extension/chkpass--1.0.sql
+share/postgresql/extension/chkpass--unpackaged--1.0.sql
+share/postgresql/extension/chkpass.control
+share/postgresql/extension/citext--1.0--1.1.sql
+share/postgresql/extension/citext--1.1--1.2.sql
+share/postgresql/extension/citext--1.2--1.3.sql
+share/postgresql/extension/citext--1.3.sql
+share/postgresql/extension/citext--unpackaged--1.0.sql
+share/postgresql/extension/citext.control
+share/postgresql/extension/cube--1.0--1.1.sql
+share/postgresql/extension/cube--1.1--1.2.sql
+share/postgresql/extension/cube--1.2.sql
+share/postgresql/extension/cube--unpackaged--1.0.sql
+share/postgresql/extension/cube.control
+share/postgresql/extension/dblink--1.0--1.1.sql
+share/postgresql/extension/dblink--1.1--1.2.sql
+share/postgresql/extension/dblink--1.2.sql
+share/postgresql/extension/dblink--unpackaged--1.0.sql
+share/postgresql/extension/dblink.control
+share/postgresql/extension/dict_int--1.0.sql
+share/postgresql/extension/dict_int--unpackaged--1.0.sql
+share/postgresql/extension/dict_int.control
+share/postgresql/extension/dict_xsyn--1.0.sql
+share/postgresql/extension/dict_xsyn--unpackaged--1.0.sql
+share/postgresql/extension/dict_xsyn.control
+share/postgresql/extension/earthdistance--1.0--1.1.sql
+share/postgresql/extension/earthdistance--1.1.sql
+share/postgresql/extension/earthdistance--unpackaged--1.0.sql
+share/postgresql/extension/earthdistance.control
+share/postgresql/extension/file_fdw--1.0.sql
+share/postgresql/extension/file_fdw.control
+share/postgresql/extension/fuzzystrmatch--1.0--1.1.sql
+share/postgresql/extension/fuzzystrmatch--1.1.sql
+share/postgresql/extension/fuzzystrmatch--unpackaged--1.0.sql
+share/postgresql/extension/fuzzystrmatch.control
+share/postgresql/extension/hstore--1.0--1.1.sql
+share/postgresql/extension/hstore--1.1--1.2.sql
+share/postgresql/extension/hstore--1.2--1.3.sql
+share/postgresql/extension/hstore--1.3--1.4.sql
+share/postgresql/extension/hstore--1.4.sql
+share/postgresql/extension/hstore--unpackaged--1.0.sql
+share/postgresql/extension/hstore.control
+share/postgresql/extension/insert_username--1.0.sql
+share/postgresql/extension/insert_username--unpackaged--1.0.sql
+share/postgresql/extension/insert_username.control
+share/postgresql/extension/intagg--1.0--1.1.sql
+share/postgresql/extension/intagg--1.1.sql
+share/postgresql/extension/intagg--unpackaged--1.0.sql
+share/postgresql/extension/intagg.control
+share/postgresql/extension/intarray--1.0--1.1.sql
+share/postgresql/extension/intarray--1.1--1.2.sql
+share/postgresql/extension/intarray--1.2.sql
+share/postgresql/extension/intarray--unpackaged--1.0.sql
+share/postgresql/extension/intarray.control
+share/postgresql/extension/isn--1.0--1.1.sql
+share/postgresql/extension/isn--1.1.sql
+share/postgresql/extension/isn--unpackaged--1.0.sql
+share/postgresql/extension/isn.control
+share/postgresql/extension/lo--1.0--1.1.sql
+share/postgresql/extension/lo--1.1.sql
+share/postgresql/extension/lo--unpackaged--1.0.sql
+share/postgresql/extension/lo.control
+share/postgresql/extension/ltree--1.0--1.1.sql
+share/postgresql/extension/ltree--1.1.sql
+share/postgresql/extension/ltree--unpackaged--1.0.sql
+share/postgresql/extension/ltree.control
+share/postgresql/extension/moddatetime--1.0.sql
+share/postgresql/extension/moddatetime--unpackaged--1.0.sql
+share/postgresql/extension/moddatetime.control
+share/postgresql/extension/pageinspect--1.0--1.1.sql
+share/postgresql/extension/pageinspect--1.1--1.2.sql
+share/postgresql/extension/pageinspect--1.2--1.3.sql
+share/postgresql/extension/pageinspect--1.3--1.4.sql
+share/postgresql/extension/pageinspect--1.4--1.5.sql
+share/postgresql/extension/pageinspect--1.5.sql
+share/postgresql/extension/pageinspect--unpackaged--1.0.sql
+share/postgresql/extension/pageinspect.control
+share/postgresql/extension/pg_buffercache--1.0--1.1.sql
+share/postgresql/extension/pg_buffercache--1.1--1.2.sql
+share/postgresql/extension/pg_buffercache--1.2.sql
+share/postgresql/extension/pg_buffercache--unpackaged--1.0.sql
+share/postgresql/extension/pg_buffercache.control
+share/postgresql/extension/pg_freespacemap--1.0--1.1.sql
+share/postgresql/extension/pg_freespacemap--1.1.sql
+share/postgresql/extension/pg_freespacemap--unpackaged--1.0.sql
+share/postgresql/extension/pg_freespacemap.control
+share/postgresql/extension/pg_prewarm--1.0--1.1.sql
+share/postgresql/extension/pg_prewarm--1.1.sql
+share/postgresql/extension/pg_prewarm.control
+share/postgresql/extension/pg_stat_statements--1.0--1.1.sql
+share/postgresql/extension/pg_stat_statements--1.1--1.2.sql
+share/postgresql/extension/pg_stat_statements--1.2--1.3.sql
+share/postgresql/extension/pg_stat_statements--1.3--1.4.sql
+share/postgresql/extension/pg_stat_statements--1.4.sql
+share/postgresql/extension/pg_stat_statements--unpackaged--1.0.sql
+share/postgresql/extension/pg_stat_statements.control
+share/postgresql/extension/pg_trgm--1.0--1.1.sql
+share/postgresql/extension/pg_trgm--1.1--1.2.sql
+share/postgresql/extension/pg_trgm--1.2--1.3.sql
+share/postgresql/extension/pg_trgm--1.3.sql
+share/postgresql/extension/pg_trgm--unpackaged--1.0.sql
+share/postgresql/extension/pg_trgm.control
+share/postgresql/extension/pgcrypto--1.0--1.1.sql
+share/postgresql/extension/pgcrypto--1.1--1.2.sql
+share/postgresql/extension/pgcrypto--1.2--1.3.sql
+share/postgresql/extension/pgcrypto--1.3.sql
+share/postgresql/extension/pgcrypto--unpackaged--1.0.sql
+share/postgresql/extension/pgcrypto.control
+share/postgresql/extension/pgrowlocks--1.0--1.1.sql
+share/postgresql/extension/pgrowlocks--1.1--1.2.sql
+share/postgresql/extension/pgrowlocks--1.2.sql
+share/postgresql/extension/pgrowlocks--unpackaged--1.0.sql
+share/postgresql/extension/pgrowlocks.control
+share/postgresql/extension/pgstattuple--1.0--1.1.sql
+share/postgresql/extension/pgstattuple--1.1--1.2.sql
+share/postgresql/extension/pgstattuple--1.2--1.3.sql
+share/postgresql/extension/pgstattuple--1.3--1.4.sql
+share/postgresql/extension/pgstattuple--1.4.sql
+share/postgresql/extension/pgstattuple--unpackaged--1.0.sql
+share/postgresql/extension/pgstattuple.control
+share/postgresql/extension/postgres_fdw--1.0.sql
+share/postgresql/extension/postgres_fdw.control
+share/postgresql/extension/refint--1.0.sql
+share/postgresql/extension/refint--unpackaged--1.0.sql
+share/postgresql/extension/refint.control
+share/postgresql/extension/seg--1.0--1.1.sql
+share/postgresql/extension/seg--1.1.sql
+share/postgresql/extension/seg--unpackaged--1.0.sql
+share/postgresql/extension/seg.control
+share/postgresql/extension/sslinfo--1.0--1.1.sql
+share/postgresql/extension/sslinfo--1.1--1.2.sql
+share/postgresql/extension/sslinfo--1.2.sql
+share/postgresql/extension/sslinfo--unpackaged--1.0.sql
+share/postgresql/extension/sslinfo.control
+share/postgresql/extension/tablefunc--1.0.sql
+share/postgresql/extension/tablefunc--unpackaged--1.0.sql
+share/postgresql/extension/tablefunc.control
+share/postgresql/extension/tcn--1.0.sql
+share/postgresql/extension/tcn.control
+share/postgresql/extension/timetravel--1.0.sql
+share/postgresql/extension/timetravel--unpackaged--1.0.sql
+share/postgresql/extension/timetravel.control
+share/postgresql/extension/tsearch2--1.0.sql
+share/postgresql/extension/tsearch2--unpackaged--1.0.sql
+share/postgresql/extension/tsearch2.control
+share/postgresql/extension/tsm_system_rows--1.0.sql
+share/postgresql/extension/tsm_system_rows.control
+share/postgresql/extension/tsm_system_time--1.0.sql
+share/postgresql/extension/tsm_system_time.control
+share/postgresql/extension/unaccent--1.0--1.1.sql
+share/postgresql/extension/unaccent--1.1.sql
+share/postgresql/extension/unaccent--unpackaged--1.0.sql
+share/postgresql/extension/unaccent.control
+${PLIST.uuid}share/postgresql/extension/uuid-ossp--1.0.sql
+${PLIST.uuid}share/postgresql/extension/uuid-ossp--unpackaged--1.0.sql
+${PLIST.uuid}share/postgresql/extension/uuid-ossp.control
+share/postgresql/tsearch_data/unaccent.rules
+share/postgresql/tsearch_data/xsyn_sample.rules
diff --git a/databases/postgresql96-docs/DESCR b/databases/postgresql96-docs/DESCR
new file mode 100644
index 00000000000..89dd99e91c2
--- /dev/null
+++ b/databases/postgresql96-docs/DESCR
@@ -0,0 +1,9 @@
+PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS),
+derived from the Berkeley Postgres database management system. While
+PostgreSQL retains the powerful object-relational data model, rich data types
+and easy extensibility of Postgres, it replaces the PostQuel query language
+with an extended subset of SQL.
+
+PostgreSQL is free and the complete source is available.
+
+This package contains the database documentation.
diff --git a/databases/postgresql96-docs/Makefile b/databases/postgresql96-docs/Makefile
new file mode 100644
index 00000000000..5161baef902
--- /dev/null
+++ b/databases/postgresql96-docs/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+PKGNAME= ${DISTNAME:C/-/96-docs-/}
+COMMENT= PostgreSQL database documentation
+
+.include "../../databases/postgresql96/Makefile.common"
+
+BUILD_DEPENDS+= docbook-xml>=4.5:../../textproc/docbook-xml
+BUILD_DEPENDS+= docbook-xsl>=1.75.2:../../textproc/docbook-xsl
+BUILD_DEPENDS+= dsssl-docbook-modular>=1.79:../../textproc/dsssl-docbook-modular
+BUILD_DEPENDS+= iso8879>=1986:../../textproc/iso8879
+BUILD_DEPENDS+= openjade>=1.3.2:../../textproc/openjade
+BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
+
+USE_TOOLS+= gzip tar perl:build
+CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share
+CONFIGURE_ENV+= DOCBOOKSTYLE="${PREFIX}/share/sgml/docbook/dsssl/modular"
+
+BUILD_DIRS= doc
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql96-docs/PLIST b/databases/postgresql96-docs/PLIST
new file mode 100644
index 00000000000..c7c4bd3975d
--- /dev/null
+++ b/databases/postgresql96-docs/PLIST
@@ -0,0 +1,1602 @@
+@comment $NetBSD: PLIST,v 1.1 2016/10/29 19:41:55 adam Exp $
+man/man1/clusterdb.1
+man/man1/createdb.1
+man/man1/createlang.1
+man/man1/createuser.1
+man/man1/dropdb.1
+man/man1/droplang.1
+man/man1/dropuser.1
+man/man1/ecpg.1
+man/man1/initdb.1
+man/man1/oid2name.1
+man/man1/pg_archivecleanup.1
+man/man1/pg_basebackup.1
+man/man1/pg_config.1
+man/man1/pg_controldata.1
+man/man1/pg_ctl.1
+man/man1/pg_dump.1
+man/man1/pg_dumpall.1
+man/man1/pg_isready.1
+man/man1/pg_receivexlog.1
+man/man1/pg_recvlogical.1
+man/man1/pg_resetxlog.1
+man/man1/pg_restore.1
+man/man1/pg_rewind.1
+man/man1/pg_standby.1
+man/man1/pg_test_fsync.1
+man/man1/pg_test_timing.1
+man/man1/pg_upgrade.1
+man/man1/pg_xlogdump.1
+man/man1/pgbench.1
+man/man1/postgres.1
+man/man1/postmaster.1
+man/man1/psql.1
+man/man1/reindexdb.1
+man/man1/vacuumdb.1
+man/man1/vacuumlo.1
+man/man3/SPI_connect.3
+man/man3/SPI_copytuple.3
+man/man3/SPI_cursor_close.3
+man/man3/SPI_cursor_fetch.3
+man/man3/SPI_cursor_find.3
+man/man3/SPI_cursor_move.3
+man/man3/SPI_cursor_open.3
+man/man3/SPI_cursor_open_with_args.3
+man/man3/SPI_cursor_open_with_paramlist.3
+man/man3/SPI_exec.3
+man/man3/SPI_execp.3
+man/man3/SPI_execute.3
+man/man3/SPI_execute_plan.3
+man/man3/SPI_execute_plan_with_paramlist.3
+man/man3/SPI_execute_with_args.3
+man/man3/SPI_finish.3
+man/man3/SPI_fname.3
+man/man3/SPI_fnumber.3
+man/man3/SPI_freeplan.3
+man/man3/SPI_freetuple.3
+man/man3/SPI_freetuptable.3
+man/man3/SPI_getargcount.3
+man/man3/SPI_getargtypeid.3
+man/man3/SPI_getbinval.3
+man/man3/SPI_getnspname.3
+man/man3/SPI_getrelname.3
+man/man3/SPI_gettype.3
+man/man3/SPI_gettypeid.3
+man/man3/SPI_getvalue.3
+man/man3/SPI_is_cursor_plan.3
+man/man3/SPI_keepplan.3
+man/man3/SPI_modifytuple.3
+man/man3/SPI_palloc.3
+man/man3/SPI_pfree.3
+man/man3/SPI_pop.3
+man/man3/SPI_prepare.3
+man/man3/SPI_prepare_cursor.3
+man/man3/SPI_prepare_params.3
+man/man3/SPI_push.3
+man/man3/SPI_repalloc.3
+man/man3/SPI_returntuple.3
+man/man3/SPI_saveplan.3
+man/man3/SPI_scroll_cursor_fetch.3
+man/man3/SPI_scroll_cursor_move.3
+man/man3/dblink.3
+man/man3/dblink_build_sql_delete.3
+man/man3/dblink_build_sql_insert.3
+man/man3/dblink_build_sql_update.3
+man/man3/dblink_cancel_query.3
+man/man3/dblink_close.3
+man/man3/dblink_connect.3
+man/man3/dblink_connect_u.3
+man/man3/dblink_disconnect.3
+man/man3/dblink_error_message.3
+man/man3/dblink_exec.3
+man/man3/dblink_fetch.3
+man/man3/dblink_get_connections.3
+man/man3/dblink_get_notify.3
+man/man3/dblink_get_pkey.3
+man/man3/dblink_get_result.3
+man/man3/dblink_is_busy.3
+man/man3/dblink_open.3
+man/man3/dblink_send_query.3
+man/man7/ABORT.7
+man/man7/ALTER_AGGREGATE.7
+man/man7/ALTER_COLLATION.7
+man/man7/ALTER_CONVERSION.7
+man/man7/ALTER_DATABASE.7
+man/man7/ALTER_DEFAULT_PRIVILEGES.7
+man/man7/ALTER_DOMAIN.7
+man/man7/ALTER_EVENT_TRIGGER.7
+man/man7/ALTER_EXTENSION.7
+man/man7/ALTER_FOREIGN_DATA_WRAPPER.7
+man/man7/ALTER_FOREIGN_TABLE.7
+man/man7/ALTER_FUNCTION.7
+man/man7/ALTER_GROUP.7
+man/man7/ALTER_INDEX.7
+man/man7/ALTER_LANGUAGE.7
+man/man7/ALTER_LARGE_OBJECT.7
+man/man7/ALTER_MATERIALIZED_VIEW.7
+man/man7/ALTER_OPERATOR.7
+man/man7/ALTER_OPERATOR_CLASS.7
+man/man7/ALTER_OPERATOR_FAMILY.7
+man/man7/ALTER_POLICY.7
+man/man7/ALTER_ROLE.7
+man/man7/ALTER_RULE.7
+man/man7/ALTER_SCHEMA.7
+man/man7/ALTER_SEQUENCE.7
+man/man7/ALTER_SERVER.7
+man/man7/ALTER_SYSTEM.7
+man/man7/ALTER_TABLE.7
+man/man7/ALTER_TABLESPACE.7
+man/man7/ALTER_TEXT_SEARCH_CONFIGURATION.7
+man/man7/ALTER_TEXT_SEARCH_DICTIONARY.7
+man/man7/ALTER_TEXT_SEARCH_PARSER.7
+man/man7/ALTER_TEXT_SEARCH_TEMPLATE.7
+man/man7/ALTER_TRIGGER.7
+man/man7/ALTER_TYPE.7
+man/man7/ALTER_USER.7
+man/man7/ALTER_USER_MAPPING.7
+man/man7/ALTER_VIEW.7
+man/man7/ANALYZE.7
+man/man7/BEGIN.7
+man/man7/CHECKPOINT.7
+man/man7/CLOSE.7
+man/man7/CLUSTER.7
+man/man7/COMMENT.7
+man/man7/COMMIT.7
+man/man7/COMMIT_PREPARED.7
+man/man7/COPY.7
+man/man7/CREATE_ACCESS_METHOD.7
+man/man7/CREATE_AGGREGATE.7
+man/man7/CREATE_CAST.7
+man/man7/CREATE_COLLATION.7
+man/man7/CREATE_CONVERSION.7
+man/man7/CREATE_DATABASE.7
+man/man7/CREATE_DOMAIN.7
+man/man7/CREATE_EVENT_TRIGGER.7
+man/man7/CREATE_EXTENSION.7
+man/man7/CREATE_FOREIGN_DATA_WRAPPER.7
+man/man7/CREATE_FOREIGN_TABLE.7
+man/man7/CREATE_FUNCTION.7
+man/man7/CREATE_GROUP.7
+man/man7/CREATE_INDEX.7
+man/man7/CREATE_LANGUAGE.7
+man/man7/CREATE_MATERIALIZED_VIEW.7
+man/man7/CREATE_OPERATOR.7
+man/man7/CREATE_OPERATOR_CLASS.7
+man/man7/CREATE_OPERATOR_FAMILY.7
+man/man7/CREATE_POLICY.7
+man/man7/CREATE_ROLE.7
+man/man7/CREATE_RULE.7
+man/man7/CREATE_SCHEMA.7
+man/man7/CREATE_SEQUENCE.7
+man/man7/CREATE_SERVER.7
+man/man7/CREATE_TABLE.7
+man/man7/CREATE_TABLESPACE.7
+man/man7/CREATE_TABLE_AS.7
+man/man7/CREATE_TEXT_SEARCH_CONFIGURATION.7
+man/man7/CREATE_TEXT_SEARCH_DICTIONARY.7
+man/man7/CREATE_TEXT_SEARCH_PARSER.7
+man/man7/CREATE_TEXT_SEARCH_TEMPLATE.7
+man/man7/CREATE_TRANSFORM.7
+man/man7/CREATE_TRIGGER.7
+man/man7/CREATE_TYPE.7
+man/man7/CREATE_USER.7
+man/man7/CREATE_USER_MAPPING.7
+man/man7/CREATE_VIEW.7
+man/man7/DEALLOCATE.7
+man/man7/DECLARE.7
+man/man7/DELETE.7
+man/man7/DISCARD.7
+man/man7/DO.7
+man/man7/DROP_ACCESS_METHOD.7
+man/man7/DROP_AGGREGATE.7
+man/man7/DROP_CAST.7
+man/man7/DROP_COLLATION.7
+man/man7/DROP_CONVERSION.7
+man/man7/DROP_DATABASE.7
+man/man7/DROP_DOMAIN.7
+man/man7/DROP_EVENT_TRIGGER.7
+man/man7/DROP_EXTENSION.7
+man/man7/DROP_FOREIGN_DATA_WRAPPER.7
+man/man7/DROP_FOREIGN_TABLE.7
+man/man7/DROP_FUNCTION.7
+man/man7/DROP_GROUP.7
+man/man7/DROP_INDEX.7
+man/man7/DROP_LANGUAGE.7
+man/man7/DROP_MATERIALIZED_VIEW.7
+man/man7/DROP_OPERATOR.7
+man/man7/DROP_OPERATOR_CLASS.7
+man/man7/DROP_OPERATOR_FAMILY.7
+man/man7/DROP_OWNED.7
+man/man7/DROP_POLICY.7
+man/man7/DROP_ROLE.7
+man/man7/DROP_RULE.7
+man/man7/DROP_SCHEMA.7
+man/man7/DROP_SEQUENCE.7
+man/man7/DROP_SERVER.7
+man/man7/DROP_TABLE.7
+man/man7/DROP_TABLESPACE.7
+man/man7/DROP_TEXT_SEARCH_CONFIGURATION.7
+man/man7/DROP_TEXT_SEARCH_DICTIONARY.7
+man/man7/DROP_TEXT_SEARCH_PARSER.7
+man/man7/DROP_TEXT_SEARCH_TEMPLATE.7
+man/man7/DROP_TRANSFORM.7
+man/man7/DROP_TRIGGER.7
+man/man7/DROP_TYPE.7
+man/man7/DROP_USER.7
+man/man7/DROP_USER_MAPPING.7
+man/man7/DROP_VIEW.7
+man/man7/END.7
+man/man7/EXECUTE.7
+man/man7/EXPLAIN.7
+man/man7/FETCH.7
+man/man7/GRANT.7
+man/man7/IMPORT_FOREIGN_SCHEMA.7
+man/man7/INSERT.7
+man/man7/LISTEN.7
+man/man7/LOAD.7
+man/man7/LOCK.7
+man/man7/MOVE.7
+man/man7/NOTIFY.7
+man/man7/PREPARE.7
+man/man7/PREPARE_TRANSACTION.7
+man/man7/REASSIGN_OWNED.7
+man/man7/REFRESH_MATERIALIZED_VIEW.7
+man/man7/REINDEX.7
+man/man7/RELEASE_SAVEPOINT.7
+man/man7/RESET.7
+man/man7/REVOKE.7
+man/man7/ROLLBACK.7
+man/man7/ROLLBACK_PREPARED.7
+man/man7/ROLLBACK_TO_SAVEPOINT.7
+man/man7/SAVEPOINT.7
+man/man7/SECURITY_LABEL.7
+man/man7/SELECT.7
+man/man7/SELECT_INTO.7
+man/man7/SET.7
+man/man7/SET_CONSTRAINTS.7
+man/man7/SET_ROLE.7
+man/man7/SET_SESSION_AUTHORIZATION.7
+man/man7/SET_TRANSACTION.7
+man/man7/SHOW.7
+man/man7/START_TRANSACTION.7
+man/man7/TABLE.7
+man/man7/TRUNCATE.7
+man/man7/UNLISTEN.7
+man/man7/UPDATE.7
+man/man7/VACUUM.7
+man/man7/VALUES.7
+man/man7/WITH.7
+share/doc/postgresql/html/LEGALNOTICE.html
+share/doc/postgresql/html/acronyms.html
+share/doc/postgresql/html/admin.html
+share/doc/postgresql/html/adminpack.html
+share/doc/postgresql/html/app-clusterdb.html
+share/doc/postgresql/html/app-createdb.html
+share/doc/postgresql/html/app-createlang.html
+share/doc/postgresql/html/app-createuser.html
+share/doc/postgresql/html/app-dropdb.html
+share/doc/postgresql/html/app-droplang.html
+share/doc/postgresql/html/app-dropuser.html
+share/doc/postgresql/html/app-ecpg.html
+share/doc/postgresql/html/app-initdb.html
+share/doc/postgresql/html/app-pg-ctl.html
+share/doc/postgresql/html/app-pg-dumpall.html
+share/doc/postgresql/html/app-pg-isready.html
+share/doc/postgresql/html/app-pgbasebackup.html
+share/doc/postgresql/html/app-pgconfig.html
+share/doc/postgresql/html/app-pgcontroldata.html
+share/doc/postgresql/html/app-pgdump.html
+share/doc/postgresql/html/app-pgreceivexlog.html
+share/doc/postgresql/html/app-pgrecvlogical.html
+share/doc/postgresql/html/app-pgresetxlog.html
+share/doc/postgresql/html/app-pgrestore.html
+share/doc/postgresql/html/app-pgrewind.html
+share/doc/postgresql/html/app-postgres.html
+share/doc/postgresql/html/app-postmaster.html
+share/doc/postgresql/html/app-psql.html
+share/doc/postgresql/html/app-reindexdb.html
+share/doc/postgresql/html/app-vacuumdb.html
+share/doc/postgresql/html/appendixes.html
+share/doc/postgresql/html/applevel-consistency.html
+share/doc/postgresql/html/archive-recovery-settings.html
+share/doc/postgresql/html/arrays.html
+share/doc/postgresql/html/auth-delay.html
+share/doc/postgresql/html/auth-methods.html
+share/doc/postgresql/html/auth-pg-hba-conf.html
+share/doc/postgresql/html/auth-username-maps.html
+share/doc/postgresql/html/auto-explain.html
+share/doc/postgresql/html/backup-dump.html
+share/doc/postgresql/html/backup-file.html
+share/doc/postgresql/html/backup.html
+share/doc/postgresql/html/bgworker.html
+share/doc/postgresql/html/biblio.html
+share/doc/postgresql/html/bki-commands.html
+share/doc/postgresql/html/bki-example.html
+share/doc/postgresql/html/bki-format.html
+share/doc/postgresql/html/bki-structure.html
+share/doc/postgresql/html/bki.html
+share/doc/postgresql/html/bloom.html
+share/doc/postgresql/html/bookindex.html
+share/doc/postgresql/html/brin-builtin-opclasses.html
+share/doc/postgresql/html/brin-extensibility.html
+share/doc/postgresql/html/brin-intro.html
+share/doc/postgresql/html/brin.html
+share/doc/postgresql/html/btree-gin.html
+share/doc/postgresql/html/btree-gist.html
+share/doc/postgresql/html/bug-reporting.html
+share/doc/postgresql/html/catalog-pg-aggregate.html
+share/doc/postgresql/html/catalog-pg-am.html
+share/doc/postgresql/html/catalog-pg-amop.html
+share/doc/postgresql/html/catalog-pg-amproc.html
+share/doc/postgresql/html/catalog-pg-attrdef.html
+share/doc/postgresql/html/catalog-pg-attribute.html
+share/doc/postgresql/html/catalog-pg-auth-members.html
+share/doc/postgresql/html/catalog-pg-authid.html
+share/doc/postgresql/html/catalog-pg-cast.html
+share/doc/postgresql/html/catalog-pg-class.html
+share/doc/postgresql/html/catalog-pg-collation.html
+share/doc/postgresql/html/catalog-pg-constraint.html
+share/doc/postgresql/html/catalog-pg-conversion.html
+share/doc/postgresql/html/catalog-pg-database.html
+share/doc/postgresql/html/catalog-pg-db-role-setting.html
+share/doc/postgresql/html/catalog-pg-default-acl.html
+share/doc/postgresql/html/catalog-pg-depend.html
+share/doc/postgresql/html/catalog-pg-description.html
+share/doc/postgresql/html/catalog-pg-enum.html
+share/doc/postgresql/html/catalog-pg-event-trigger.html
+share/doc/postgresql/html/catalog-pg-extension.html
+share/doc/postgresql/html/catalog-pg-foreign-data-wrapper.html
+share/doc/postgresql/html/catalog-pg-foreign-server.html
+share/doc/postgresql/html/catalog-pg-foreign-table.html
+share/doc/postgresql/html/catalog-pg-index.html
+share/doc/postgresql/html/catalog-pg-inherits.html
+share/doc/postgresql/html/catalog-pg-init-privs.html
+share/doc/postgresql/html/catalog-pg-language.html
+share/doc/postgresql/html/catalog-pg-largeobject-metadata.html
+share/doc/postgresql/html/catalog-pg-largeobject.html
+share/doc/postgresql/html/catalog-pg-namespace.html
+share/doc/postgresql/html/catalog-pg-opclass.html
+share/doc/postgresql/html/catalog-pg-operator.html
+share/doc/postgresql/html/catalog-pg-opfamily.html
+share/doc/postgresql/html/catalog-pg-pltemplate.html
+share/doc/postgresql/html/catalog-pg-policy.html
+share/doc/postgresql/html/catalog-pg-proc.html
+share/doc/postgresql/html/catalog-pg-range.html
+share/doc/postgresql/html/catalog-pg-replication-origin.html
+share/doc/postgresql/html/catalog-pg-rewrite.html
+share/doc/postgresql/html/catalog-pg-seclabel.html
+share/doc/postgresql/html/catalog-pg-shdepend.html
+share/doc/postgresql/html/catalog-pg-shdescription.html
+share/doc/postgresql/html/catalog-pg-shseclabel.html
+share/doc/postgresql/html/catalog-pg-statistic.html
+share/doc/postgresql/html/catalog-pg-tablespace.html
+share/doc/postgresql/html/catalog-pg-transform.html
+share/doc/postgresql/html/catalog-pg-trigger.html
+share/doc/postgresql/html/catalog-pg-ts-config-map.html
+share/doc/postgresql/html/catalog-pg-ts-config.html
+share/doc/postgresql/html/catalog-pg-ts-dict.html
+share/doc/postgresql/html/catalog-pg-ts-parser.html
+share/doc/postgresql/html/catalog-pg-ts-template.html
+share/doc/postgresql/html/catalog-pg-type.html
+share/doc/postgresql/html/catalog-pg-user-mapping.html
+share/doc/postgresql/html/catalogs-overview.html
+share/doc/postgresql/html/catalogs.html
+share/doc/postgresql/html/charset.html
+share/doc/postgresql/html/chkpass.html
+share/doc/postgresql/html/citext.html
+share/doc/postgresql/html/client-authentication-problems.html
+share/doc/postgresql/html/client-authentication.html
+share/doc/postgresql/html/client-interfaces.html
+share/doc/postgresql/html/collation.html
+share/doc/postgresql/html/config-setting.html
+share/doc/postgresql/html/connect-estab.html
+share/doc/postgresql/html/continuous-archiving.html
+share/doc/postgresql/html/contrib-dblink-build-sql-delete.html
+share/doc/postgresql/html/contrib-dblink-build-sql-insert.html
+share/doc/postgresql/html/contrib-dblink-build-sql-update.html
+share/doc/postgresql/html/contrib-dblink-cancel-query.html
+share/doc/postgresql/html/contrib-dblink-close.html
+share/doc/postgresql/html/contrib-dblink-connect-u.html
+share/doc/postgresql/html/contrib-dblink-connect.html
+share/doc/postgresql/html/contrib-dblink-disconnect.html
+share/doc/postgresql/html/contrib-dblink-error-message.html
+share/doc/postgresql/html/contrib-dblink-exec.html
+share/doc/postgresql/html/contrib-dblink-fetch.html
+share/doc/postgresql/html/contrib-dblink-function.html
+share/doc/postgresql/html/contrib-dblink-get-connections.html
+share/doc/postgresql/html/contrib-dblink-get-notify.html
+share/doc/postgresql/html/contrib-dblink-get-pkey.html
+share/doc/postgresql/html/contrib-dblink-get-result.html
+share/doc/postgresql/html/contrib-dblink-is-busy.html
+share/doc/postgresql/html/contrib-dblink-open.html
+share/doc/postgresql/html/contrib-dblink-send-query.html
+share/doc/postgresql/html/contrib-prog-client.html
+share/doc/postgresql/html/contrib-prog-server.html
+share/doc/postgresql/html/contrib-prog.html
+share/doc/postgresql/html/contrib-spi.html
+share/doc/postgresql/html/contrib.html
+share/doc/postgresql/html/creating-cluster.html
+share/doc/postgresql/html/cube.html
+share/doc/postgresql/html/custom-scan-execution.html
+share/doc/postgresql/html/custom-scan-path.html
+share/doc/postgresql/html/custom-scan-plan.html
+share/doc/postgresql/html/custom-scan.html
+share/doc/postgresql/html/database-roles.html
+share/doc/postgresql/html/datatype-binary.html
+share/doc/postgresql/html/datatype-bit.html
+share/doc/postgresql/html/datatype-boolean.html
+share/doc/postgresql/html/datatype-character.html
+share/doc/postgresql/html/datatype-datetime.html
+share/doc/postgresql/html/datatype-enum.html
+share/doc/postgresql/html/datatype-geometric.html
+share/doc/postgresql/html/datatype-json.html
+share/doc/postgresql/html/datatype-money.html
+share/doc/postgresql/html/datatype-net-types.html
+share/doc/postgresql/html/datatype-numeric.html
+share/doc/postgresql/html/datatype-oid.html
+share/doc/postgresql/html/datatype-pg-lsn.html
+share/doc/postgresql/html/datatype-pseudo.html
+share/doc/postgresql/html/datatype-textsearch.html
+share/doc/postgresql/html/datatype-uuid.html
+share/doc/postgresql/html/datatype-xml.html
+share/doc/postgresql/html/datatype.html
+share/doc/postgresql/html/datetime-appendix.html
+share/doc/postgresql/html/datetime-config-files.html
+share/doc/postgresql/html/datetime-input-rules.html
+share/doc/postgresql/html/datetime-keywords.html
+share/doc/postgresql/html/datetime-units-history.html
+share/doc/postgresql/html/dblink.html
+share/doc/postgresql/html/ddl-alter.html
+share/doc/postgresql/html/ddl-basics.html
+share/doc/postgresql/html/ddl-constraints.html
+share/doc/postgresql/html/ddl-default.html
+share/doc/postgresql/html/ddl-depend.html
+share/doc/postgresql/html/ddl-foreign-data.html
+share/doc/postgresql/html/ddl-inherit.html
+share/doc/postgresql/html/ddl-others.html
+share/doc/postgresql/html/ddl-partitioning.html
+share/doc/postgresql/html/ddl-priv.html
+share/doc/postgresql/html/ddl-rowsecurity.html
+share/doc/postgresql/html/ddl-schemas.html
+share/doc/postgresql/html/ddl-system-columns.html
+share/doc/postgresql/html/ddl.html
+share/doc/postgresql/html/default-roles.html
+share/doc/postgresql/html/dict-int.html
+share/doc/postgresql/html/dict-xsyn.html
+share/doc/postgresql/html/different-replication-solutions.html
+share/doc/postgresql/html/disk-full.html
+share/doc/postgresql/html/disk-usage.html
+share/doc/postgresql/html/diskusage.html
+share/doc/postgresql/html/dml-delete.html
+share/doc/postgresql/html/dml-insert.html
+share/doc/postgresql/html/dml-update.html
+share/doc/postgresql/html/dml.html
+share/doc/postgresql/html/docguide-authoring.html
+share/doc/postgresql/html/docguide-build.html
+share/doc/postgresql/html/docguide-docbook.html
+share/doc/postgresql/html/docguide-style.html
+share/doc/postgresql/html/docguide-toolsets.html
+share/doc/postgresql/html/docguide.html
+share/doc/postgresql/html/dynamic-trace.html
+share/doc/postgresql/html/earthdistance.html
+share/doc/postgresql/html/ecpg-commands.html
+share/doc/postgresql/html/ecpg-concept.html
+share/doc/postgresql/html/ecpg-connect.html
+share/doc/postgresql/html/ecpg-cpp.html
+share/doc/postgresql/html/ecpg-descriptors.html
+share/doc/postgresql/html/ecpg-develop.html
+share/doc/postgresql/html/ecpg-dynamic.html
+share/doc/postgresql/html/ecpg-errors.html
+share/doc/postgresql/html/ecpg-informix-compat.html
+share/doc/postgresql/html/ecpg-library.html
+share/doc/postgresql/html/ecpg-lo.html
+share/doc/postgresql/html/ecpg-pgtypes.html
+share/doc/postgresql/html/ecpg-preproc.html
+share/doc/postgresql/html/ecpg-process.html
+share/doc/postgresql/html/ecpg-sql-allocate-descriptor.html
+share/doc/postgresql/html/ecpg-sql-commands.html
+share/doc/postgresql/html/ecpg-sql-connect.html
+share/doc/postgresql/html/ecpg-sql-deallocate-descriptor.html
+share/doc/postgresql/html/ecpg-sql-declare.html
+share/doc/postgresql/html/ecpg-sql-describe.html
+share/doc/postgresql/html/ecpg-sql-disconnect.html
+share/doc/postgresql/html/ecpg-sql-execute-immediate.html
+share/doc/postgresql/html/ecpg-sql-get-descriptor.html
+share/doc/postgresql/html/ecpg-sql-open.html
+share/doc/postgresql/html/ecpg-sql-prepare.html
+share/doc/postgresql/html/ecpg-sql-set-autocommit.html
+share/doc/postgresql/html/ecpg-sql-set-connection.html
+share/doc/postgresql/html/ecpg-sql-set-descriptor.html
+share/doc/postgresql/html/ecpg-sql-type.html
+share/doc/postgresql/html/ecpg-sql-var.html
+share/doc/postgresql/html/ecpg-sql-whenever.html
+share/doc/postgresql/html/ecpg-variables.html
+share/doc/postgresql/html/ecpg.html
+share/doc/postgresql/html/encryption-options.html
+share/doc/postgresql/html/errcodes-appendix.html
+share/doc/postgresql/html/error-message-reporting.html
+share/doc/postgresql/html/error-style-guide.html
+share/doc/postgresql/html/event-log-registration.html
+share/doc/postgresql/html/event-trigger-definition.html
+share/doc/postgresql/html/event-trigger-example.html
+share/doc/postgresql/html/event-trigger-interface.html
+share/doc/postgresql/html/event-trigger-matrix.html
+share/doc/postgresql/html/event-trigger-table-rewrite-example.html
+share/doc/postgresql/html/event-triggers.html
+share/doc/postgresql/html/executor.html
+share/doc/postgresql/html/explicit-joins.html
+share/doc/postgresql/html/explicit-locking.html
+share/doc/postgresql/html/extend-extensions.html
+share/doc/postgresql/html/extend-how.html
+share/doc/postgresql/html/extend-pgxs.html
+share/doc/postgresql/html/extend-type-system.html
+share/doc/postgresql/html/extend.html
+share/doc/postgresql/html/external-admin-tools.html
+share/doc/postgresql/html/external-extensions.html
+share/doc/postgresql/html/external-interfaces.html
+share/doc/postgresql/html/external-pl.html
+share/doc/postgresql/html/external-projects.html
+share/doc/postgresql/html/fdw-callbacks.html
+share/doc/postgresql/html/fdw-functions.html
+share/doc/postgresql/html/fdw-helpers.html
+share/doc/postgresql/html/fdw-planning.html
+share/doc/postgresql/html/fdw-row-locking.html
+share/doc/postgresql/html/fdwhandler.html
+share/doc/postgresql/html/features-sql-standard.html
+share/doc/postgresql/html/features.html
+share/doc/postgresql/html/file-fdw.html
+share/doc/postgresql/html/functions-admin.html
+share/doc/postgresql/html/functions-aggregate.html
+share/doc/postgresql/html/functions-array.html
+share/doc/postgresql/html/functions-binarystring.html
+share/doc/postgresql/html/functions-bitstring.html
+share/doc/postgresql/html/functions-comparison.html
+share/doc/postgresql/html/functions-comparisons.html
+share/doc/postgresql/html/functions-conditional.html
+share/doc/postgresql/html/functions-datetime.html
+share/doc/postgresql/html/functions-enum.html
+share/doc/postgresql/html/functions-event-triggers.html
+share/doc/postgresql/html/functions-formatting.html
+share/doc/postgresql/html/functions-geometry.html
+share/doc/postgresql/html/functions-info.html
+share/doc/postgresql/html/functions-json.html
+share/doc/postgresql/html/functions-logical.html
+share/doc/postgresql/html/functions-matching.html
+share/doc/postgresql/html/functions-math.html
+share/doc/postgresql/html/functions-net.html
+share/doc/postgresql/html/functions-range.html
+share/doc/postgresql/html/functions-sequence.html
+share/doc/postgresql/html/functions-srf.html
+share/doc/postgresql/html/functions-string.html
+share/doc/postgresql/html/functions-subquery.html
+share/doc/postgresql/html/functions-textsearch.html
+share/doc/postgresql/html/functions-trigger.html
+share/doc/postgresql/html/functions-window.html
+share/doc/postgresql/html/functions-xml.html
+share/doc/postgresql/html/functions.html
+share/doc/postgresql/html/fuzzystrmatch.html
+share/doc/postgresql/html/generic-wal.html
+share/doc/postgresql/html/geqo-biblio.html
+share/doc/postgresql/html/geqo-intro.html
+share/doc/postgresql/html/geqo-intro2.html
+share/doc/postgresql/html/geqo-pg-intro.html
+share/doc/postgresql/html/geqo.html
+share/doc/postgresql/html/gin-builtin-opclasses.html
+share/doc/postgresql/html/gin-examples.html
+share/doc/postgresql/html/gin-extensibility.html
+share/doc/postgresql/html/gin-implementation.html
+share/doc/postgresql/html/gin-intro.html
+share/doc/postgresql/html/gin-limit.html
+share/doc/postgresql/html/gin-tips.html
+share/doc/postgresql/html/gin.html
+share/doc/postgresql/html/gist-builtin-opclasses.html
+share/doc/postgresql/html/gist-examples.html
+share/doc/postgresql/html/gist-extensibility.html
+share/doc/postgresql/html/gist-implementation.html
+share/doc/postgresql/html/gist-intro.html
+share/doc/postgresql/html/gist.html
+share/doc/postgresql/html/git.html
+share/doc/postgresql/html/high-availability.html
+share/doc/postgresql/html/history.html
+share/doc/postgresql/html/hot-standby.html
+share/doc/postgresql/html/how-parallel-query-works.html
+share/doc/postgresql/html/hstore.html
+share/doc/postgresql/html/index-api.html
+share/doc/postgresql/html/index-cost-estimation.html
+share/doc/postgresql/html/index-functions.html
+share/doc/postgresql/html/index-locking.html
+share/doc/postgresql/html/index-scanning.html
+share/doc/postgresql/html/index-unique-checks.html
+share/doc/postgresql/html/index.html
+share/doc/postgresql/html/indexam.html
+share/doc/postgresql/html/indexes-bitmap-scans.html
+share/doc/postgresql/html/indexes-collations.html
+share/doc/postgresql/html/indexes-examine.html
+share/doc/postgresql/html/indexes-expressional.html
+share/doc/postgresql/html/indexes-index-only-scans.html
+share/doc/postgresql/html/indexes-intro.html
+share/doc/postgresql/html/indexes-multicolumn.html
+share/doc/postgresql/html/indexes-opclass.html
+share/doc/postgresql/html/indexes-ordering.html
+share/doc/postgresql/html/indexes-partial.html
+share/doc/postgresql/html/indexes-types.html
+share/doc/postgresql/html/indexes-unique.html
+share/doc/postgresql/html/indexes.html
+share/doc/postgresql/html/information-schema.html
+share/doc/postgresql/html/infoschema-administrable-role-authorizations.html
+share/doc/postgresql/html/infoschema-applicable-roles.html
+share/doc/postgresql/html/infoschema-attributes.html
+share/doc/postgresql/html/infoschema-character-sets.html
+share/doc/postgresql/html/infoschema-check-constraint-routine-usage.html
+share/doc/postgresql/html/infoschema-check-constraints.html
+share/doc/postgresql/html/infoschema-collation-character-set-applicab.html
+share/doc/postgresql/html/infoschema-collations.html
+share/doc/postgresql/html/infoschema-column-domain-usage.html
+share/doc/postgresql/html/infoschema-column-options.html
+share/doc/postgresql/html/infoschema-column-privileges.html
+share/doc/postgresql/html/infoschema-column-udt-usage.html
+share/doc/postgresql/html/infoschema-columns.html
+share/doc/postgresql/html/infoschema-constraint-column-usage.html
+share/doc/postgresql/html/infoschema-constraint-table-usage.html
+share/doc/postgresql/html/infoschema-data-type-privileges.html
+share/doc/postgresql/html/infoschema-datatypes.html
+share/doc/postgresql/html/infoschema-domain-constraints.html
+share/doc/postgresql/html/infoschema-domain-udt-usage.html
+share/doc/postgresql/html/infoschema-domains.html
+share/doc/postgresql/html/infoschema-element-types.html
+share/doc/postgresql/html/infoschema-enabled-roles.html
+share/doc/postgresql/html/infoschema-foreign-data-wrapper-options.html
+share/doc/postgresql/html/infoschema-foreign-data-wrappers.html
+share/doc/postgresql/html/infoschema-foreign-server-options.html
+share/doc/postgresql/html/infoschema-foreign-servers.html
+share/doc/postgresql/html/infoschema-foreign-table-options.html
+share/doc/postgresql/html/infoschema-foreign-tables.html
+share/doc/postgresql/html/infoschema-information-schema-catalog-name.html
+share/doc/postgresql/html/infoschema-key-column-usage.html
+share/doc/postgresql/html/infoschema-parameters.html
+share/doc/postgresql/html/infoschema-referential-constraints.html
+share/doc/postgresql/html/infoschema-role-column-grants.html
+share/doc/postgresql/html/infoschema-role-routine-grants.html
+share/doc/postgresql/html/infoschema-role-table-grants.html
+share/doc/postgresql/html/infoschema-role-udt-grants.html
+share/doc/postgresql/html/infoschema-role-usage-grants.html
+share/doc/postgresql/html/infoschema-routine-privileges.html
+share/doc/postgresql/html/infoschema-routines.html
+share/doc/postgresql/html/infoschema-schema.html
+share/doc/postgresql/html/infoschema-schemata.html
+share/doc/postgresql/html/infoschema-sequences.html
+share/doc/postgresql/html/infoschema-sql-features.html
+share/doc/postgresql/html/infoschema-sql-implementation-info.html
+share/doc/postgresql/html/infoschema-sql-languages.html
+share/doc/postgresql/html/infoschema-sql-packages.html
+share/doc/postgresql/html/infoschema-sql-parts.html
+share/doc/postgresql/html/infoschema-sql-sizing-profiles.html
+share/doc/postgresql/html/infoschema-sql-sizing.html
+share/doc/postgresql/html/infoschema-table-constraints.html
+share/doc/postgresql/html/infoschema-table-privileges.html
+share/doc/postgresql/html/infoschema-tables.html
+share/doc/postgresql/html/infoschema-transforms.html
+share/doc/postgresql/html/infoschema-triggered-update-columns.html
+share/doc/postgresql/html/infoschema-triggers.html
+share/doc/postgresql/html/infoschema-udt-privileges.html
+share/doc/postgresql/html/infoschema-usage-privileges.html
+share/doc/postgresql/html/infoschema-user-defined-types.html
+share/doc/postgresql/html/infoschema-user-mapping-options.html
+share/doc/postgresql/html/infoschema-user-mappings.html
+share/doc/postgresql/html/infoschema-view-column-usage.html
+share/doc/postgresql/html/infoschema-view-routine-usage.html
+share/doc/postgresql/html/infoschema-view-table-usage.html
+share/doc/postgresql/html/infoschema-views.html
+share/doc/postgresql/html/install-getsource.html
+share/doc/postgresql/html/install-post.html
+share/doc/postgresql/html/install-procedure.html
+share/doc/postgresql/html/install-requirements.html
+share/doc/postgresql/html/install-short.html
+share/doc/postgresql/html/install-windows-full.html
+share/doc/postgresql/html/install-windows-libpq.html
+share/doc/postgresql/html/install-windows.html
+share/doc/postgresql/html/installation-platform-notes.html
+share/doc/postgresql/html/installation.html
+share/doc/postgresql/html/intagg.html
+share/doc/postgresql/html/intarray.html
+share/doc/postgresql/html/internals.html
+share/doc/postgresql/html/intro-whatis.html
+share/doc/postgresql/html/isn.html
+share/doc/postgresql/html/kernel-resources.html
+share/doc/postgresql/html/largeobjects.html
+share/doc/postgresql/html/libpq-async.html
+share/doc/postgresql/html/libpq-build.html
+share/doc/postgresql/html/libpq-cancel.html
+share/doc/postgresql/html/libpq-connect.html
+share/doc/postgresql/html/libpq-control.html
+share/doc/postgresql/html/libpq-copy.html
+share/doc/postgresql/html/libpq-envars.html
+share/doc/postgresql/html/libpq-events.html
+share/doc/postgresql/html/libpq-example.html
+share/doc/postgresql/html/libpq-exec.html
+share/doc/postgresql/html/libpq-fastpath.html
+share/doc/postgresql/html/libpq-ldap.html
+share/doc/postgresql/html/libpq-misc.html
+share/doc/postgresql/html/libpq-notice-processing.html
+share/doc/postgresql/html/libpq-notify.html
+share/doc/postgresql/html/libpq-pgpass.html
+share/doc/postgresql/html/libpq-pgservice.html
+share/doc/postgresql/html/libpq-single-row-mode.html
+share/doc/postgresql/html/libpq-ssl.html
+share/doc/postgresql/html/libpq-status.html
+share/doc/postgresql/html/libpq-threading.html
+share/doc/postgresql/html/libpq.html
+share/doc/postgresql/html/lo-examplesect.html
+share/doc/postgresql/html/lo-funcs.html
+share/doc/postgresql/html/lo-implementation.html
+share/doc/postgresql/html/lo-interfaces.html
+share/doc/postgresql/html/lo-intro.html
+share/doc/postgresql/html/lo.html
+share/doc/postgresql/html/locale.html
+share/doc/postgresql/html/locking-indexes.html
+share/doc/postgresql/html/log-shipping-alternative.html
+share/doc/postgresql/html/logfile-maintenance.html
+share/doc/postgresql/html/logicaldecoding-catalogs.html
+share/doc/postgresql/html/logicaldecoding-example.html
+share/doc/postgresql/html/logicaldecoding-explanation.html
+share/doc/postgresql/html/logicaldecoding-output-plugin.html
+share/doc/postgresql/html/logicaldecoding-sql.html
+share/doc/postgresql/html/logicaldecoding-synchronous.html
+share/doc/postgresql/html/logicaldecoding-walsender.html
+share/doc/postgresql/html/logicaldecoding-writer.html
+share/doc/postgresql/html/logicaldecoding.html
+share/doc/postgresql/html/ltree.html
+share/doc/postgresql/html/maintenance.html
+share/doc/postgresql/html/manage-ag-config.html
+share/doc/postgresql/html/manage-ag-createdb.html
+share/doc/postgresql/html/manage-ag-dropdb.html
+share/doc/postgresql/html/manage-ag-overview.html
+share/doc/postgresql/html/manage-ag-tablespaces.html
+share/doc/postgresql/html/manage-ag-templatedbs.html
+share/doc/postgresql/html/managing-databases.html
+share/doc/postgresql/html/monitoring-locks.html
+share/doc/postgresql/html/monitoring-ps.html
+share/doc/postgresql/html/monitoring-stats.html
+share/doc/postgresql/html/monitoring.html
+share/doc/postgresql/html/multibyte.html
+share/doc/postgresql/html/mvcc-caveats.html
+share/doc/postgresql/html/mvcc-intro.html
+share/doc/postgresql/html/mvcc.html
+share/doc/postgresql/html/nls-programmer.html
+share/doc/postgresql/html/nls-translator.html
+share/doc/postgresql/html/nls.html
+share/doc/postgresql/html/non-durability.html
+share/doc/postgresql/html/notation.html
+share/doc/postgresql/html/oid2name.html
+share/doc/postgresql/html/overview.html
+share/doc/postgresql/html/pageinspect.html
+share/doc/postgresql/html/parallel-plans.html
+share/doc/postgresql/html/parallel-query.html
+share/doc/postgresql/html/parallel-safety.html
+share/doc/postgresql/html/parser-stage.html
+share/doc/postgresql/html/passwordcheck.html
+share/doc/postgresql/html/performance-tips.html
+share/doc/postgresql/html/perm-functions.html
+share/doc/postgresql/html/pgarchivecleanup.html
+share/doc/postgresql/html/pgbench.html
+share/doc/postgresql/html/pgbuffercache.html
+share/doc/postgresql/html/pgcrypto.html
+share/doc/postgresql/html/pgfreespacemap.html
+share/doc/postgresql/html/pgprewarm.html
+share/doc/postgresql/html/pgrowlocks.html
+share/doc/postgresql/html/pgstandby.html
+share/doc/postgresql/html/pgstatstatements.html
+share/doc/postgresql/html/pgstattuple.html
+share/doc/postgresql/html/pgtestfsync.html
+share/doc/postgresql/html/pgtesttiming.html
+share/doc/postgresql/html/pgtrgm.html
+share/doc/postgresql/html/pgupgrade.html
+share/doc/postgresql/html/pgvisibility.html
+share/doc/postgresql/html/pgxlogdump.html
+share/doc/postgresql/html/planner-optimizer.html
+share/doc/postgresql/html/planner-stats-details.html
+share/doc/postgresql/html/planner-stats.html
+share/doc/postgresql/html/plhandler.html
+share/doc/postgresql/html/plperl-builtins.html
+share/doc/postgresql/html/plperl-data.html
+share/doc/postgresql/html/plperl-event-triggers.html
+share/doc/postgresql/html/plperl-funcs.html
+share/doc/postgresql/html/plperl-global.html
+share/doc/postgresql/html/plperl-triggers.html
+share/doc/postgresql/html/plperl-trusted.html
+share/doc/postgresql/html/plperl-under-the-hood.html
+share/doc/postgresql/html/plperl.html
+share/doc/postgresql/html/plpgsql-control-structures.html
+share/doc/postgresql/html/plpgsql-cursors.html
+share/doc/postgresql/html/plpgsql-declarations.html
+share/doc/postgresql/html/plpgsql-development-tips.html
+share/doc/postgresql/html/plpgsql-errors-and-messages.html
+share/doc/postgresql/html/plpgsql-expressions.html
+share/doc/postgresql/html/plpgsql-implementation.html
+share/doc/postgresql/html/plpgsql-overview.html
+share/doc/postgresql/html/plpgsql-porting.html
+share/doc/postgresql/html/plpgsql-statements.html
+share/doc/postgresql/html/plpgsql-structure.html
+share/doc/postgresql/html/plpgsql-trigger.html
+share/doc/postgresql/html/plpgsql.html
+share/doc/postgresql/html/plpython-data.html
+share/doc/postgresql/html/plpython-database.html
+share/doc/postgresql/html/plpython-do.html
+share/doc/postgresql/html/plpython-envar.html
+share/doc/postgresql/html/plpython-funcs.html
+share/doc/postgresql/html/plpython-python23.html
+share/doc/postgresql/html/plpython-sharing.html
+share/doc/postgresql/html/plpython-subtransaction.html
+share/doc/postgresql/html/plpython-trigger.html
+share/doc/postgresql/html/plpython-util.html
+share/doc/postgresql/html/plpython.html
+share/doc/postgresql/html/pltcl-data.html
+share/doc/postgresql/html/pltcl-dbaccess.html
+share/doc/postgresql/html/pltcl-error-handling.html
+share/doc/postgresql/html/pltcl-event-trigger.html
+share/doc/postgresql/html/pltcl-functions.html
+share/doc/postgresql/html/pltcl-global.html
+share/doc/postgresql/html/pltcl-overview.html
+share/doc/postgresql/html/pltcl-procnames.html
+share/doc/postgresql/html/pltcl-trigger.html
+share/doc/postgresql/html/pltcl-unknown.html
+share/doc/postgresql/html/pltcl.html
+share/doc/postgresql/html/populate.html
+share/doc/postgresql/html/postgres-fdw.html
+share/doc/postgresql/html/postgres-user.html
+share/doc/postgresql/html/preface.html
+share/doc/postgresql/html/preventing-server-spoofing.html
+share/doc/postgresql/html/progress-reporting.html
+share/doc/postgresql/html/protocol-changes.html
+share/doc/postgresql/html/protocol-error-fields.html
+share/doc/postgresql/html/protocol-flow.html
+share/doc/postgresql/html/protocol-message-formats.html
+share/doc/postgresql/html/protocol-message-types.html
+share/doc/postgresql/html/protocol-overview.html
+share/doc/postgresql/html/protocol-replication.html
+share/doc/postgresql/html/protocol.html
+share/doc/postgresql/html/queries-limit.html
+share/doc/postgresql/html/queries-order.html
+share/doc/postgresql/html/queries-overview.html
+share/doc/postgresql/html/queries-select-lists.html
+share/doc/postgresql/html/queries-table-expressions.html
+share/doc/postgresql/html/queries-union.html
+share/doc/postgresql/html/queries-values.html
+share/doc/postgresql/html/queries-with.html
+share/doc/postgresql/html/queries.html
+share/doc/postgresql/html/query-path.html
+share/doc/postgresql/html/querytree.html
+share/doc/postgresql/html/rangetypes.html
+share/doc/postgresql/html/recovery-config.html
+share/doc/postgresql/html/recovery-target-settings.html
+share/doc/postgresql/html/reference-client.html
+share/doc/postgresql/html/reference-server.html
+share/doc/postgresql/html/reference.html
+share/doc/postgresql/html/regress-coverage.html
+share/doc/postgresql/html/regress-evaluation.html
+share/doc/postgresql/html/regress-run.html
+share/doc/postgresql/html/regress-tap.html
+share/doc/postgresql/html/regress-variant.html
+share/doc/postgresql/html/regress.html
+share/doc/postgresql/html/release-0-01.html
+share/doc/postgresql/html/release-0-02.html
+share/doc/postgresql/html/release-0-03.html
+share/doc/postgresql/html/release-1-0.html
+share/doc/postgresql/html/release-1-01.html
+share/doc/postgresql/html/release-1-02.html
+share/doc/postgresql/html/release-1-09.html
+share/doc/postgresql/html/release-6-0.html
+share/doc/postgresql/html/release-6-1-1.html
+share/doc/postgresql/html/release-6-1.html
+share/doc/postgresql/html/release-6-2-1.html
+share/doc/postgresql/html/release-6-2.html
+share/doc/postgresql/html/release-6-3-1.html
+share/doc/postgresql/html/release-6-3-2.html
+share/doc/postgresql/html/release-6-3.html
+share/doc/postgresql/html/release-6-4-1.html
+share/doc/postgresql/html/release-6-4-2.html
+share/doc/postgresql/html/release-6-4.html
+share/doc/postgresql/html/release-6-5-1.html
+share/doc/postgresql/html/release-6-5-2.html
+share/doc/postgresql/html/release-6-5-3.html
+share/doc/postgresql/html/release-6-5.html
+share/doc/postgresql/html/release-7-0-1.html
+share/doc/postgresql/html/release-7-0-2.html
+share/doc/postgresql/html/release-7-0-3.html
+share/doc/postgresql/html/release-7-0.html
+share/doc/postgresql/html/release-7-1-1.html
+share/doc/postgresql/html/release-7-1-2.html
+share/doc/postgresql/html/release-7-1-3.html
+share/doc/postgresql/html/release-7-1.html
+share/doc/postgresql/html/release-7-2-1.html
+share/doc/postgresql/html/release-7-2-2.html
+share/doc/postgresql/html/release-7-2-3.html
+share/doc/postgresql/html/release-7-2-4.html
+share/doc/postgresql/html/release-7-2-5.html
+share/doc/postgresql/html/release-7-2-6.html
+share/doc/postgresql/html/release-7-2-7.html
+share/doc/postgresql/html/release-7-2-8.html
+share/doc/postgresql/html/release-7-2.html
+share/doc/postgresql/html/release-7-3-1.html
+share/doc/postgresql/html/release-7-3-10.html
+share/doc/postgresql/html/release-7-3-11.html
+share/doc/postgresql/html/release-7-3-12.html
+share/doc/postgresql/html/release-7-3-13.html
+share/doc/postgresql/html/release-7-3-14.html
+share/doc/postgresql/html/release-7-3-15.html
+share/doc/postgresql/html/release-7-3-16.html
+share/doc/postgresql/html/release-7-3-17.html
+share/doc/postgresql/html/release-7-3-18.html
+share/doc/postgresql/html/release-7-3-19.html
+share/doc/postgresql/html/release-7-3-2.html
+share/doc/postgresql/html/release-7-3-20.html
+share/doc/postgresql/html/release-7-3-21.html
+share/doc/postgresql/html/release-7-3-3.html
+share/doc/postgresql/html/release-7-3-4.html
+share/doc/postgresql/html/release-7-3-5.html
+share/doc/postgresql/html/release-7-3-6.html
+share/doc/postgresql/html/release-7-3-7.html
+share/doc/postgresql/html/release-7-3-8.html
+share/doc/postgresql/html/release-7-3-9.html
+share/doc/postgresql/html/release-7-3.html
+share/doc/postgresql/html/release-7-4-1.html
+share/doc/postgresql/html/release-7-4-10.html
+share/doc/postgresql/html/release-7-4-11.html
+share/doc/postgresql/html/release-7-4-12.html
+share/doc/postgresql/html/release-7-4-13.html
+share/doc/postgresql/html/release-7-4-14.html
+share/doc/postgresql/html/release-7-4-15.html
+share/doc/postgresql/html/release-7-4-16.html
+share/doc/postgresql/html/release-7-4-17.html
+share/doc/postgresql/html/release-7-4-18.html
+share/doc/postgresql/html/release-7-4-19.html
+share/doc/postgresql/html/release-7-4-2.html
+share/doc/postgresql/html/release-7-4-20.html
+share/doc/postgresql/html/release-7-4-21.html
+share/doc/postgresql/html/release-7-4-22.html
+share/doc/postgresql/html/release-7-4-23.html
+share/doc/postgresql/html/release-7-4-24.html
+share/doc/postgresql/html/release-7-4-25.html
+share/doc/postgresql/html/release-7-4-26.html
+share/doc/postgresql/html/release-7-4-27.html
+share/doc/postgresql/html/release-7-4-28.html
+share/doc/postgresql/html/release-7-4-29.html
+share/doc/postgresql/html/release-7-4-3.html
+share/doc/postgresql/html/release-7-4-30.html
+share/doc/postgresql/html/release-7-4-4.html
+share/doc/postgresql/html/release-7-4-5.html
+share/doc/postgresql/html/release-7-4-6.html
+share/doc/postgresql/html/release-7-4-7.html
+share/doc/postgresql/html/release-7-4-8.html
+share/doc/postgresql/html/release-7-4-9.html
+share/doc/postgresql/html/release-7-4.html
+share/doc/postgresql/html/release-8-0-1.html
+share/doc/postgresql/html/release-8-0-10.html
+share/doc/postgresql/html/release-8-0-11.html
+share/doc/postgresql/html/release-8-0-12.html
+share/doc/postgresql/html/release-8-0-13.html
+share/doc/postgresql/html/release-8-0-14.html
+share/doc/postgresql/html/release-8-0-15.html
+share/doc/postgresql/html/release-8-0-16.html
+share/doc/postgresql/html/release-8-0-17.html
+share/doc/postgresql/html/release-8-0-18.html
+share/doc/postgresql/html/release-8-0-19.html
+share/doc/postgresql/html/release-8-0-2.html
+share/doc/postgresql/html/release-8-0-20.html
+share/doc/postgresql/html/release-8-0-21.html
+share/doc/postgresql/html/release-8-0-22.html
+share/doc/postgresql/html/release-8-0-23.html
+share/doc/postgresql/html/release-8-0-24.html
+share/doc/postgresql/html/release-8-0-25.html
+share/doc/postgresql/html/release-8-0-26.html
+share/doc/postgresql/html/release-8-0-3.html
+share/doc/postgresql/html/release-8-0-4.html
+share/doc/postgresql/html/release-8-0-5.html
+share/doc/postgresql/html/release-8-0-6.html
+share/doc/postgresql/html/release-8-0-7.html
+share/doc/postgresql/html/release-8-0-8.html
+share/doc/postgresql/html/release-8-0-9.html
+share/doc/postgresql/html/release-8-0.html
+share/doc/postgresql/html/release-8-1-1.html
+share/doc/postgresql/html/release-8-1-10.html
+share/doc/postgresql/html/release-8-1-11.html
+share/doc/postgresql/html/release-8-1-12.html
+share/doc/postgresql/html/release-8-1-13.html
+share/doc/postgresql/html/release-8-1-14.html
+share/doc/postgresql/html/release-8-1-15.html
+share/doc/postgresql/html/release-8-1-16.html
+share/doc/postgresql/html/release-8-1-17.html
+share/doc/postgresql/html/release-8-1-18.html
+share/doc/postgresql/html/release-8-1-19.html
+share/doc/postgresql/html/release-8-1-2.html
+share/doc/postgresql/html/release-8-1-20.html
+share/doc/postgresql/html/release-8-1-21.html
+share/doc/postgresql/html/release-8-1-22.html
+share/doc/postgresql/html/release-8-1-23.html
+share/doc/postgresql/html/release-8-1-3.html
+share/doc/postgresql/html/release-8-1-4.html
+share/doc/postgresql/html/release-8-1-5.html
+share/doc/postgresql/html/release-8-1-6.html
+share/doc/postgresql/html/release-8-1-7.html
+share/doc/postgresql/html/release-8-1-8.html
+share/doc/postgresql/html/release-8-1-9.html
+share/doc/postgresql/html/release-8-1.html
+share/doc/postgresql/html/release-8-2-1.html
+share/doc/postgresql/html/release-8-2-10.html
+share/doc/postgresql/html/release-8-2-11.html
+share/doc/postgresql/html/release-8-2-12.html
+share/doc/postgresql/html/release-8-2-13.html
+share/doc/postgresql/html/release-8-2-14.html
+share/doc/postgresql/html/release-8-2-15.html
+share/doc/postgresql/html/release-8-2-16.html
+share/doc/postgresql/html/release-8-2-17.html
+share/doc/postgresql/html/release-8-2-18.html
+share/doc/postgresql/html/release-8-2-19.html
+share/doc/postgresql/html/release-8-2-2.html
+share/doc/postgresql/html/release-8-2-20.html
+share/doc/postgresql/html/release-8-2-21.html
+share/doc/postgresql/html/release-8-2-22.html
+share/doc/postgresql/html/release-8-2-23.html
+share/doc/postgresql/html/release-8-2-3.html
+share/doc/postgresql/html/release-8-2-4.html
+share/doc/postgresql/html/release-8-2-5.html
+share/doc/postgresql/html/release-8-2-6.html
+share/doc/postgresql/html/release-8-2-7.html
+share/doc/postgresql/html/release-8-2-8.html
+share/doc/postgresql/html/release-8-2-9.html
+share/doc/postgresql/html/release-8-2.html
+share/doc/postgresql/html/release-8-3-1.html
+share/doc/postgresql/html/release-8-3-10.html
+share/doc/postgresql/html/release-8-3-11.html
+share/doc/postgresql/html/release-8-3-12.html
+share/doc/postgresql/html/release-8-3-13.html
+share/doc/postgresql/html/release-8-3-14.html
+share/doc/postgresql/html/release-8-3-15.html
+share/doc/postgresql/html/release-8-3-16.html
+share/doc/postgresql/html/release-8-3-17.html
+share/doc/postgresql/html/release-8-3-18.html
+share/doc/postgresql/html/release-8-3-19.html
+share/doc/postgresql/html/release-8-3-2.html
+share/doc/postgresql/html/release-8-3-20.html
+share/doc/postgresql/html/release-8-3-21.html
+share/doc/postgresql/html/release-8-3-22.html
+share/doc/postgresql/html/release-8-3-23.html
+share/doc/postgresql/html/release-8-3-3.html
+share/doc/postgresql/html/release-8-3-4.html
+share/doc/postgresql/html/release-8-3-5.html
+share/doc/postgresql/html/release-8-3-6.html
+share/doc/postgresql/html/release-8-3-7.html
+share/doc/postgresql/html/release-8-3-8.html
+share/doc/postgresql/html/release-8-3-9.html
+share/doc/postgresql/html/release-8-3.html
+share/doc/postgresql/html/release-8-4-1.html
+share/doc/postgresql/html/release-8-4-10.html
+share/doc/postgresql/html/release-8-4-11.html
+share/doc/postgresql/html/release-8-4-12.html
+share/doc/postgresql/html/release-8-4-13.html
+share/doc/postgresql/html/release-8-4-14.html
+share/doc/postgresql/html/release-8-4-15.html
+share/doc/postgresql/html/release-8-4-16.html
+share/doc/postgresql/html/release-8-4-17.html
+share/doc/postgresql/html/release-8-4-18.html
+share/doc/postgresql/html/release-8-4-19.html
+share/doc/postgresql/html/release-8-4-2.html
+share/doc/postgresql/html/release-8-4-20.html
+share/doc/postgresql/html/release-8-4-21.html
+share/doc/postgresql/html/release-8-4-22.html
+share/doc/postgresql/html/release-8-4-3.html
+share/doc/postgresql/html/release-8-4-4.html
+share/doc/postgresql/html/release-8-4-5.html
+share/doc/postgresql/html/release-8-4-6.html
+share/doc/postgresql/html/release-8-4-7.html
+share/doc/postgresql/html/release-8-4-8.html
+share/doc/postgresql/html/release-8-4-9.html
+share/doc/postgresql/html/release-8-4.html
+share/doc/postgresql/html/release-9-0-1.html
+share/doc/postgresql/html/release-9-0-10.html
+share/doc/postgresql/html/release-9-0-11.html
+share/doc/postgresql/html/release-9-0-12.html
+share/doc/postgresql/html/release-9-0-13.html
+share/doc/postgresql/html/release-9-0-14.html
+share/doc/postgresql/html/release-9-0-15.html
+share/doc/postgresql/html/release-9-0-16.html
+share/doc/postgresql/html/release-9-0-17.html
+share/doc/postgresql/html/release-9-0-18.html
+share/doc/postgresql/html/release-9-0-19.html
+share/doc/postgresql/html/release-9-0-2.html
+share/doc/postgresql/html/release-9-0-20.html
+share/doc/postgresql/html/release-9-0-21.html
+share/doc/postgresql/html/release-9-0-22.html
+share/doc/postgresql/html/release-9-0-23.html
+share/doc/postgresql/html/release-9-0-3.html
+share/doc/postgresql/html/release-9-0-4.html
+share/doc/postgresql/html/release-9-0-5.html
+share/doc/postgresql/html/release-9-0-6.html
+share/doc/postgresql/html/release-9-0-7.html
+share/doc/postgresql/html/release-9-0-8.html
+share/doc/postgresql/html/release-9-0-9.html
+share/doc/postgresql/html/release-9-0.html
+share/doc/postgresql/html/release-9-1-1.html
+share/doc/postgresql/html/release-9-1-10.html
+share/doc/postgresql/html/release-9-1-11.html
+share/doc/postgresql/html/release-9-1-12.html
+share/doc/postgresql/html/release-9-1-13.html
+share/doc/postgresql/html/release-9-1-14.html
+share/doc/postgresql/html/release-9-1-15.html
+share/doc/postgresql/html/release-9-1-16.html
+share/doc/postgresql/html/release-9-1-17.html
+share/doc/postgresql/html/release-9-1-18.html
+share/doc/postgresql/html/release-9-1-19.html
+share/doc/postgresql/html/release-9-1-2.html
+share/doc/postgresql/html/release-9-1-20.html
+share/doc/postgresql/html/release-9-1-21.html
+share/doc/postgresql/html/release-9-1-22.html
+share/doc/postgresql/html/release-9-1-23.html
+share/doc/postgresql/html/release-9-1-24.html
+share/doc/postgresql/html/release-9-1-3.html
+share/doc/postgresql/html/release-9-1-4.html
+share/doc/postgresql/html/release-9-1-5.html
+share/doc/postgresql/html/release-9-1-6.html
+share/doc/postgresql/html/release-9-1-7.html
+share/doc/postgresql/html/release-9-1-8.html
+share/doc/postgresql/html/release-9-1-9.html
+share/doc/postgresql/html/release-9-1.html
+share/doc/postgresql/html/release-9-2-1.html
+share/doc/postgresql/html/release-9-2-10.html
+share/doc/postgresql/html/release-9-2-11.html
+share/doc/postgresql/html/release-9-2-12.html
+share/doc/postgresql/html/release-9-2-13.html
+share/doc/postgresql/html/release-9-2-14.html
+share/doc/postgresql/html/release-9-2-15.html
+share/doc/postgresql/html/release-9-2-16.html
+share/doc/postgresql/html/release-9-2-17.html
+share/doc/postgresql/html/release-9-2-18.html
+share/doc/postgresql/html/release-9-2-19.html
+share/doc/postgresql/html/release-9-2-2.html
+share/doc/postgresql/html/release-9-2-3.html
+share/doc/postgresql/html/release-9-2-4.html
+share/doc/postgresql/html/release-9-2-5.html
+share/doc/postgresql/html/release-9-2-6.html
+share/doc/postgresql/html/release-9-2-7.html
+share/doc/postgresql/html/release-9-2-8.html
+share/doc/postgresql/html/release-9-2-9.html
+share/doc/postgresql/html/release-9-2.html
+share/doc/postgresql/html/release-9-3-1.html
+share/doc/postgresql/html/release-9-3-10.html
+share/doc/postgresql/html/release-9-3-11.html
+share/doc/postgresql/html/release-9-3-12.html
+share/doc/postgresql/html/release-9-3-13.html
+share/doc/postgresql/html/release-9-3-14.html
+share/doc/postgresql/html/release-9-3-15.html
+share/doc/postgresql/html/release-9-3-2.html
+share/doc/postgresql/html/release-9-3-3.html
+share/doc/postgresql/html/release-9-3-4.html
+share/doc/postgresql/html/release-9-3-5.html
+share/doc/postgresql/html/release-9-3-6.html
+share/doc/postgresql/html/release-9-3-7.html
+share/doc/postgresql/html/release-9-3-8.html
+share/doc/postgresql/html/release-9-3-9.html
+share/doc/postgresql/html/release-9-3.html
+share/doc/postgresql/html/release-9-4-1.html
+share/doc/postgresql/html/release-9-4-10.html
+share/doc/postgresql/html/release-9-4-2.html
+share/doc/postgresql/html/release-9-4-3.html
+share/doc/postgresql/html/release-9-4-4.html
+share/doc/postgresql/html/release-9-4-5.html
+share/doc/postgresql/html/release-9-4-6.html
+share/doc/postgresql/html/release-9-4-7.html
+share/doc/postgresql/html/release-9-4-8.html
+share/doc/postgresql/html/release-9-4-9.html
+share/doc/postgresql/html/release-9-4.html
+share/doc/postgresql/html/release-9-5-1.html
+share/doc/postgresql/html/release-9-5-2.html
+share/doc/postgresql/html/release-9-5-3.html
+share/doc/postgresql/html/release-9-5-4.html
+share/doc/postgresql/html/release-9-5-5.html
+share/doc/postgresql/html/release-9-5.html
+share/doc/postgresql/html/release-9-6-1.html
+share/doc/postgresql/html/release-9-6.html
+share/doc/postgresql/html/release.html
+share/doc/postgresql/html/replication-origins.html
+share/doc/postgresql/html/resources.html
+share/doc/postgresql/html/role-attributes.html
+share/doc/postgresql/html/role-membership.html
+share/doc/postgresql/html/role-removal.html
+share/doc/postgresql/html/routine-reindex.html
+share/doc/postgresql/html/routine-vacuuming.html
+share/doc/postgresql/html/row-estimation-examples.html
+share/doc/postgresql/html/rowtypes.html
+share/doc/postgresql/html/rule-system.html
+share/doc/postgresql/html/rules-materializedviews.html
+share/doc/postgresql/html/rules-privileges.html
+share/doc/postgresql/html/rules-status.html
+share/doc/postgresql/html/rules-triggers.html
+share/doc/postgresql/html/rules-update.html
+share/doc/postgresql/html/rules-views.html
+share/doc/postgresql/html/rules.html
+share/doc/postgresql/html/runtime-config-autovacuum.html
+share/doc/postgresql/html/runtime-config-client.html
+share/doc/postgresql/html/runtime-config-compatible.html
+share/doc/postgresql/html/runtime-config-connection.html
+share/doc/postgresql/html/runtime-config-custom.html
+share/doc/postgresql/html/runtime-config-developer.html
+share/doc/postgresql/html/runtime-config-error-handling.html
+share/doc/postgresql/html/runtime-config-file-locations.html
+share/doc/postgresql/html/runtime-config-locks.html
+share/doc/postgresql/html/runtime-config-logging.html
+share/doc/postgresql/html/runtime-config-preset.html
+share/doc/postgresql/html/runtime-config-query.html
+share/doc/postgresql/html/runtime-config-replication.html
+share/doc/postgresql/html/runtime-config-resource.html
+share/doc/postgresql/html/runtime-config-short.html
+share/doc/postgresql/html/runtime-config-statistics.html
+share/doc/postgresql/html/runtime-config-wal.html
+share/doc/postgresql/html/runtime-config.html
+share/doc/postgresql/html/runtime.html
+share/doc/postgresql/html/seg.html
+share/doc/postgresql/html/sepgsql.html
+share/doc/postgresql/html/server-programming.html
+share/doc/postgresql/html/server-shutdown.html
+share/doc/postgresql/html/server-start.html
+share/doc/postgresql/html/source-conventions.html
+share/doc/postgresql/html/source-format.html
+share/doc/postgresql/html/source.html
+share/doc/postgresql/html/sourcerepo.html
+share/doc/postgresql/html/spgist-builtin-opclasses.html
+share/doc/postgresql/html/spgist-examples.html
+share/doc/postgresql/html/spgist-extensibility.html
+share/doc/postgresql/html/spgist-implementation.html
+share/doc/postgresql/html/spgist-intro.html
+share/doc/postgresql/html/spgist.html
+share/doc/postgresql/html/spi-examples.html
+share/doc/postgresql/html/spi-interface-support.html
+share/doc/postgresql/html/spi-interface.html
+share/doc/postgresql/html/spi-memory.html
+share/doc/postgresql/html/spi-realloc.html
+share/doc/postgresql/html/spi-spi-connect.html
+share/doc/postgresql/html/spi-spi-copytuple.html
+share/doc/postgresql/html/spi-spi-cursor-close.html
+share/doc/postgresql/html/spi-spi-cursor-fetch.html
+share/doc/postgresql/html/spi-spi-cursor-find.html
+share/doc/postgresql/html/spi-spi-cursor-move.html
+share/doc/postgresql/html/spi-spi-cursor-open-with-args.html
+share/doc/postgresql/html/spi-spi-cursor-open-with-paramlist.html
+share/doc/postgresql/html/spi-spi-cursor-open.html
+share/doc/postgresql/html/spi-spi-exec.html
+share/doc/postgresql/html/spi-spi-execp.html
+share/doc/postgresql/html/spi-spi-execute-plan-with-paramlist.html
+share/doc/postgresql/html/spi-spi-execute-plan.html
+share/doc/postgresql/html/spi-spi-execute-with-args.html
+share/doc/postgresql/html/spi-spi-execute.html
+share/doc/postgresql/html/spi-spi-finish.html
+share/doc/postgresql/html/spi-spi-fname.html
+share/doc/postgresql/html/spi-spi-fnumber.html
+share/doc/postgresql/html/spi-spi-freeplan.html
+share/doc/postgresql/html/spi-spi-freetuple.html
+share/doc/postgresql/html/spi-spi-freetupletable.html
+share/doc/postgresql/html/spi-spi-getargcount.html
+share/doc/postgresql/html/spi-spi-getargtypeid.html
+share/doc/postgresql/html/spi-spi-getbinval.html
+share/doc/postgresql/html/spi-spi-getnspname.html
+share/doc/postgresql/html/spi-spi-getrelname.html
+share/doc/postgresql/html/spi-spi-gettype.html
+share/doc/postgresql/html/spi-spi-gettypeid.html
+share/doc/postgresql/html/spi-spi-getvalue.html
+share/doc/postgresql/html/spi-spi-is-cursor-plan.html
+share/doc/postgresql/html/spi-spi-keepplan.html
+share/doc/postgresql/html/spi-spi-modifytuple.html
+share/doc/postgresql/html/spi-spi-palloc.html
+share/doc/postgresql/html/spi-spi-pfree.html
+share/doc/postgresql/html/spi-spi-pop.html
+share/doc/postgresql/html/spi-spi-prepare-cursor.html
+share/doc/postgresql/html/spi-spi-prepare-params.html
+share/doc/postgresql/html/spi-spi-prepare.html
+share/doc/postgresql/html/spi-spi-push.html
+share/doc/postgresql/html/spi-spi-returntuple.html
+share/doc/postgresql/html/spi-spi-saveplan.html
+share/doc/postgresql/html/spi-spi-scroll-cursor-fetch.html
+share/doc/postgresql/html/spi-spi-scroll-cursor-move.html
+share/doc/postgresql/html/spi-visibility.html
+share/doc/postgresql/html/spi.html
+share/doc/postgresql/html/sql-abort.html
+share/doc/postgresql/html/sql-alteraggregate.html
+share/doc/postgresql/html/sql-altercollation.html
+share/doc/postgresql/html/sql-alterconversion.html
+share/doc/postgresql/html/sql-alterdatabase.html
+share/doc/postgresql/html/sql-alterdefaultprivileges.html
+share/doc/postgresql/html/sql-alterdomain.html
+share/doc/postgresql/html/sql-altereventtrigger.html
+share/doc/postgresql/html/sql-alterextension.html
+share/doc/postgresql/html/sql-alterforeigndatawrapper.html
+share/doc/postgresql/html/sql-alterforeigntable.html
+share/doc/postgresql/html/sql-alterfunction.html
+share/doc/postgresql/html/sql-altergroup.html
+share/doc/postgresql/html/sql-alterindex.html
+share/doc/postgresql/html/sql-alterlanguage.html
+share/doc/postgresql/html/sql-alterlargeobject.html
+share/doc/postgresql/html/sql-altermaterializedview.html
+share/doc/postgresql/html/sql-alteropclass.html
+share/doc/postgresql/html/sql-alteroperator.html
+share/doc/postgresql/html/sql-alteropfamily.html
+share/doc/postgresql/html/sql-alterpolicy.html
+share/doc/postgresql/html/sql-alterrole.html
+share/doc/postgresql/html/sql-alterrule.html
+share/doc/postgresql/html/sql-alterschema.html
+share/doc/postgresql/html/sql-altersequence.html
+share/doc/postgresql/html/sql-alterserver.html
+share/doc/postgresql/html/sql-altersystem.html
+share/doc/postgresql/html/sql-altertable.html
+share/doc/postgresql/html/sql-altertablespace.html
+share/doc/postgresql/html/sql-altertrigger.html
+share/doc/postgresql/html/sql-altertsconfig.html
+share/doc/postgresql/html/sql-altertsdictionary.html
+share/doc/postgresql/html/sql-altertsparser.html
+share/doc/postgresql/html/sql-altertstemplate.html
+share/doc/postgresql/html/sql-altertype.html
+share/doc/postgresql/html/sql-alteruser.html
+share/doc/postgresql/html/sql-alterusermapping.html
+share/doc/postgresql/html/sql-alterview.html
+share/doc/postgresql/html/sql-analyze.html
+share/doc/postgresql/html/sql-begin.html
+share/doc/postgresql/html/sql-checkpoint.html
+share/doc/postgresql/html/sql-close.html
+share/doc/postgresql/html/sql-cluster.html
+share/doc/postgresql/html/sql-commands.html
+share/doc/postgresql/html/sql-comment.html
+share/doc/postgresql/html/sql-commit-prepared.html
+share/doc/postgresql/html/sql-commit.html
+share/doc/postgresql/html/sql-copy.html
+share/doc/postgresql/html/sql-create-access-method.html
+share/doc/postgresql/html/sql-createaggregate.html
+share/doc/postgresql/html/sql-createcast.html
+share/doc/postgresql/html/sql-createcollation.html
+share/doc/postgresql/html/sql-createconversion.html
+share/doc/postgresql/html/sql-createdatabase.html
+share/doc/postgresql/html/sql-createdomain.html
+share/doc/postgresql/html/sql-createeventtrigger.html
+share/doc/postgresql/html/sql-createextension.html
+share/doc/postgresql/html/sql-createforeigndatawrapper.html
+share/doc/postgresql/html/sql-createforeigntable.html
+share/doc/postgresql/html/sql-createfunction.html
+share/doc/postgresql/html/sql-creategroup.html
+share/doc/postgresql/html/sql-createindex.html
+share/doc/postgresql/html/sql-createlanguage.html
+share/doc/postgresql/html/sql-creatematerializedview.html
+share/doc/postgresql/html/sql-createopclass.html
+share/doc/postgresql/html/sql-createoperator.html
+share/doc/postgresql/html/sql-createopfamily.html
+share/doc/postgresql/html/sql-createpolicy.html
+share/doc/postgresql/html/sql-createrole.html
+share/doc/postgresql/html/sql-createrule.html
+share/doc/postgresql/html/sql-createschema.html
+share/doc/postgresql/html/sql-createsequence.html
+share/doc/postgresql/html/sql-createserver.html
+share/doc/postgresql/html/sql-createtable.html
+share/doc/postgresql/html/sql-createtableas.html
+share/doc/postgresql/html/sql-createtablespace.html
+share/doc/postgresql/html/sql-createtransform.html
+share/doc/postgresql/html/sql-createtrigger.html
+share/doc/postgresql/html/sql-createtsconfig.html
+share/doc/postgresql/html/sql-createtsdictionary.html
+share/doc/postgresql/html/sql-createtsparser.html
+share/doc/postgresql/html/sql-createtstemplate.html
+share/doc/postgresql/html/sql-createtype.html
+share/doc/postgresql/html/sql-createuser.html
+share/doc/postgresql/html/sql-createusermapping.html
+share/doc/postgresql/html/sql-createview.html
+share/doc/postgresql/html/sql-deallocate.html
+share/doc/postgresql/html/sql-declare.html
+share/doc/postgresql/html/sql-delete.html
+share/doc/postgresql/html/sql-discard.html
+share/doc/postgresql/html/sql-do.html
+share/doc/postgresql/html/sql-drop-access-method.html
+share/doc/postgresql/html/sql-drop-owned.html
+share/doc/postgresql/html/sql-dropaggregate.html
+share/doc/postgresql/html/sql-dropcast.html
+share/doc/postgresql/html/sql-dropcollation.html
+share/doc/postgresql/html/sql-dropconversion.html
+share/doc/postgresql/html/sql-dropdatabase.html
+share/doc/postgresql/html/sql-dropdomain.html
+share/doc/postgresql/html/sql-dropeventtrigger.html
+share/doc/postgresql/html/sql-dropextension.html
+share/doc/postgresql/html/sql-dropforeigndatawrapper.html
+share/doc/postgresql/html/sql-dropforeigntable.html
+share/doc/postgresql/html/sql-dropfunction.html
+share/doc/postgresql/html/sql-dropgroup.html
+share/doc/postgresql/html/sql-dropindex.html
+share/doc/postgresql/html/sql-droplanguage.html
+share/doc/postgresql/html/sql-dropmaterializedview.html
+share/doc/postgresql/html/sql-dropopclass.html
+share/doc/postgresql/html/sql-dropoperator.html
+share/doc/postgresql/html/sql-dropopfamily.html
+share/doc/postgresql/html/sql-droppolicy.html
+share/doc/postgresql/html/sql-droprole.html
+share/doc/postgresql/html/sql-droprule.html
+share/doc/postgresql/html/sql-dropschema.html
+share/doc/postgresql/html/sql-dropsequence.html
+share/doc/postgresql/html/sql-dropserver.html
+share/doc/postgresql/html/sql-droptable.html
+share/doc/postgresql/html/sql-droptablespace.html
+share/doc/postgresql/html/sql-droptransform.html
+share/doc/postgresql/html/sql-droptrigger.html
+share/doc/postgresql/html/sql-droptsconfig.html
+share/doc/postgresql/html/sql-droptsdictionary.html
+share/doc/postgresql/html/sql-droptsparser.html
+share/doc/postgresql/html/sql-droptstemplate.html
+share/doc/postgresql/html/sql-droptype.html
+share/doc/postgresql/html/sql-dropuser.html
+share/doc/postgresql/html/sql-dropusermapping.html
+share/doc/postgresql/html/sql-dropview.html
+share/doc/postgresql/html/sql-end.html
+share/doc/postgresql/html/sql-execute.html
+share/doc/postgresql/html/sql-explain.html
+share/doc/postgresql/html/sql-expressions.html
+share/doc/postgresql/html/sql-fetch.html
+share/doc/postgresql/html/sql-grant.html
+share/doc/postgresql/html/sql-importforeignschema.html
+share/doc/postgresql/html/sql-insert.html
+share/doc/postgresql/html/sql-keywords-appendix.html
+share/doc/postgresql/html/sql-listen.html
+share/doc/postgresql/html/sql-load.html
+share/doc/postgresql/html/sql-lock.html
+share/doc/postgresql/html/sql-move.html
+share/doc/postgresql/html/sql-notify.html
+share/doc/postgresql/html/sql-prepare-transaction.html
+share/doc/postgresql/html/sql-prepare.html
+share/doc/postgresql/html/sql-reassign-owned.html
+share/doc/postgresql/html/sql-refreshmaterializedview.html
+share/doc/postgresql/html/sql-reindex.html
+share/doc/postgresql/html/sql-release-savepoint.html
+share/doc/postgresql/html/sql-reset.html
+share/doc/postgresql/html/sql-revoke.html
+share/doc/postgresql/html/sql-rollback-prepared.html
+share/doc/postgresql/html/sql-rollback-to.html
+share/doc/postgresql/html/sql-rollback.html
+share/doc/postgresql/html/sql-savepoint.html
+share/doc/postgresql/html/sql-security-label.html
+share/doc/postgresql/html/sql-select.html
+share/doc/postgresql/html/sql-selectinto.html
+share/doc/postgresql/html/sql-set-constraints.html
+share/doc/postgresql/html/sql-set-role.html
+share/doc/postgresql/html/sql-set-session-authorization.html
+share/doc/postgresql/html/sql-set-transaction.html
+share/doc/postgresql/html/sql-set.html
+share/doc/postgresql/html/sql-show.html
+share/doc/postgresql/html/sql-start-transaction.html
+share/doc/postgresql/html/sql-syntax-calling-funcs.html
+share/doc/postgresql/html/sql-syntax-lexical.html
+share/doc/postgresql/html/sql-syntax.html
+share/doc/postgresql/html/sql-truncate.html
+share/doc/postgresql/html/sql-unlisten.html
+share/doc/postgresql/html/sql-update.html
+share/doc/postgresql/html/sql-vacuum.html
+share/doc/postgresql/html/sql-values.html
+share/doc/postgresql/html/sql.html
+share/doc/postgresql/html/ssh-tunnels.html
+share/doc/postgresql/html/ssl-tcp.html
+share/doc/postgresql/html/sslinfo.html
+share/doc/postgresql/html/standby-settings.html
+share/doc/postgresql/html/storage-file-layout.html
+share/doc/postgresql/html/storage-fsm.html
+share/doc/postgresql/html/storage-init.html
+share/doc/postgresql/html/storage-page-layout.html
+share/doc/postgresql/html/storage-toast.html
+share/doc/postgresql/html/storage-vm.html
+share/doc/postgresql/html/storage.html
+share/doc/postgresql/html/stylesheet.css
+share/doc/postgresql/html/supported-platforms.html
+share/doc/postgresql/html/tablefunc.html
+share/doc/postgresql/html/tablesample-method.html
+share/doc/postgresql/html/tablesample-support-functions.html
+share/doc/postgresql/html/tcn.html
+share/doc/postgresql/html/test-decoding.html
+share/doc/postgresql/html/textsearch-configuration.html
+share/doc/postgresql/html/textsearch-controls.html
+share/doc/postgresql/html/textsearch-debugging.html
+share/doc/postgresql/html/textsearch-dictionaries.html
+share/doc/postgresql/html/textsearch-features.html
+share/doc/postgresql/html/textsearch-indexes.html
+share/doc/postgresql/html/textsearch-intro.html
+share/doc/postgresql/html/textsearch-limitations.html
+share/doc/postgresql/html/textsearch-migration.html
+share/doc/postgresql/html/textsearch-parsers.html
+share/doc/postgresql/html/textsearch-psql.html
+share/doc/postgresql/html/textsearch-tables.html
+share/doc/postgresql/html/textsearch.html
+share/doc/postgresql/html/transaction-iso.html
+share/doc/postgresql/html/trigger-datachanges.html
+share/doc/postgresql/html/trigger-definition.html
+share/doc/postgresql/html/trigger-example.html
+share/doc/postgresql/html/trigger-interface.html
+share/doc/postgresql/html/triggers.html
+share/doc/postgresql/html/tsearch2.html
+share/doc/postgresql/html/tsm-system-rows.html
+share/doc/postgresql/html/tsm-system-time.html
+share/doc/postgresql/html/tutorial-accessdb.html
+share/doc/postgresql/html/tutorial-advanced-intro.html
+share/doc/postgresql/html/tutorial-advanced.html
+share/doc/postgresql/html/tutorial-agg.html
+share/doc/postgresql/html/tutorial-arch.html
+share/doc/postgresql/html/tutorial-concepts.html
+share/doc/postgresql/html/tutorial-conclusion.html
+share/doc/postgresql/html/tutorial-createdb.html
+share/doc/postgresql/html/tutorial-delete.html
+share/doc/postgresql/html/tutorial-fk.html
+share/doc/postgresql/html/tutorial-inheritance.html
+share/doc/postgresql/html/tutorial-install.html
+share/doc/postgresql/html/tutorial-join.html
+share/doc/postgresql/html/tutorial-populate.html
+share/doc/postgresql/html/tutorial-select.html
+share/doc/postgresql/html/tutorial-sql-intro.html
+share/doc/postgresql/html/tutorial-sql.html
+share/doc/postgresql/html/tutorial-start.html
+share/doc/postgresql/html/tutorial-table.html
+share/doc/postgresql/html/tutorial-transactions.html
+share/doc/postgresql/html/tutorial-update.html
+share/doc/postgresql/html/tutorial-views.html
+share/doc/postgresql/html/tutorial-window.html
+share/doc/postgresql/html/tutorial.html
+share/doc/postgresql/html/typeconv-func.html
+share/doc/postgresql/html/typeconv-oper.html
+share/doc/postgresql/html/typeconv-overview.html
+share/doc/postgresql/html/typeconv-query.html
+share/doc/postgresql/html/typeconv-union-case.html
+share/doc/postgresql/html/typeconv.html
+share/doc/postgresql/html/unaccent.html
+share/doc/postgresql/html/unsupported-features-sql-standard.html
+share/doc/postgresql/html/upgrading.html
+share/doc/postgresql/html/user-manag.html
+share/doc/postgresql/html/using-explain.html
+share/doc/postgresql/html/uuid-ossp.html
+share/doc/postgresql/html/vacuumlo.html
+share/doc/postgresql/html/view-pg-available-extension-versions.html
+share/doc/postgresql/html/view-pg-available-extensions.html
+share/doc/postgresql/html/view-pg-config.html
+share/doc/postgresql/html/view-pg-cursors.html
+share/doc/postgresql/html/view-pg-file-settings.html
+share/doc/postgresql/html/view-pg-group.html
+share/doc/postgresql/html/view-pg-indexes.html
+share/doc/postgresql/html/view-pg-locks.html
+share/doc/postgresql/html/view-pg-matviews.html
+share/doc/postgresql/html/view-pg-policies.html
+share/doc/postgresql/html/view-pg-prepared-statements.html
+share/doc/postgresql/html/view-pg-prepared-xacts.html
+share/doc/postgresql/html/view-pg-replication-origin-status.html
+share/doc/postgresql/html/view-pg-replication-slots.html
+share/doc/postgresql/html/view-pg-roles.html
+share/doc/postgresql/html/view-pg-rules.html
+share/doc/postgresql/html/view-pg-seclabels.html
+share/doc/postgresql/html/view-pg-settings.html
+share/doc/postgresql/html/view-pg-shadow.html
+share/doc/postgresql/html/view-pg-stats.html
+share/doc/postgresql/html/view-pg-tables.html
+share/doc/postgresql/html/view-pg-timezone-abbrevs.html
+share/doc/postgresql/html/view-pg-timezone-names.html
+share/doc/postgresql/html/view-pg-user-mappings.html
+share/doc/postgresql/html/view-pg-user.html
+share/doc/postgresql/html/view-pg-views.html
+share/doc/postgresql/html/views-overview.html
+share/doc/postgresql/html/wal-async-commit.html
+share/doc/postgresql/html/wal-configuration.html
+share/doc/postgresql/html/wal-internals.html
+share/doc/postgresql/html/wal-intro.html
+share/doc/postgresql/html/wal-reliability.html
+share/doc/postgresql/html/wal.html
+share/doc/postgresql/html/warm-standby-failover.html
+share/doc/postgresql/html/warm-standby.html
+share/doc/postgresql/html/when-can-parallel-query-be-used.html
+share/doc/postgresql/html/xaggr.html
+share/doc/postgresql/html/xfunc-c.html
+share/doc/postgresql/html/xfunc-internal.html
+share/doc/postgresql/html/xfunc-overload.html
+share/doc/postgresql/html/xfunc-pl.html
+share/doc/postgresql/html/xfunc-sql.html
+share/doc/postgresql/html/xfunc-volatility.html
+share/doc/postgresql/html/xfunc.html
+share/doc/postgresql/html/xindex.html
+share/doc/postgresql/html/xml2.html
+share/doc/postgresql/html/xoper-optimization.html
+share/doc/postgresql/html/xoper.html
+share/doc/postgresql/html/xplang-install.html
+share/doc/postgresql/html/xplang.html
+share/doc/postgresql/html/xtypes.html
diff --git a/databases/postgresql96-plperl/DESCR b/databases/postgresql96-plperl/DESCR
new file mode 100644
index 00000000000..9057591c0ba
--- /dev/null
+++ b/databases/postgresql96-plperl/DESCR
@@ -0,0 +1,5 @@
+PL/Perl allows you to write functions in the Perl programming language
+that may be used in SQL queries as if they were built into Postgres.
+The PL/Perl intepreter is a full Perl interpreter. However, certain
+operations have been disabled in order to maintain the security of the
+system.
diff --git a/databases/postgresql96-plperl/MESSAGE b/databases/postgresql96-plperl/MESSAGE
new file mode 100644
index 00000000000..9bddbe547f9
--- /dev/null
+++ b/databases/postgresql96-plperl/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+Please see the PL/Perl section of the PostgreSQL Programmer's Guide
+(databases/postgresql-docs) for information on programming with
+${PKGNAME}.
+===========================================================================
diff --git a/databases/postgresql96-plperl/Makefile b/databases/postgresql96-plperl/Makefile
new file mode 100644
index 00000000000..b0f30922562
--- /dev/null
+++ b/databases/postgresql96-plperl/Makefile
@@ -0,0 +1,24 @@
+#$ $NetBSD: Makefile,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+PKGNAME= ${DISTNAME:C/-/96-plperl-/}
+COMMENT= PL/Perl procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql96-server>=${PKGVERSION_NOREV}:../../databases/postgresql96-server
+
+.include "../../databases/postgresql96/Makefile.common"
+
+USE_TOOLS+= perl
+PERL5_CONFIGURE= no
+CONFIGURE_ARGS+= --with-perl
+BUILD_MAKE_FLAGS= PGXS=1
+
+BUILD_DIRS= src/pl/plperl
+MAKE_FILE= GNUmakefile
+
+# There is some dependency ordering problem in the Makefile,
+# so force the headers to be generated first.
+BUILD_TARGET= perlchunks.h plperl_opmask.h all
+
+.include "../../databases/postgresql96-client/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql96-plperl/PLIST b/databases/postgresql96-plperl/PLIST
new file mode 100644
index 00000000000..d99bc929e81
--- /dev/null
+++ b/databases/postgresql96-plperl/PLIST
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1 2016/10/29 19:41:55 adam Exp $
+include/postgresql/server/plperl.h
+include/postgresql/server/ppport.h
+lib/postgresql/plperl.so
+share/locale/cs/LC_MESSAGES/plperl-9.6.mo
+share/locale/de/LC_MESSAGES/plperl-9.6.mo
+share/locale/es/LC_MESSAGES/plperl-9.6.mo
+share/locale/fr/LC_MESSAGES/plperl-9.6.mo
+share/locale/it/LC_MESSAGES/plperl-9.6.mo
+share/locale/ja/LC_MESSAGES/plperl-9.6.mo
+share/locale/ko/LC_MESSAGES/plperl-9.6.mo
+share/locale/pl/LC_MESSAGES/plperl-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/plperl-9.6.mo
+share/locale/ro/LC_MESSAGES/plperl-9.6.mo
+share/locale/ru/LC_MESSAGES/plperl-9.6.mo
+share/locale/sv/LC_MESSAGES/plperl-9.6.mo
+share/locale/tr/LC_MESSAGES/plperl-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/plperl-9.6.mo
+share/locale/zh_TW/LC_MESSAGES/plperl-9.6.mo
+share/postgresql/extension/plperl--1.0.sql
+share/postgresql/extension/plperl--unpackaged--1.0.sql
+share/postgresql/extension/plperl.control
+share/postgresql/extension/plperlu--1.0.sql
+share/postgresql/extension/plperlu--unpackaged--1.0.sql
+share/postgresql/extension/plperlu.control
diff --git a/databases/postgresql96-plpython/DESCR b/databases/postgresql96-plpython/DESCR
new file mode 100644
index 00000000000..142bb15309d
--- /dev/null
+++ b/databases/postgresql96-plpython/DESCR
@@ -0,0 +1,9 @@
+PL/Python allows you to write functions in the Python programming
+language that may be used in SQL queries as if they were built into
+Postgres. The PL/Python intepreter is a full Python interpreter.
+
+PL/Python is currently only available as an "untrusted" language
+(meaning it does not offer any way of restricting what users can do
+in it). It has therefore been named "plpythonu". The trusted variant
+plpython may become available again in future, if a new secure execution
+mechanism is developed in Python.
diff --git a/databases/postgresql96-plpython/MESSAGE b/databases/postgresql96-plpython/MESSAGE
new file mode 100644
index 00000000000..7623c53d6db
--- /dev/null
+++ b/databases/postgresql96-plpython/MESSAGE
@@ -0,0 +1,17 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+Please see the PL/Python section of the PostgreSQL Programmer's Guide
+(databases/postgresql-docs) for information on programming with
+${PKGNAME}.
+
+Note that PL/Python is unrestricted language, meaning it does not
+offer any way of restricting what users can do in it. Any DB user with
+access to PL/Python can run arbitrary Python code under privileges
+of the PostgreSQL server process.
+
+To enable PL/Python for database <dbname>, run following:
+
+createlang plpythonu <dbname>
+
+===========================================================================
diff --git a/databases/postgresql96-plpython/Makefile b/databases/postgresql96-plpython/Makefile
new file mode 100644
index 00000000000..e0ce861b3ea
--- /dev/null
+++ b/databases/postgresql96-plpython/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+PKGNAME= ${DISTNAME:C/-/96-plpython-/}
+COMMENT= PL/Python procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql96-server>=${PKGVERSION_NOREV}:../../databases/postgresql96-server
+
+.include "../../databases/postgresql96/Makefile.common"
+
+CONFIGURE_ARGS+= --with-python
+CONFIGURE_ENV+= PYTHON="${PYTHONBIN}"
+BUILD_MAKE_FLAGS= PGXS=1
+
+BUILD_DIRS= src/pl/plpython contrib/hstore_plpython
+
+.include "../../databases/postgresql96-client/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql96-plpython/PLIST b/databases/postgresql96-plpython/PLIST
new file mode 100644
index 00000000000..4b6dd631f04
--- /dev/null
+++ b/databases/postgresql96-plpython/PLIST
@@ -0,0 +1,34 @@
+@comment $NetBSD: PLIST,v 1.1 2016/10/29 19:41:55 adam Exp $
+include/postgresql/server/plpy_util.h
+include/postgresql/server/plpython.h
+${PLIST.py2x}lib/postgresql/hstore_plpython2.so
+${PLIST.py3x}lib/postgresql/hstore_plpython3.so
+${PLIST.py2x}lib/postgresql/plpython2.so
+${PLIST.py3x}lib/postgresql/plpython3.so
+@comment as of 9.5.1 installation of these is not dependent on python version
+share/locale/cs/LC_MESSAGES/plpython-9.6.mo
+share/locale/de/LC_MESSAGES/plpython-9.6.mo
+share/locale/es/LC_MESSAGES/plpython-9.6.mo
+share/locale/fr/LC_MESSAGES/plpython-9.6.mo
+share/locale/it/LC_MESSAGES/plpython-9.6.mo
+share/locale/ja/LC_MESSAGES/plpython-9.6.mo
+share/locale/ko/LC_MESSAGES/plpython-9.6.mo
+share/locale/pl/LC_MESSAGES/plpython-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/plpython-9.6.mo
+share/locale/ru/LC_MESSAGES/plpython-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/plpython-9.6.mo
+share/postgresql/extension/hstore_plpython2u--1.0.sql
+share/postgresql/extension/hstore_plpython2u.control
+share/postgresql/extension/hstore_plpython3u--1.0.sql
+share/postgresql/extension/hstore_plpython3u.control
+share/postgresql/extension/hstore_plpythonu--1.0.sql
+share/postgresql/extension/hstore_plpythonu.control
+${PLIST.py2x}share/postgresql/extension/plpython2u--1.0.sql
+${PLIST.py2x}share/postgresql/extension/plpython2u--unpackaged--1.0.sql
+${PLIST.py2x}share/postgresql/extension/plpython2u.control
+${PLIST.py3x}share/postgresql/extension/plpython3u--1.0.sql
+${PLIST.py3x}share/postgresql/extension/plpython3u--unpackaged--1.0.sql
+${PLIST.py3x}share/postgresql/extension/plpython3u.control
+${PLIST.py2x}share/postgresql/extension/plpythonu--1.0.sql
+${PLIST.py2x}share/postgresql/extension/plpythonu--unpackaged--1.0.sql
+${PLIST.py2x}share/postgresql/extension/plpythonu.control
diff --git a/databases/postgresql96-pltcl/DESCR b/databases/postgresql96-pltcl/DESCR
new file mode 100644
index 00000000000..e1aca2980b9
--- /dev/null
+++ b/databases/postgresql96-pltcl/DESCR
@@ -0,0 +1,4 @@
+PL/Tcl is a dynamic loadable extension for the PostgreSQL database system
+that enables the Tcl language to be used to create functions and
+trigger-procedures. It offers most of the capabilities a function
+writer has in the C language.
diff --git a/databases/postgresql96-pltcl/MESSAGE b/databases/postgresql96-pltcl/MESSAGE
new file mode 100644
index 00000000000..e134b6fa696
--- /dev/null
+++ b/databases/postgresql96-pltcl/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+Please see the PL/Tcl section of the PostgreSQL Programmer's Guide
+(databases/postgresql-docs) for information on programming with
+${PKGNAME}.
+===========================================================================
diff --git a/databases/postgresql96-pltcl/Makefile b/databases/postgresql96-pltcl/Makefile
new file mode 100644
index 00000000000..9b6067c41fc
--- /dev/null
+++ b/databases/postgresql96-pltcl/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+PKGNAME= ${DISTNAME:C/-/96-pltcl-/}
+COMMENT= PL/Tcl procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql96-server>=${PKGVERSION_NOREV}:../../databases/postgresql96-server
+
+.include "../../databases/postgresql96/Makefile.common"
+
+CONFIGURE_ARGS+= --with-tcl
+CONFIGURE_ARGS+= --with-tclconfig="${BUILDLINK_PREFIX.tcl}/lib"
+CONFIGURE_ENV+= TCLSH="${TCLSH}"
+TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
+BUILD_MAKE_FLAGS= PGXS=1
+
+BUILD_DIRS= src/pl/tcl
+
+.include "../../databases/postgresql96-client/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql96-pltcl/PLIST b/databases/postgresql96-pltcl/PLIST
new file mode 100644
index 00000000000..22d773c49ff
--- /dev/null
+++ b/databases/postgresql96-pltcl/PLIST
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1 2016/10/29 19:41:55 adam Exp $
+bin/pltcl_delmod
+bin/pltcl_listmod
+bin/pltcl_loadmod
+lib/postgresql/pltcl.so
+share/locale/cs/LC_MESSAGES/pltcl-9.6.mo
+share/locale/de/LC_MESSAGES/pltcl-9.6.mo
+share/locale/es/LC_MESSAGES/pltcl-9.6.mo
+share/locale/fr/LC_MESSAGES/pltcl-9.6.mo
+share/locale/it/LC_MESSAGES/pltcl-9.6.mo
+share/locale/ja/LC_MESSAGES/pltcl-9.6.mo
+share/locale/ko/LC_MESSAGES/pltcl-9.6.mo
+share/locale/pl/LC_MESSAGES/pltcl-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/pltcl-9.6.mo
+share/locale/ro/LC_MESSAGES/pltcl-9.6.mo
+share/locale/ru/LC_MESSAGES/pltcl-9.6.mo
+share/locale/tr/LC_MESSAGES/pltcl-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/pltcl-9.6.mo
+share/locale/zh_TW/LC_MESSAGES/pltcl-9.6.mo
+share/postgresql/extension/pltcl--1.0.sql
+share/postgresql/extension/pltcl--unpackaged--1.0.sql
+share/postgresql/extension/pltcl.control
+share/postgresql/extension/pltclu--1.0.sql
+share/postgresql/extension/pltclu--unpackaged--1.0.sql
+share/postgresql/extension/pltclu.control
+share/postgresql/unknown.pltcl
diff --git a/databases/postgresql96-server/DEINSTALL b/databases/postgresql96-server/DEINSTALL
new file mode 100644
index 00000000000..91b6b7af908
--- /dev/null
+++ b/databases/postgresql96-server/DEINSTALL
@@ -0,0 +1,20 @@
+# $NetBSD: DEINSTALL,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+case ${STAGE} in
+DEINSTALL)
+ ${CAT} << EOF
+===========================================================================
+
+If you intend to upgrade your PostgreSQL installation, you may need to
+perform a dump-and-restore to move your current databases into the newer
+PostgreSQL installation. Please dump your databases *prior* to installing
+the new PostgreSQL.
+
+Please see the Backup and Restore section of the PostgreSQL Administrator's
+Guide (databases/postgresql-docs) for complete information on how to
+perform the databases dump.
+
+===========================================================================
+EOF
+ ;;
+esac
diff --git a/databases/postgresql96-server/DESCR b/databases/postgresql96-server/DESCR
new file mode 100644
index 00000000000..68bb2b05748
--- /dev/null
+++ b/databases/postgresql96-server/DESCR
@@ -0,0 +1,9 @@
+PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS),
+derived from the Berkeley Postgres database management system. While
+PostgreSQL retains the powerful object-relational data model, rich data types
+and easy extensibility of Postgres, it replaces the PostQuel query language
+with an extended subset of SQL.
+
+PostgreSQL is free and the complete source is available.
+
+This package contains the database server programs.
diff --git a/databases/postgresql96-server/MESSAGE b/databases/postgresql96-server/MESSAGE
new file mode 100644
index 00000000000..cfcb923d6ca
--- /dev/null
+++ b/databases/postgresql96-server/MESSAGE
@@ -0,0 +1,18 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+To enable this package, put the following into your /etc/rc.conf:
+
+ pgsql=YES
+ pgsql_flags="-l" # enables SSL connections (TCP/IP and
+ # ~pgsql/data/server.crt required)
+
+and ensure that
+
+ ${RCD_SCRIPTS_DIR}/pgsql start
+
+is run at the appropriate time.
+
+Note: PostgreSQL accepts TCP/IP connections on localhost address by default.
+
+===========================================================================
diff --git a/databases/postgresql96-server/Makefile b/databases/postgresql96-server/Makefile
new file mode 100644
index 00000000000..c2499bf694e
--- /dev/null
+++ b/databases/postgresql96-server/Makefile
@@ -0,0 +1,76 @@
+# $NetBSD: Makefile,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+PKGNAME= ${DISTNAME:C/-/96-server-/}
+COMMENT= PostgreSQL database server programs
+
+# mips has no TAS implementation
+BROKEN_ON_PLATFORM= *-*-mips
+
+.include "../../databases/postgresql96/Makefile.common"
+
+CONFIGURE_ARGS+= --with-openssl
+
+INSTALL_DIRS= src/backend
+INSTALL_DIRS+= src/backend/replication/libpqwalreceiver
+INSTALL_DIRS+= src/backend/utils/mb/conversion_procs
+INSTALL_DIRS+= src/backend/snowball
+INSTALL_DIRS+= src/timezone
+INSTALL_DIRS+= src/pl
+BUILD_DIRS= src/port
+BUILD_DIRS+= ${INSTALL_DIRS}
+
+LIBS.SunOS+= -lintl
+
+# PostgreSQL has loadable server-side language modules.
+#
+# Explicitly set DLOPEN_REQUIRE_PTHREADS to "no" on NetBSD as NetBSD-2.x
+# had problems with mixing dlopen() and pthreads, which blows up in
+# PostgreSQL's backend (pkg/28729). This works on older and newer
+# versions of NetBSD as well since they don't have the bad interaction
+# between dlopen() and pthreads.
+.if ${OPSYS} == "NetBSD"
+DLOPEN_REQUIRE_PTHREADS= no
+.endif
+.include "../../mk/dlopen.buildlink3.mk"
+
+# If we're using libltdl to provide "dlopen" functionality, then add the
+# dependency and make sure that we link against -lltdl.
+.if !empty(USE_LIBLTDL:M[yY][eE][sS])
+DL_LIBS+= -lltdl
+. include "../../devel/libltdl/buildlink3.mk"
+.endif
+
+# PGUSER username of the database administrator
+# PGGROUP group of the database administrator
+# PGHOME home directory of the database administrator and location of
+# the databases
+FILES_SUBST+= PGUSER=${PGUSER}
+FILES_SUBST+= PGGROUP=${PGGROUP}
+FILES_SUBST+= PGHOME=${PGHOME}
+BUILD_DEFS+= PGHOME VARBASE
+
+ALL_ENV+= INSTALLED_LIBPQ=yes
+
+PKG_GROUPS_VARS+= PGGROUP
+PKG_USERS_VARS+= PGUSER
+
+PKG_GROUPS= ${PGGROUP}
+PKG_USERS= ${PGUSER}:${PGGROUP}
+PKG_GECOS.${PGUSER}= PostgreSQL database administrator
+PKG_HOME.${PGUSER}= ${PGHOME}
+
+RCD_SCRIPTS= pgsql
+SMF_METHODS= postgresql
+SMF_NAME= postgresql
+
+.include "../../databases/postgresql96-client/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+
+# Avoid conflict between "${SSLBASE}/include/openssl/des.h" and
+# "/usr/include/crypt.h" -- we want the definitions in the former.
+post-wrapper:
+.if ${OPSYS} == "SunOS"
+ touch ${BUILDLINK_DIR}/include/crypt.h
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql96-server/PLIST b/databases/postgresql96-server/PLIST
new file mode 100644
index 00000000000..b1e688f7c70
--- /dev/null
+++ b/databases/postgresql96-server/PLIST
@@ -0,0 +1,698 @@
+@comment $NetBSD: PLIST,v 1.1 2016/10/29 19:41:55 adam Exp $
+bin/postgres
+bin/postmaster
+include/postgresql/server/plpgsql.h
+lib/postgresql/ascii_and_mic.so
+lib/postgresql/cyrillic_and_mic.so
+lib/postgresql/dict_snowball.so
+lib/postgresql/euc2004_sjis2004.so
+lib/postgresql/euc_cn_and_mic.so
+lib/postgresql/euc_jp_and_sjis.so
+lib/postgresql/euc_kr_and_mic.so
+lib/postgresql/euc_tw_and_big5.so
+lib/postgresql/latin2_and_win1250.so
+lib/postgresql/latin_and_mic.so
+lib/postgresql/libpqwalreceiver.so
+lib/postgresql/plpgsql.so
+lib/postgresql/utf8_and_ascii.so
+lib/postgresql/utf8_and_big5.so
+lib/postgresql/utf8_and_cyrillic.so
+lib/postgresql/utf8_and_euc2004.so
+lib/postgresql/utf8_and_euc_cn.so
+lib/postgresql/utf8_and_euc_jp.so
+lib/postgresql/utf8_and_euc_kr.so
+lib/postgresql/utf8_and_euc_tw.so
+lib/postgresql/utf8_and_gb18030.so
+lib/postgresql/utf8_and_gbk.so
+lib/postgresql/utf8_and_iso8859.so
+lib/postgresql/utf8_and_iso8859_1.so
+lib/postgresql/utf8_and_johab.so
+lib/postgresql/utf8_and_sjis.so
+lib/postgresql/utf8_and_sjis2004.so
+lib/postgresql/utf8_and_uhc.so
+lib/postgresql/utf8_and_win.so
+share/locale/cs/LC_MESSAGES/plpgsql-9.6.mo
+share/locale/de/LC_MESSAGES/plpgsql-9.6.mo
+share/locale/de/LC_MESSAGES/postgres-9.6.mo
+share/locale/es/LC_MESSAGES/plpgsql-9.6.mo
+share/locale/es/LC_MESSAGES/postgres-9.6.mo
+share/locale/fr/LC_MESSAGES/plpgsql-9.6.mo
+share/locale/fr/LC_MESSAGES/postgres-9.6.mo
+share/locale/id/LC_MESSAGES/postgres-9.6.mo
+share/locale/it/LC_MESSAGES/plpgsql-9.6.mo
+share/locale/it/LC_MESSAGES/postgres-9.6.mo
+share/locale/ja/LC_MESSAGES/plpgsql-9.6.mo
+share/locale/ja/LC_MESSAGES/postgres-9.6.mo
+share/locale/ko/LC_MESSAGES/plpgsql-9.6.mo
+share/locale/pl/LC_MESSAGES/plpgsql-9.6.mo
+share/locale/pl/LC_MESSAGES/postgres-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/plpgsql-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/postgres-9.6.mo
+share/locale/ro/LC_MESSAGES/plpgsql-9.6.mo
+share/locale/ru/LC_MESSAGES/plpgsql-9.6.mo
+share/locale/ru/LC_MESSAGES/postgres-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/plpgsql-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/postgres-9.6.mo
+share/locale/zh_TW/LC_MESSAGES/plpgsql-9.6.mo
+share/postgresql/conversion_create.sql
+share/postgresql/extension/plpgsql--1.0.sql
+share/postgresql/extension/plpgsql--unpackaged--1.0.sql
+share/postgresql/extension/plpgsql.control
+share/postgresql/information_schema.sql
+share/postgresql/pg_hba.conf.sample
+share/postgresql/pg_ident.conf.sample
+share/postgresql/postgres.bki
+share/postgresql/postgres.description
+share/postgresql/postgres.shdescription
+share/postgresql/postgresql.conf.sample
+share/postgresql/recovery.conf.sample
+share/postgresql/snowball_create.sql
+share/postgresql/sql_features.txt
+share/postgresql/system_views.sql
+share/postgresql/timezone/Africa/Abidjan
+share/postgresql/timezone/Africa/Accra
+share/postgresql/timezone/Africa/Addis_Ababa
+share/postgresql/timezone/Africa/Algiers
+share/postgresql/timezone/Africa/Asmara
+share/postgresql/timezone/Africa/Asmera
+share/postgresql/timezone/Africa/Bamako
+share/postgresql/timezone/Africa/Bangui
+share/postgresql/timezone/Africa/Banjul
+share/postgresql/timezone/Africa/Bissau
+share/postgresql/timezone/Africa/Blantyre
+share/postgresql/timezone/Africa/Brazzaville
+share/postgresql/timezone/Africa/Bujumbura
+share/postgresql/timezone/Africa/Cairo
+share/postgresql/timezone/Africa/Casablanca
+share/postgresql/timezone/Africa/Ceuta
+share/postgresql/timezone/Africa/Conakry
+share/postgresql/timezone/Africa/Dakar
+share/postgresql/timezone/Africa/Dar_es_Salaam
+share/postgresql/timezone/Africa/Djibouti
+share/postgresql/timezone/Africa/Douala
+share/postgresql/timezone/Africa/El_Aaiun
+share/postgresql/timezone/Africa/Freetown
+share/postgresql/timezone/Africa/Gaborone
+share/postgresql/timezone/Africa/Harare
+share/postgresql/timezone/Africa/Johannesburg
+share/postgresql/timezone/Africa/Juba
+share/postgresql/timezone/Africa/Kampala
+share/postgresql/timezone/Africa/Khartoum
+share/postgresql/timezone/Africa/Kigali
+share/postgresql/timezone/Africa/Kinshasa
+share/postgresql/timezone/Africa/Lagos
+share/postgresql/timezone/Africa/Libreville
+share/postgresql/timezone/Africa/Lome
+share/postgresql/timezone/Africa/Luanda
+share/postgresql/timezone/Africa/Lubumbashi
+share/postgresql/timezone/Africa/Lusaka
+share/postgresql/timezone/Africa/Malabo
+share/postgresql/timezone/Africa/Maputo
+share/postgresql/timezone/Africa/Maseru
+share/postgresql/timezone/Africa/Mbabane
+share/postgresql/timezone/Africa/Mogadishu
+share/postgresql/timezone/Africa/Monrovia
+share/postgresql/timezone/Africa/Nairobi
+share/postgresql/timezone/Africa/Ndjamena
+share/postgresql/timezone/Africa/Niamey
+share/postgresql/timezone/Africa/Nouakchott
+share/postgresql/timezone/Africa/Ouagadougou
+share/postgresql/timezone/Africa/Porto-Novo
+share/postgresql/timezone/Africa/Sao_Tome
+share/postgresql/timezone/Africa/Timbuktu
+share/postgresql/timezone/Africa/Tripoli
+share/postgresql/timezone/Africa/Tunis
+share/postgresql/timezone/Africa/Windhoek
+share/postgresql/timezone/America/Adak
+share/postgresql/timezone/America/Anchorage
+share/postgresql/timezone/America/Anguilla
+share/postgresql/timezone/America/Antigua
+share/postgresql/timezone/America/Araguaina
+share/postgresql/timezone/America/Argentina/Buenos_Aires
+share/postgresql/timezone/America/Argentina/Catamarca
+share/postgresql/timezone/America/Argentina/ComodRivadavia
+share/postgresql/timezone/America/Argentina/Cordoba
+share/postgresql/timezone/America/Argentina/Jujuy
+share/postgresql/timezone/America/Argentina/La_Rioja
+share/postgresql/timezone/America/Argentina/Mendoza
+share/postgresql/timezone/America/Argentina/Rio_Gallegos
+share/postgresql/timezone/America/Argentina/Salta
+share/postgresql/timezone/America/Argentina/San_Juan
+share/postgresql/timezone/America/Argentina/San_Luis
+share/postgresql/timezone/America/Argentina/Tucuman
+share/postgresql/timezone/America/Argentina/Ushuaia
+share/postgresql/timezone/America/Aruba
+share/postgresql/timezone/America/Asuncion
+share/postgresql/timezone/America/Atikokan
+share/postgresql/timezone/America/Atka
+share/postgresql/timezone/America/Bahia
+share/postgresql/timezone/America/Bahia_Banderas
+share/postgresql/timezone/America/Barbados
+share/postgresql/timezone/America/Belem
+share/postgresql/timezone/America/Belize
+share/postgresql/timezone/America/Blanc-Sablon
+share/postgresql/timezone/America/Boa_Vista
+share/postgresql/timezone/America/Bogota
+share/postgresql/timezone/America/Boise
+share/postgresql/timezone/America/Buenos_Aires
+share/postgresql/timezone/America/Cambridge_Bay
+share/postgresql/timezone/America/Campo_Grande
+share/postgresql/timezone/America/Cancun
+share/postgresql/timezone/America/Caracas
+share/postgresql/timezone/America/Catamarca
+share/postgresql/timezone/America/Cayenne
+share/postgresql/timezone/America/Cayman
+share/postgresql/timezone/America/Chicago
+share/postgresql/timezone/America/Chihuahua
+share/postgresql/timezone/America/Coral_Harbour
+share/postgresql/timezone/America/Cordoba
+share/postgresql/timezone/America/Costa_Rica
+share/postgresql/timezone/America/Creston
+share/postgresql/timezone/America/Cuiaba
+share/postgresql/timezone/America/Curacao
+share/postgresql/timezone/America/Danmarkshavn
+share/postgresql/timezone/America/Dawson
+share/postgresql/timezone/America/Dawson_Creek
+share/postgresql/timezone/America/Denver
+share/postgresql/timezone/America/Detroit
+share/postgresql/timezone/America/Dominica
+share/postgresql/timezone/America/Edmonton
+share/postgresql/timezone/America/Eirunepe
+share/postgresql/timezone/America/El_Salvador
+share/postgresql/timezone/America/Ensenada
+share/postgresql/timezone/America/Fort_Nelson
+share/postgresql/timezone/America/Fort_Wayne
+share/postgresql/timezone/America/Fortaleza
+share/postgresql/timezone/America/Glace_Bay
+share/postgresql/timezone/America/Godthab
+share/postgresql/timezone/America/Goose_Bay
+share/postgresql/timezone/America/Grand_Turk
+share/postgresql/timezone/America/Grenada
+share/postgresql/timezone/America/Guadeloupe
+share/postgresql/timezone/America/Guatemala
+share/postgresql/timezone/America/Guayaquil
+share/postgresql/timezone/America/Guyana
+share/postgresql/timezone/America/Halifax
+share/postgresql/timezone/America/Havana
+share/postgresql/timezone/America/Hermosillo
+share/postgresql/timezone/America/Indiana/Indianapolis
+share/postgresql/timezone/America/Indiana/Knox
+share/postgresql/timezone/America/Indiana/Marengo
+share/postgresql/timezone/America/Indiana/Petersburg
+share/postgresql/timezone/America/Indiana/Tell_City
+share/postgresql/timezone/America/Indiana/Vevay
+share/postgresql/timezone/America/Indiana/Vincennes
+share/postgresql/timezone/America/Indiana/Winamac
+share/postgresql/timezone/America/Indianapolis
+share/postgresql/timezone/America/Inuvik
+share/postgresql/timezone/America/Iqaluit
+share/postgresql/timezone/America/Jamaica
+share/postgresql/timezone/America/Jujuy
+share/postgresql/timezone/America/Juneau
+share/postgresql/timezone/America/Kentucky/Louisville
+share/postgresql/timezone/America/Kentucky/Monticello
+share/postgresql/timezone/America/Knox_IN
+share/postgresql/timezone/America/Kralendijk
+share/postgresql/timezone/America/La_Paz
+share/postgresql/timezone/America/Lima
+share/postgresql/timezone/America/Los_Angeles
+share/postgresql/timezone/America/Louisville
+share/postgresql/timezone/America/Lower_Princes
+share/postgresql/timezone/America/Maceio
+share/postgresql/timezone/America/Managua
+share/postgresql/timezone/America/Manaus
+share/postgresql/timezone/America/Marigot
+share/postgresql/timezone/America/Martinique
+share/postgresql/timezone/America/Matamoros
+share/postgresql/timezone/America/Mazatlan
+share/postgresql/timezone/America/Mendoza
+share/postgresql/timezone/America/Menominee
+share/postgresql/timezone/America/Merida
+share/postgresql/timezone/America/Metlakatla
+share/postgresql/timezone/America/Mexico_City
+share/postgresql/timezone/America/Miquelon
+share/postgresql/timezone/America/Moncton
+share/postgresql/timezone/America/Monterrey
+share/postgresql/timezone/America/Montevideo
+share/postgresql/timezone/America/Montreal
+share/postgresql/timezone/America/Montserrat
+share/postgresql/timezone/America/Nassau
+share/postgresql/timezone/America/New_York
+share/postgresql/timezone/America/Nipigon
+share/postgresql/timezone/America/Nome
+share/postgresql/timezone/America/Noronha
+share/postgresql/timezone/America/North_Dakota/Beulah
+share/postgresql/timezone/America/North_Dakota/Center
+share/postgresql/timezone/America/North_Dakota/New_Salem
+share/postgresql/timezone/America/Ojinaga
+share/postgresql/timezone/America/Panama
+share/postgresql/timezone/America/Pangnirtung
+share/postgresql/timezone/America/Paramaribo
+share/postgresql/timezone/America/Phoenix
+share/postgresql/timezone/America/Port-au-Prince
+share/postgresql/timezone/America/Port_of_Spain
+share/postgresql/timezone/America/Porto_Acre
+share/postgresql/timezone/America/Porto_Velho
+share/postgresql/timezone/America/Puerto_Rico
+share/postgresql/timezone/America/Rainy_River
+share/postgresql/timezone/America/Rankin_Inlet
+share/postgresql/timezone/America/Recife
+share/postgresql/timezone/America/Regina
+share/postgresql/timezone/America/Resolute
+share/postgresql/timezone/America/Rio_Branco
+share/postgresql/timezone/America/Rosario
+share/postgresql/timezone/America/Santa_Isabel
+share/postgresql/timezone/America/Santarem
+share/postgresql/timezone/America/Santiago
+share/postgresql/timezone/America/Santo_Domingo
+share/postgresql/timezone/America/Sao_Paulo
+share/postgresql/timezone/America/Scoresbysund
+share/postgresql/timezone/America/Shiprock
+share/postgresql/timezone/America/Sitka
+share/postgresql/timezone/America/St_Barthelemy
+share/postgresql/timezone/America/St_Johns
+share/postgresql/timezone/America/St_Kitts
+share/postgresql/timezone/America/St_Lucia
+share/postgresql/timezone/America/St_Thomas
+share/postgresql/timezone/America/St_Vincent
+share/postgresql/timezone/America/Swift_Current
+share/postgresql/timezone/America/Tegucigalpa
+share/postgresql/timezone/America/Thule
+share/postgresql/timezone/America/Thunder_Bay
+share/postgresql/timezone/America/Tijuana
+share/postgresql/timezone/America/Toronto
+share/postgresql/timezone/America/Tortola
+share/postgresql/timezone/America/Vancouver
+share/postgresql/timezone/America/Virgin
+share/postgresql/timezone/America/Whitehorse
+share/postgresql/timezone/America/Winnipeg
+share/postgresql/timezone/America/Yakutat
+share/postgresql/timezone/America/Yellowknife
+share/postgresql/timezone/Antarctica/Casey
+share/postgresql/timezone/Antarctica/Davis
+share/postgresql/timezone/Antarctica/DumontDUrville
+share/postgresql/timezone/Antarctica/Macquarie
+share/postgresql/timezone/Antarctica/Mawson
+share/postgresql/timezone/Antarctica/McMurdo
+share/postgresql/timezone/Antarctica/Palmer
+share/postgresql/timezone/Antarctica/Rothera
+share/postgresql/timezone/Antarctica/South_Pole
+share/postgresql/timezone/Antarctica/Syowa
+share/postgresql/timezone/Antarctica/Troll
+share/postgresql/timezone/Antarctica/Vostok
+share/postgresql/timezone/Arctic/Longyearbyen
+share/postgresql/timezone/Asia/Aden
+share/postgresql/timezone/Asia/Almaty
+share/postgresql/timezone/Asia/Amman
+share/postgresql/timezone/Asia/Anadyr
+share/postgresql/timezone/Asia/Aqtau
+share/postgresql/timezone/Asia/Aqtobe
+share/postgresql/timezone/Asia/Ashgabat
+share/postgresql/timezone/Asia/Ashkhabad
+share/postgresql/timezone/Asia/Baghdad
+share/postgresql/timezone/Asia/Bahrain
+share/postgresql/timezone/Asia/Baku
+share/postgresql/timezone/Asia/Bangkok
+share/postgresql/timezone/Asia/Barnaul
+share/postgresql/timezone/Asia/Beirut
+share/postgresql/timezone/Asia/Bishkek
+share/postgresql/timezone/Asia/Brunei
+share/postgresql/timezone/Asia/Calcutta
+share/postgresql/timezone/Asia/Chita
+share/postgresql/timezone/Asia/Choibalsan
+share/postgresql/timezone/Asia/Chongqing
+share/postgresql/timezone/Asia/Chungking
+share/postgresql/timezone/Asia/Colombo
+share/postgresql/timezone/Asia/Dacca
+share/postgresql/timezone/Asia/Damascus
+share/postgresql/timezone/Asia/Dhaka
+share/postgresql/timezone/Asia/Dili
+share/postgresql/timezone/Asia/Dubai
+share/postgresql/timezone/Asia/Dushanbe
+share/postgresql/timezone/Asia/Gaza
+share/postgresql/timezone/Asia/Harbin
+share/postgresql/timezone/Asia/Hebron
+share/postgresql/timezone/Asia/Ho_Chi_Minh
+share/postgresql/timezone/Asia/Hong_Kong
+share/postgresql/timezone/Asia/Hovd
+share/postgresql/timezone/Asia/Irkutsk
+share/postgresql/timezone/Asia/Istanbul
+share/postgresql/timezone/Asia/Jakarta
+share/postgresql/timezone/Asia/Jayapura
+share/postgresql/timezone/Asia/Jerusalem
+share/postgresql/timezone/Asia/Kabul
+share/postgresql/timezone/Asia/Kamchatka
+share/postgresql/timezone/Asia/Karachi
+share/postgresql/timezone/Asia/Kashgar
+share/postgresql/timezone/Asia/Kathmandu
+share/postgresql/timezone/Asia/Katmandu
+share/postgresql/timezone/Asia/Khandyga
+share/postgresql/timezone/Asia/Kolkata
+share/postgresql/timezone/Asia/Krasnoyarsk
+share/postgresql/timezone/Asia/Kuala_Lumpur
+share/postgresql/timezone/Asia/Kuching
+share/postgresql/timezone/Asia/Kuwait
+share/postgresql/timezone/Asia/Macao
+share/postgresql/timezone/Asia/Macau
+share/postgresql/timezone/Asia/Magadan
+share/postgresql/timezone/Asia/Makassar
+share/postgresql/timezone/Asia/Manila
+share/postgresql/timezone/Asia/Muscat
+share/postgresql/timezone/Asia/Nicosia
+share/postgresql/timezone/Asia/Novokuznetsk
+share/postgresql/timezone/Asia/Novosibirsk
+share/postgresql/timezone/Asia/Omsk
+share/postgresql/timezone/Asia/Oral
+share/postgresql/timezone/Asia/Phnom_Penh
+share/postgresql/timezone/Asia/Pontianak
+share/postgresql/timezone/Asia/Pyongyang
+share/postgresql/timezone/Asia/Qatar
+share/postgresql/timezone/Asia/Qyzylorda
+share/postgresql/timezone/Asia/Rangoon
+share/postgresql/timezone/Asia/Riyadh
+share/postgresql/timezone/Asia/Saigon
+share/postgresql/timezone/Asia/Sakhalin
+share/postgresql/timezone/Asia/Samarkand
+share/postgresql/timezone/Asia/Seoul
+share/postgresql/timezone/Asia/Shanghai
+share/postgresql/timezone/Asia/Singapore
+share/postgresql/timezone/Asia/Srednekolymsk
+share/postgresql/timezone/Asia/Taipei
+share/postgresql/timezone/Asia/Tashkent
+share/postgresql/timezone/Asia/Tbilisi
+share/postgresql/timezone/Asia/Tehran
+share/postgresql/timezone/Asia/Tel_Aviv
+share/postgresql/timezone/Asia/Thimbu
+share/postgresql/timezone/Asia/Thimphu
+share/postgresql/timezone/Asia/Tokyo
+share/postgresql/timezone/Asia/Tomsk
+share/postgresql/timezone/Asia/Ujung_Pandang
+share/postgresql/timezone/Asia/Ulaanbaatar
+share/postgresql/timezone/Asia/Ulan_Bator
+share/postgresql/timezone/Asia/Urumqi
+share/postgresql/timezone/Asia/Ust-Nera
+share/postgresql/timezone/Asia/Vientiane
+share/postgresql/timezone/Asia/Vladivostok
+share/postgresql/timezone/Asia/Yakutsk
+share/postgresql/timezone/Asia/Yangon
+share/postgresql/timezone/Asia/Yekaterinburg
+share/postgresql/timezone/Asia/Yerevan
+share/postgresql/timezone/Atlantic/Azores
+share/postgresql/timezone/Atlantic/Bermuda
+share/postgresql/timezone/Atlantic/Canary
+share/postgresql/timezone/Atlantic/Cape_Verde
+share/postgresql/timezone/Atlantic/Faeroe
+share/postgresql/timezone/Atlantic/Faroe
+share/postgresql/timezone/Atlantic/Jan_Mayen
+share/postgresql/timezone/Atlantic/Madeira
+share/postgresql/timezone/Atlantic/Reykjavik
+share/postgresql/timezone/Atlantic/South_Georgia
+share/postgresql/timezone/Atlantic/St_Helena
+share/postgresql/timezone/Atlantic/Stanley
+share/postgresql/timezone/Australia/ACT
+share/postgresql/timezone/Australia/Adelaide
+share/postgresql/timezone/Australia/Brisbane
+share/postgresql/timezone/Australia/Broken_Hill
+share/postgresql/timezone/Australia/Canberra
+share/postgresql/timezone/Australia/Currie
+share/postgresql/timezone/Australia/Darwin
+share/postgresql/timezone/Australia/Eucla
+share/postgresql/timezone/Australia/Hobart
+share/postgresql/timezone/Australia/LHI
+share/postgresql/timezone/Australia/Lindeman
+share/postgresql/timezone/Australia/Lord_Howe
+share/postgresql/timezone/Australia/Melbourne
+share/postgresql/timezone/Australia/NSW
+share/postgresql/timezone/Australia/North
+share/postgresql/timezone/Australia/Perth
+share/postgresql/timezone/Australia/Queensland
+share/postgresql/timezone/Australia/South
+share/postgresql/timezone/Australia/Sydney
+share/postgresql/timezone/Australia/Tasmania
+share/postgresql/timezone/Australia/Victoria
+share/postgresql/timezone/Australia/West
+share/postgresql/timezone/Australia/Yancowinna
+share/postgresql/timezone/Brazil/Acre
+share/postgresql/timezone/Brazil/DeNoronha
+share/postgresql/timezone/Brazil/East
+share/postgresql/timezone/Brazil/West
+share/postgresql/timezone/CET
+share/postgresql/timezone/CST6CDT
+share/postgresql/timezone/Canada/Atlantic
+share/postgresql/timezone/Canada/Central
+share/postgresql/timezone/Canada/East-Saskatchewan
+share/postgresql/timezone/Canada/Eastern
+share/postgresql/timezone/Canada/Mountain
+share/postgresql/timezone/Canada/Newfoundland
+share/postgresql/timezone/Canada/Pacific
+share/postgresql/timezone/Canada/Saskatchewan
+share/postgresql/timezone/Canada/Yukon
+share/postgresql/timezone/Chile/Continental
+share/postgresql/timezone/Chile/EasterIsland
+share/postgresql/timezone/Cuba
+share/postgresql/timezone/EET
+share/postgresql/timezone/EST
+share/postgresql/timezone/EST5EDT
+share/postgresql/timezone/Egypt
+share/postgresql/timezone/Eire
+share/postgresql/timezone/Etc/GMT
+share/postgresql/timezone/Etc/GMT+0
+share/postgresql/timezone/Etc/GMT+1
+share/postgresql/timezone/Etc/GMT+10
+share/postgresql/timezone/Etc/GMT+11
+share/postgresql/timezone/Etc/GMT+12
+share/postgresql/timezone/Etc/GMT+2
+share/postgresql/timezone/Etc/GMT+3
+share/postgresql/timezone/Etc/GMT+4
+share/postgresql/timezone/Etc/GMT+5
+share/postgresql/timezone/Etc/GMT+6
+share/postgresql/timezone/Etc/GMT+7
+share/postgresql/timezone/Etc/GMT+8
+share/postgresql/timezone/Etc/GMT+9
+share/postgresql/timezone/Etc/GMT-0
+share/postgresql/timezone/Etc/GMT-1
+share/postgresql/timezone/Etc/GMT-10
+share/postgresql/timezone/Etc/GMT-11
+share/postgresql/timezone/Etc/GMT-12
+share/postgresql/timezone/Etc/GMT-13
+share/postgresql/timezone/Etc/GMT-14
+share/postgresql/timezone/Etc/GMT-2
+share/postgresql/timezone/Etc/GMT-3
+share/postgresql/timezone/Etc/GMT-4
+share/postgresql/timezone/Etc/GMT-5
+share/postgresql/timezone/Etc/GMT-6
+share/postgresql/timezone/Etc/GMT-7
+share/postgresql/timezone/Etc/GMT-8
+share/postgresql/timezone/Etc/GMT-9
+share/postgresql/timezone/Etc/GMT0
+share/postgresql/timezone/Etc/Greenwich
+share/postgresql/timezone/Etc/UCT
+share/postgresql/timezone/Etc/UTC
+share/postgresql/timezone/Etc/Universal
+share/postgresql/timezone/Etc/Zulu
+share/postgresql/timezone/Europe/Amsterdam
+share/postgresql/timezone/Europe/Andorra
+share/postgresql/timezone/Europe/Astrakhan
+share/postgresql/timezone/Europe/Athens
+share/postgresql/timezone/Europe/Belfast
+share/postgresql/timezone/Europe/Belgrade
+share/postgresql/timezone/Europe/Berlin
+share/postgresql/timezone/Europe/Bratislava
+share/postgresql/timezone/Europe/Brussels
+share/postgresql/timezone/Europe/Bucharest
+share/postgresql/timezone/Europe/Budapest
+share/postgresql/timezone/Europe/Busingen
+share/postgresql/timezone/Europe/Chisinau
+share/postgresql/timezone/Europe/Copenhagen
+share/postgresql/timezone/Europe/Dublin
+share/postgresql/timezone/Europe/Gibraltar
+share/postgresql/timezone/Europe/Guernsey
+share/postgresql/timezone/Europe/Helsinki
+share/postgresql/timezone/Europe/Isle_of_Man
+share/postgresql/timezone/Europe/Istanbul
+share/postgresql/timezone/Europe/Jersey
+share/postgresql/timezone/Europe/Kaliningrad
+share/postgresql/timezone/Europe/Kiev
+share/postgresql/timezone/Europe/Kirov
+share/postgresql/timezone/Europe/Lisbon
+share/postgresql/timezone/Europe/Ljubljana
+share/postgresql/timezone/Europe/London
+share/postgresql/timezone/Europe/Luxembourg
+share/postgresql/timezone/Europe/Madrid
+share/postgresql/timezone/Europe/Malta
+share/postgresql/timezone/Europe/Mariehamn
+share/postgresql/timezone/Europe/Minsk
+share/postgresql/timezone/Europe/Monaco
+share/postgresql/timezone/Europe/Moscow
+share/postgresql/timezone/Europe/Nicosia
+share/postgresql/timezone/Europe/Oslo
+share/postgresql/timezone/Europe/Paris
+share/postgresql/timezone/Europe/Podgorica
+share/postgresql/timezone/Europe/Prague
+share/postgresql/timezone/Europe/Riga
+share/postgresql/timezone/Europe/Rome
+share/postgresql/timezone/Europe/Samara
+share/postgresql/timezone/Europe/San_Marino
+share/postgresql/timezone/Europe/Sarajevo
+share/postgresql/timezone/Europe/Simferopol
+share/postgresql/timezone/Europe/Skopje
+share/postgresql/timezone/Europe/Sofia
+share/postgresql/timezone/Europe/Stockholm
+share/postgresql/timezone/Europe/Tallinn
+share/postgresql/timezone/Europe/Tirane
+share/postgresql/timezone/Europe/Tiraspol
+share/postgresql/timezone/Europe/Ulyanovsk
+share/postgresql/timezone/Europe/Uzhgorod
+share/postgresql/timezone/Europe/Vaduz
+share/postgresql/timezone/Europe/Vatican
+share/postgresql/timezone/Europe/Vienna
+share/postgresql/timezone/Europe/Vilnius
+share/postgresql/timezone/Europe/Volgograd
+share/postgresql/timezone/Europe/Warsaw
+share/postgresql/timezone/Europe/Zagreb
+share/postgresql/timezone/Europe/Zaporozhye
+share/postgresql/timezone/Europe/Zurich
+share/postgresql/timezone/Factory
+share/postgresql/timezone/GB
+share/postgresql/timezone/GB-Eire
+share/postgresql/timezone/GMT
+share/postgresql/timezone/GMT+0
+share/postgresql/timezone/GMT-0
+share/postgresql/timezone/GMT0
+share/postgresql/timezone/Greenwich
+share/postgresql/timezone/HST
+share/postgresql/timezone/Hongkong
+share/postgresql/timezone/Iceland
+share/postgresql/timezone/Indian/Antananarivo
+share/postgresql/timezone/Indian/Chagos
+share/postgresql/timezone/Indian/Christmas
+share/postgresql/timezone/Indian/Cocos
+share/postgresql/timezone/Indian/Comoro
+share/postgresql/timezone/Indian/Kerguelen
+share/postgresql/timezone/Indian/Mahe
+share/postgresql/timezone/Indian/Maldives
+share/postgresql/timezone/Indian/Mauritius
+share/postgresql/timezone/Indian/Mayotte
+share/postgresql/timezone/Indian/Reunion
+share/postgresql/timezone/Iran
+share/postgresql/timezone/Israel
+share/postgresql/timezone/Jamaica
+share/postgresql/timezone/Japan
+share/postgresql/timezone/Kwajalein
+share/postgresql/timezone/Libya
+share/postgresql/timezone/MET
+share/postgresql/timezone/MST
+share/postgresql/timezone/MST7MDT
+share/postgresql/timezone/Mexico/BajaNorte
+share/postgresql/timezone/Mexico/BajaSur
+share/postgresql/timezone/Mexico/General
+share/postgresql/timezone/NZ
+share/postgresql/timezone/NZ-CHAT
+share/postgresql/timezone/Navajo
+share/postgresql/timezone/PRC
+share/postgresql/timezone/PST8PDT
+share/postgresql/timezone/Pacific/Apia
+share/postgresql/timezone/Pacific/Auckland
+share/postgresql/timezone/Pacific/Bougainville
+share/postgresql/timezone/Pacific/Chatham
+share/postgresql/timezone/Pacific/Chuuk
+share/postgresql/timezone/Pacific/Easter
+share/postgresql/timezone/Pacific/Efate
+share/postgresql/timezone/Pacific/Enderbury
+share/postgresql/timezone/Pacific/Fakaofo
+share/postgresql/timezone/Pacific/Fiji
+share/postgresql/timezone/Pacific/Funafuti
+share/postgresql/timezone/Pacific/Galapagos
+share/postgresql/timezone/Pacific/Gambier
+share/postgresql/timezone/Pacific/Guadalcanal
+share/postgresql/timezone/Pacific/Guam
+share/postgresql/timezone/Pacific/Honolulu
+share/postgresql/timezone/Pacific/Johnston
+share/postgresql/timezone/Pacific/Kiritimati
+share/postgresql/timezone/Pacific/Kosrae
+share/postgresql/timezone/Pacific/Kwajalein
+share/postgresql/timezone/Pacific/Majuro
+share/postgresql/timezone/Pacific/Marquesas
+share/postgresql/timezone/Pacific/Midway
+share/postgresql/timezone/Pacific/Nauru
+share/postgresql/timezone/Pacific/Niue
+share/postgresql/timezone/Pacific/Norfolk
+share/postgresql/timezone/Pacific/Noumea
+share/postgresql/timezone/Pacific/Pago_Pago
+share/postgresql/timezone/Pacific/Palau
+share/postgresql/timezone/Pacific/Pitcairn
+share/postgresql/timezone/Pacific/Pohnpei
+share/postgresql/timezone/Pacific/Ponape
+share/postgresql/timezone/Pacific/Port_Moresby
+share/postgresql/timezone/Pacific/Rarotonga
+share/postgresql/timezone/Pacific/Saipan
+share/postgresql/timezone/Pacific/Samoa
+share/postgresql/timezone/Pacific/Tahiti
+share/postgresql/timezone/Pacific/Tarawa
+share/postgresql/timezone/Pacific/Tongatapu
+share/postgresql/timezone/Pacific/Truk
+share/postgresql/timezone/Pacific/Wake
+share/postgresql/timezone/Pacific/Wallis
+share/postgresql/timezone/Pacific/Yap
+share/postgresql/timezone/Poland
+share/postgresql/timezone/Portugal
+share/postgresql/timezone/ROC
+share/postgresql/timezone/ROK
+share/postgresql/timezone/Singapore
+share/postgresql/timezone/Turkey
+share/postgresql/timezone/UCT
+share/postgresql/timezone/US/Alaska
+share/postgresql/timezone/US/Aleutian
+share/postgresql/timezone/US/Arizona
+share/postgresql/timezone/US/Central
+share/postgresql/timezone/US/East-Indiana
+share/postgresql/timezone/US/Eastern
+share/postgresql/timezone/US/Hawaii
+share/postgresql/timezone/US/Indiana-Starke
+share/postgresql/timezone/US/Michigan
+share/postgresql/timezone/US/Mountain
+share/postgresql/timezone/US/Pacific
+share/postgresql/timezone/US/Pacific-New
+share/postgresql/timezone/US/Samoa
+share/postgresql/timezone/UTC
+share/postgresql/timezone/Universal
+share/postgresql/timezone/W-SU
+share/postgresql/timezone/WET
+share/postgresql/timezone/Zulu
+share/postgresql/timezone/posixrules
+share/postgresql/timezonesets/Africa.txt
+share/postgresql/timezonesets/America.txt
+share/postgresql/timezonesets/Antarctica.txt
+share/postgresql/timezonesets/Asia.txt
+share/postgresql/timezonesets/Atlantic.txt
+share/postgresql/timezonesets/Australia
+share/postgresql/timezonesets/Australia.txt
+share/postgresql/timezonesets/Default
+share/postgresql/timezonesets/Etc.txt
+share/postgresql/timezonesets/Europe.txt
+share/postgresql/timezonesets/India
+share/postgresql/timezonesets/Indian.txt
+share/postgresql/timezonesets/Pacific.txt
+share/postgresql/tsearch_data/danish.stop
+share/postgresql/tsearch_data/dutch.stop
+share/postgresql/tsearch_data/english.stop
+share/postgresql/tsearch_data/finnish.stop
+share/postgresql/tsearch_data/french.stop
+share/postgresql/tsearch_data/german.stop
+share/postgresql/tsearch_data/hungarian.stop
+share/postgresql/tsearch_data/hunspell_sample.affix
+share/postgresql/tsearch_data/hunspell_sample_long.affix
+share/postgresql/tsearch_data/hunspell_sample_long.dict
+share/postgresql/tsearch_data/hunspell_sample_num.affix
+share/postgresql/tsearch_data/hunspell_sample_num.dict
+share/postgresql/tsearch_data/ispell_sample.affix
+share/postgresql/tsearch_data/ispell_sample.dict
+share/postgresql/tsearch_data/italian.stop
+share/postgresql/tsearch_data/norwegian.stop
+share/postgresql/tsearch_data/portuguese.stop
+share/postgresql/tsearch_data/russian.stop
+share/postgresql/tsearch_data/spanish.stop
+share/postgresql/tsearch_data/swedish.stop
+share/postgresql/tsearch_data/synonym_sample.syn
+share/postgresql/tsearch_data/thesaurus_sample.ths
+share/postgresql/tsearch_data/turkish.stop
diff --git a/databases/postgresql96-server/files/pgsql.sh b/databases/postgresql96-server/files/pgsql.sh
new file mode 100644
index 00000000000..6f3cc991f36
--- /dev/null
+++ b/databases/postgresql96-server/files/pgsql.sh
@@ -0,0 +1,130 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: pgsql.sh,v 1.1 2016/10/29 19:41:55 adam Exp $
+#
+# PostgreSQL database rc.d control script
+#
+# PROVIDE: pgsql
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+# You will need to set some variables in /etc/rc.conf to start PostgreSQL:
+#
+# pgsql=YES
+#
+# Optionally, "pgsql_flags" contains options for the PostgreSQL postmaster, e.g.
+# pgsql_flags="-i" # allows TCP/IP connections
+# pgsql_flags="-i -l" # enables SSL connections
+# pgsql_home="/path/to/home" # path to pgsql database directory
+# See postmaster(1) for possible options.
+
+if [ -f /etc/rc.subr ]; then
+ . /etc/rc.subr
+fi
+
+name="pgsql"
+rcvar=${name}
+command="@PREFIX@/bin/pg_ctl"
+procname="@PREFIX@/bin/postgres"
+: ${pgsql_user:=@PGUSER@}
+: ${pgsql_group:=@PGGROUP@}
+: ${pgsql_home:=@PGHOME@}
+
+extra_commands="initdb reload"
+initdb_cmd="pgsql_initdb"
+start_precmd="pgsql_precmd"
+start_cmd="pgsql_start"
+restart_precmd="pgsql_precmd"
+restart_cmd="pgsql_restart"
+stop_cmd="pgsql_stop"
+reload_cmd="pgsql_reload"
+
+if [ -f /etc/rc.subr -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]; then
+ load_rc_config $name
+elif [ -f /etc/rc.conf ]; then
+ . /etc/rc.conf
+fi
+
+command_args="-w -s -D ${pgsql_home}/data -m fast -l ${pgsql_home}/errlog"
+if [ -n "${pgsql_flags}" ]; then
+ command_args="${command_args} -o \\\"${pgsql_flags}\\\""
+fi
+
+pgsql_precmd()
+{
+ ulimit -n 4096
+ if [ ! -d ${pgsql_home}/data/base ]; then
+ pgsql_initdb
+ fi
+}
+
+pgsql_initdb()
+{
+ if [ -d ${pgsql_home}/data/base ]; then
+ @ECHO@ "The PostgreSQL template databases have already been initialized."
+ @ECHO@ "Skipping database initialization."
+ else
+ @ECHO@ "Initializing PostgreSQL databases."
+ @MKDIR@ -p ${pgsql_home}
+ @CHOWN@ ${pgsql_user} ${pgsql_home}
+ @CHGRP@ ${pgsql_group} ${pgsql_home}
+ @CHMOD@ 0700 ${pgsql_home}
+ doit="@SU@ -m ${pgsql_user} -c '${command} init ${command_args}'"
+ eval $doit
+ fi
+}
+
+pgsql_start()
+{
+ @ECHO@ "Starting ${name}."
+ doit="@SU@ -m ${pgsql_user} -c '${command} start ${command_args}'"
+ eval $doit
+}
+
+pgsql_restart()
+{
+ @ECHO@ "Restarting ${name}."
+ doit="@SU@ -m ${pgsql_user} -c '${command} restart ${command_args}'"
+ eval $doit
+}
+
+pgsql_stop()
+{
+ @ECHO@ "Stopping ${name}."
+ doit="@SU@ -m ${pgsql_user} -c '${command} stop ${command_args}'"
+ eval $doit
+}
+
+pgsql_reload()
+{
+ @ECHO@ "Reloading ${name}."
+ doit="@SU@ -m ${pgsql_user} -c '${command} reload ${command_args}'"
+ eval $doit
+}
+
+if [ -f /etc/rc.subr -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]; then
+ run_rc_command "$1"
+else
+ pidfile="${pgsql_home}/data/postmaster.pid"
+ case "$1" in
+ initdb)
+ eval ${initdb_cmd}
+ ;;
+ restart)
+ eval ${restart_precmd}
+ eval ${restart_cmd}
+ ;;
+ stop)
+ if [ -r "${pidfile}" ]; then
+ eval ${stop_cmd}
+ fi
+ ;;
+ reload)
+ eval ${reload_cmd}
+ ;;
+ *)
+ eval ${start_precmd}
+ eval ${start_cmd}
+ ;;
+ esac
+fi
diff --git a/databases/postgresql96-server/files/smf/manifest.xml b/databases/postgresql96-server/files/smf/manifest.xml
new file mode 100644
index 00000000000..d10147cf285
--- /dev/null
+++ b/databases/postgresql96-server/files/smf/manifest.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+<service_bundle type='manifest' name='export'>
+ <service name='@SMF_PREFIX@/@SMF_NAME@' type='service' version='1'>
+ <create_default_instance enabled='false' />
+ <single_instance />
+ <dependency name='network' grouping='require_all' restart_on='none' type='service'>
+ <service_fmri value='svc:/milestone/network:default' />
+ </dependency>
+ <dependency name='filesystem-local' grouping='require_all' restart_on='none' type='service'>
+ <service_fmri value='svc:/system/filesystem/local:default' />
+ </dependency>
+ <method_context>
+ <method_credential user='@PGUSER@' group='@PGGROUP@' />
+ <method_environment>
+ <envvar name="LD_PRELOAD_32" value="/usr/lib/extendedFILE.so.1" />
+ <envvar name='PATH' value='@PREFIX@/bin:@PREFIX@/sbin:/usr/bin:/usr/sbin:/bin:/sbin'/>
+ </method_environment>
+ </method_context>
+ <exec_method type='method' name='start' exec='@PREFIX@/@SMF_METHOD_FILE.postgresql@ start' timeout_seconds='300' />
+ <exec_method type='method' name='stop' exec='@PREFIX@/@SMF_METHOD_FILE.postgresql@ stop' timeout_seconds='300' />
+ <exec_method type='method' name='refresh' exec='@PREFIX@/@SMF_METHOD_FILE.postgresql@ refresh' timeout_seconds='60' />
+ <property_group name='config' type='application'>
+ <propval name='data' type='astring' value='@PGHOME@/data' />
+ <propval name='log' type='astring' value='@VARBASE@/log/postgresql.log' />
+ </property_group>
+ <template>
+ <common_name>
+ <loctext xml:lang='C'>PostgreSQL RDBMS</loctext>
+ </common_name>
+ <documentation>
+ <manpage title='postgres' section='1M' manpath='@PREFIX@/@PKGMANDIR@'/>
+ <doc_link name='postgresql.org' uri='http://postgresql.org' />
+ </documentation>
+ </template>
+ </service>
+</service_bundle>
diff --git a/databases/postgresql96-server/files/smf/postgresql.sh b/databases/postgresql96-server/files/smf/postgresql.sh
new file mode 100644
index 00000000000..4b3d4d19cf9
--- /dev/null
+++ b/databases/postgresql96-server/files/smf/postgresql.sh
@@ -0,0 +1,57 @@
+#!/sbin/sh
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E SMI"
+. /lib/svc/share/smf_include.sh
+
+# SMF_FMRI is the name of the target service. This allows multiple instances
+# to use the same script.
+
+getproparg()
+{ val=`svcprop -p $1 $SMF_FMRI`
+ [ -n "$val" ] && echo $val
+}
+
+PGBIN=@PREFIX@/bin
+PGDATA=`getproparg config/data`
+PGLOG=`getproparg config/log`
+
+if [ -z $SMF_FMRI ]; then
+ echo "SMF framework variables are not initialized."
+ exit $SMF_EXIT_ERR
+fi
+
+if [ -z $PGDATA ]; then
+
+ echo "postgresql/data property not set"
+ exit $SMF_EXIT_ERR_CONFIG
+fi
+
+if [ -z $PGLOG ]; then
+
+ echo "postgresql/log property not set"
+ exit $SMF_EXIT_ERR_CONFIG
+fi
+
+case "$1" in
+'start')
+ ulimit -n 10240
+ $PGBIN/pg_ctl -D $PGDATA -l $PGLOG start
+ ;;
+
+'stop')
+ $PGBIN/pg_ctl -D $PGDATA stop
+ ;;
+
+'refresh')
+ $PGBIN/pg_ctl -D $PGDATA reload
+ ;;
+*)
+
+ echo $"Usage: $0 {start|refresh}"
+ exit 1
+ ;;
+
+esac
+exit $SMF_EXIT_OK
diff --git a/databases/postgresql96/DESCR b/databases/postgresql96/DESCR
new file mode 100644
index 00000000000..9f6b5b5b0f9
--- /dev/null
+++ b/databases/postgresql96/DESCR
@@ -0,0 +1,9 @@
+PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS),
+derived from the Berkeley Postgres database management system. While
+PostgreSQL retains the powerful object-relational data model, rich data types
+and easy extensibility of Postgres, it replaces the PostQuel query language
+with an extended subset of SQL.
+
+PostgreSQL is free and the complete source is available.
+
+This is the meta-package for the PostgreSQL database system.
diff --git a/databases/postgresql96/Makefile b/databases/postgresql96/Makefile
new file mode 100644
index 00000000000..dacd1f4b130
--- /dev/null
+++ b/databases/postgresql96/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2016/10/29 19:41:54 adam Exp $
+
+PKGNAME= ${DISTNAME:C/-/96-/}
+COMMENT= Robust, next generation, object-relational DBMS
+
+DEPENDS+= postgresql96-client>=${PKGVERSION_NOREV}:../../databases/postgresql96-client
+DEPENDS+= postgresql96-docs>=${PKGVERSION_NOREV}:../../databases/postgresql96-docs
+DEPENDS+= postgresql96-server>=${PKGVERSION_NOREV}:../../databases/postgresql96-server
+
+META_PACKAGE= yes
+
+.include "Makefile.common"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql96/Makefile.common b/databases/postgresql96/Makefile.common
new file mode 100644
index 00000000000..20c1767b238
--- /dev/null
+++ b/databases/postgresql96/Makefile.common
@@ -0,0 +1,129 @@
+# $NetBSD: Makefile.common,v 1.1 2016/10/29 19:41:54 adam Exp $
+#
+# This Makefile fragment is included by all PostgreSQL packages built from
+# the main sources of the PostgreSQL distribution except jdbc-postgresql.
+#
+# The PostgreSQL package naming scheme, aside from the obvious piecewise
+# packages, is as follows:
+# <lang>-postgresql client-side interface to PostgreSQL
+# postgresql-<lang> server-side module for PostgreSQL backend
+#
+# used by databases/postgresql96-client/Makefile
+# used by databases/postgresql96-contrib/Makefile
+# used by databases/postgresql96-docs/Makefile
+# used by databases/postgresql96-plperl/Makefile
+# used by databases/postgresql96-plpython/Makefile
+# used by databases/postgresql96-pltcl/Makefile
+# used by databases/postgresql96-server/Makefile
+
+DISTNAME= postgresql-9.6.1
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER?= adam@NetBSD.org
+HOMEPAGE= http://www.postgresql.org/
+LICENSE= postgresql-license
+
+CONFLICTS+= postgresql-[0-9]*
+CONFLICTS+= postgresql[0-8][0-9]-[0-9]*
+CONFLICTS+= postgresql9[012345789]-[0-9]*
+
+.if !empty(PKGNAME:M*-*-*)
+module= ${PKGNAME:C/-[0-9].*$//:C/^.*-//}
+CONFLICTS+= postgresql[0-8][0-9]-${module}-[0-9]*
+CONFLICTS+= postgresql9[012345789]-${module}-[0-9]*
+.endif
+
+DISTINFO_FILE?= ${.CURDIR}/../../databases/postgresql96/distinfo
+COMMON_FILESDIR?= ${.CURDIR}/../../databases/postgresql96/files
+PATCHDIR?= ${.CURDIR}/../../databases/postgresql96/patches
+
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= bison gmake lex msgfmt
+PKG_SYSCONFSUBDIR= postgresql
+
+.include "../../mk/bsd.prefs.mk"
+
+PG_TEMPLATE.SunOS= solaris
+PG_TEMPLATE.IRIX= irix5
+PG_TEMPLATE.MirBSD= openbsd
+.if !defined(PG_TEMPLATE.${OPSYS})
+PG_TEMPLATE.${OPSYS}= ${LOWER_OPSYS}
+.endif
+
+PG_DATA_DIR= ${PREFIX}/share/postgresql
+PG_DOC_DIR= ${PREFIX}/share/doc/postgresql
+PG_LOCALE_DIR= ${PREFIX}/${PKGLOCALEDIR}/locale
+PG_ETC_DIR= ${PKG_SYSCONFDIR}
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --sysconfdir=${PG_ETC_DIR}
+CONFIGURE_ARGS+= --datadir=${PG_DATA_DIR}
+CONFIGURE_ARGS+= --docdir=${PG_DOC_DIR}
+CONFIGURE_ARGS+= --localedir=${PG_LOCALE_DIR}
+CONFIGURE_ARGS+= --with-template=${PG_TEMPLATE.${OPSYS}}
+
+CONFIGURE_ARGS+= --enable-nls
+CONFIGURE_ARGS+= --with-readline
+CONFIGURE_ARGS+= --without-perl
+CONFIGURE_ARGS+= --without-python
+CONFIGURE_ARGS+= --without-tcl
+CONFIGURE_ARGS+= --without-zlib
+
+# sys/ucred.h shouldn't be included on Solaris, causes conflicts between
+# procfs and largefile.
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ENV+= ac_cv_header_sys_ucred_h=no
+.endif
+
+# configure fails on OpenBSD and MirBSD if thread safety is enabled.
+.if ${OPSYS} == "OpenBSD" || ${OPSYS} == "MirBSD"
+CONFIGURE_ARGS+= --disable-thread-safety
+.endif
+
+# PGSQL_BLCKSZ is the size in bytes of a PostgreSQL disk page or block.
+# This also limits the size of a tuple. The valid values are powers
+# of 2 up to 32768, and the default size is 8196. Please don't change
+# this value unless you know what you are doing.
+BUILD_DEFS+= PGSQL_BLCKSZ
+.if defined(PGSQL_BLCKSZ)
+CONFIGURE_ARGS+= --with-blocksize=${PGSQL_BLCKSZ}
+.endif
+
+# PostgreSQL explicitly forbids any use of -ffast-math
+BUILDLINK_TRANSFORM+= rm:-ffast-math
+
+# USE_LIBLTDL is "yes" or "no" depending on whether we're using libltdl
+# to provide "dlopen" functionality for the PostgreSQL backend.
+.if ${OPSYS} == "Interix"
+USE_LIBLTDL?= yes
+.endif
+USE_LIBLTDL?= no
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+LIBS.SunOS+= -lintl
+# XXX work around core dumps with the native libedit
+USE_GNU_READLINE= yes
+.include "../../devel/readline/buildlink3.mk"
+
+.if !defined(META_PACKAGE)
+post-extract:
+. if !empty(USE_LIBLTDL:M[yY][eE][sS])
+ cp -f ${COMMON_FILESDIR}/dynloader-ltdl.h \
+ ${WRKSRC}/src/backend/port/dynloader/${PG_TEMPLATE.${OPSYS}:Q}.h
+ ${ECHO} "static int dummy = 0;" \
+ > ${WRKSRC}/src/backend/port/dynloader/${PG_TEMPLATE.${OPSYS}:Q}.c
+. endif
+ touch ${WRKSRC}/src/template/dragonfly
+ cp ${WRKSRC}/src/backend/port/dynloader/freebsd.c \
+ ${WRKSRC}/src/backend/port/dynloader/dragonfly.c
+ cp ${WRKSRC}/src/backend/port/dynloader/freebsd.h \
+ ${WRKSRC}/src/backend/port/dynloader/dragonfly.h
+ cp ${WRKSRC}/src/include/port/freebsd.h \
+ ${WRKSRC}/src/include/port/dragonfly.h
+ cp ${WRKSRC}/src/makefiles/Makefile.freebsd \
+ ${WRKSRC}/src/makefiles/Makefile.dragonfly
+.endif
+
+.include "../../databases/postgresql96/options.mk"
diff --git a/databases/postgresql96/PLIST b/databases/postgresql96/PLIST
new file mode 100644
index 00000000000..2a82e6a6105
--- /dev/null
+++ b/databases/postgresql96/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2016/10/29 19:41:54 adam Exp $
+@comment this plist intentionally left empty
diff --git a/databases/postgresql96/distinfo b/databases/postgresql96/distinfo
new file mode 100644
index 00000000000..0bdaf8c1fc5
--- /dev/null
+++ b/databases/postgresql96/distinfo
@@ -0,0 +1,20 @@
+$NetBSD: distinfo,v 1.1 2016/10/29 19:41:54 adam Exp $
+
+SHA1 (postgresql-9.6.1.tar.bz2) = 4209970c9aaf91ebb2a3b8a2e359419e5192b4ad
+RMD160 (postgresql-9.6.1.tar.bz2) = 5981c45f58ac5b2d3f2b7c21103b2a5ffc950224
+SHA512 (postgresql-9.6.1.tar.bz2) = f27af67f9a96f6327150330bf091a803e10eabbac4e488cf5e4d72907e2eb1dbde7282fe0b89fd75711fd8bdcdb3688b5a9eac1e4d6871f4e8681c9c8b0e7c45
+Size (postgresql-9.6.1.tar.bz2) = 19260568 bytes
+SHA1 (patch-config_missing) = c2d7d742922ba6861e7660c75b7b53f09e564813
+SHA1 (patch-config_perl.m4) = e035132b1c281a75752d570ac5e29a11176c25c5
+SHA1 (patch-configure) = 59fe9a768caf8a5d308acac60c28bc6bb2c40632
+SHA1 (patch-contrib_dblink_dblink.c) = a6f87ab9f2c28a72608d70267b71bd77437b0921
+SHA1 (patch-contrib_uuid-ossp_uuid-ossp.c) = efaffec2f51de70823430ca162d499b2886a9190
+SHA1 (patch-src_Makefile.global.in) = 2ab3affedc77b202f6749964287438d6179ca23a
+SHA1 (patch-src_Makefile.shlib) = 46b3a8591678f92892d3837cd31fa44e8a7e21b3
+SHA1 (patch-src_backend_Makefile) = b70b38ea23af6cdde9d2349f2441a429078cfaca
+SHA1 (patch-src_backend_utils_adt_datetime.c) = d1ea70986634d3bfb663eff789425252656e1289
+SHA1 (patch-src_interfaces_ecpg_pgtypeslib_interval.c) = a15012ae34d4ecd1eb2bc29e4d2c40098ea236fd
+SHA1 (patch-src_interfaces_libpq_Makefile) = 61bcf84eb69b6ec9faabab0b61913766f4b20f8c
+SHA1 (patch-src_makefiles_Makefile.solaris) = 0168f5bc105ffc89d5db40907a08966d8465f5a0
+SHA1 (patch-src_pl_plperl_GNUmakefile) = 6ee3e431f46ce5c2a94df499504b2b8bd458bbef
+SHA1 (patch-src_pl_plperl_plperl.h) = bd663fa80a47f7b82ce689060750fa6e631fbc61
diff --git a/databases/postgresql96/files/GNUmakefile.libpq b/databases/postgresql96/files/GNUmakefile.libpq
new file mode 100644
index 00000000000..403b8835b65
--- /dev/null
+++ b/databases/postgresql96/files/GNUmakefile.libpq
@@ -0,0 +1,20 @@
+# $NetBSD: GNUmakefile.libpq,v 1.1 2016/10/29 19:41:55 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/postgresql96/files/dynloader-ltdl.h b/databases/postgresql96/files/dynloader-ltdl.h
new file mode 100644
index 00000000000..49efdd453a8
--- /dev/null
+++ b/databases/postgresql96/files/dynloader-ltdl.h
@@ -0,0 +1,17 @@
+/* $NetBSD: dynloader-ltdl.h,v 1.1 2016/10/29 19:41:55 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 */
diff --git a/databases/postgresql96/options.mk b/databases/postgresql96/options.mk
new file mode 100644
index 00000000000..9b7bd89f40a
--- /dev/null
+++ b/databases/postgresql96/options.mk
@@ -0,0 +1,73 @@
+# $NetBSD: options.mk,v 1.1 2016/10/29 19:41:54 adam Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql96
+PKG_SUPPORTED_OPTIONS= bonjour gssapi kerberos ldap pam xml dtrace
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Bonjour support.
+###
+.if !empty(PKG_OPTIONS:Mbonjour)
+CONFIGURE_ARGS+= --with-bonjour
+. if ${OPSYS} != "Darwin"
+LIBS+= -ldns_sd
+. endif
+. include "../../net/mDNSResponder/buildlink3.mk"
+.endif
+
+###
+### GSSAPI authentication for the PostgreSQL backend.
+###
+.if !empty(PKG_OPTIONS:Mgssapi)
+CONFIGURE_ARGS+= --with-gssapi
+.endif
+
+###
+### Kerberos5 authentication for the PostgreSQL backend.
+###
+.if !empty(PKG_OPTIONS:Mkerberos)
+. include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ARGS+= --with-krb5
+
+CHECK_BUILTIN.${KRB5_TYPE}:= yes
+.include "../../security/${KRB5_TYPE}/builtin.mk"
+CHECK_BUILTIN.${KRB5_TYPE}:= no
+
+. if !empty(USE_BUILTIN.${KRB5_TYPE}:M[yY][eE][sS]) && \
+ exists(${SH_KRB5_CONFIG})
+CFLAGS_KRB5!= ${SH_KRB5_CONFIG} --cflags
+CPPFLAGS+= ${CFLAGS_KRB5}
+. endif
+.endif
+
+###
+### LDAP authentication for the PostgreSQL backend.
+###
+.if !empty(PKG_OPTIONS:Mldap)
+. include "../../databases/openldap-client/buildlink3.mk"
+CONFIGURE_ARGS+= --with-ldap
+.endif
+
+###
+### PAM authentication for the PostgreSQL backend.
+###
+.if !empty(PKG_OPTIONS:Mpam)
+. include "../../mk/pam.buildlink3.mk"
+CONFIGURE_ARGS+= --with-pam
+.endif
+
+###
+### XML support for the PostgreSQL backend.
+###
+.if !empty(PKG_OPTIONS:Mxml)
+. include "../../textproc/libxml2/buildlink3.mk"
+CONFIGURE_ARGS+= --with-libxml
+.endif
+
+###
+### Dtrace support
+###
+.if !empty(PKG_OPTIONS:Mdtrace)
+CONFIGURE_ARGS+= --enable-dtrace
+.endif
diff --git a/databases/postgresql96/patches/patch-config_missing b/databases/postgresql96/patches/patch-config_missing
new file mode 100644
index 00000000000..ab659753381
--- /dev/null
+++ b/databases/postgresql96/patches/patch-config_missing
@@ -0,0 +1,13 @@
+$NetBSD: patch-config_missing,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+--- config/missing.orig 2012-10-05 12:14:55.000000000 +0000
++++ config/missing
+@@ -40,7 +40,7 @@ pre-packaged $1 output.
+ ERROR: Perl is missing on your system. It is needed unless you are building
+ from an unmodified official distribution of PostgreSQL.
+ ***" >&2
+- exit 1
++ exit 0
+ ;;
+
+ *)
diff --git a/databases/postgresql96/patches/patch-config_perl.m4 b/databases/postgresql96/patches/patch-config_perl.m4
new file mode 100644
index 00000000000..dec81e54660
--- /dev/null
+++ b/databases/postgresql96/patches/patch-config_perl.m4
@@ -0,0 +1,15 @@
+$NetBSD: patch-config_perl.m4,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+--- config/perl.m4.orig 2013-09-02 20:53:17.000000000 +0000
++++ config/perl.m4
+@@ -62,9 +62,7 @@ if test "$PORTNAME" = "win32" ; then
+ perl_lib=`basename $perl_archlibexp/CORE/perl[[5-9]]*.lib .lib`
+ test -e "$perl_archlibexp/CORE/$perl_lib.lib" && perl_embed_ldflags="-L$perl_archlibexp/CORE -l$perl_lib"
+ else
+-pgac_tmp1=`$PERL -MExtUtils::Embed -e ldopts`
+-pgac_tmp2=`$PERL -MConfig -e 'print $Config{ccdlflags}'`
+-perl_embed_ldflags=`echo X"$pgac_tmp1" | sed -e "s/^X//" -e "s%$pgac_tmp2%%" -e ["s/ -arch [-a-zA-Z0-9_]*//g"]`
++perl_embed_ldflags=`$PERL -MExtUtils::Embed -e ldopts`
+ fi
+ AC_SUBST(perl_embed_ldflags)dnl
+ if test -z "$perl_embed_ldflags" ; then
diff --git a/databases/postgresql96/patches/patch-configure b/databases/postgresql96/patches/patch-configure
new file mode 100644
index 00000000000..363d2f39b9c
--- /dev/null
+++ b/databases/postgresql96/patches/patch-configure
@@ -0,0 +1,34 @@
+$NetBSD: patch-configure,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+Finally, native solaris uses -lgss for gssapi on mit-krb5.
+
+--- configure.orig 2014-12-16 01:07:34.000000000 +0000
++++ configure
+@@ -2852,6 +2852,7 @@ case $host_os in
+ darwin*) template=darwin ;;
+ dragonfly*) template=netbsd ;;
+ freebsd*) template=freebsd ;;
++ dragonfly*) template=dragonfly ;;
+ hpux*) template=hpux ;;
+ linux*|gnu*|k*bsd*-gnu)
+ template=linux ;;
+@@ -7310,9 +7311,7 @@ if test "$PORTNAME" = "win32" ; then
+ perl_lib=`basename $perl_archlibexp/CORE/perl[5-9]*.lib .lib`
+ test -e "$perl_archlibexp/CORE/$perl_lib.lib" && perl_embed_ldflags="-L$perl_archlibexp/CORE -l$perl_lib"
+ else
+-pgac_tmp1=`$PERL -MExtUtils::Embed -e ldopts`
+-pgac_tmp2=`$PERL -MConfig -e 'print $Config{ccdlflags}'`
+-perl_embed_ldflags=`echo X"$pgac_tmp1" | sed -e "s/^X//" -e "s%$pgac_tmp2%%" -e "s/ -arch [-a-zA-Z0-9_]*//g"`
++perl_embed_ldflags=`$PERL -MExtUtils::Embed -e ldopts`
+ fi
+ if test -z "$perl_embed_ldflags" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+@@ -8407,7 +8406,7 @@ return gss_init_sec_context ();
+ return 0;
+ }
+ _ACEOF
+-for ac_lib in '' gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'; do
++for ac_lib in '' gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto' 'gss -lkrb5 lcrypto'; do
+ if test -z "$ac_lib"; then
+ ac_res="none required"
+ else
diff --git a/databases/postgresql96/patches/patch-contrib_dblink_dblink.c b/databases/postgresql96/patches/patch-contrib_dblink_dblink.c
new file mode 100644
index 00000000000..67425ecb538
--- /dev/null
+++ b/databases/postgresql96/patches/patch-contrib_dblink_dblink.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-contrib_dblink_dblink.c,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+--- contrib/dblink/dblink.c.orig 2013-04-01 18:20:36.000000000 +0000
++++ contrib/dblink/dblink.c
+@@ -52,7 +52,7 @@
+ #include "parser/scansup.h"
+ #include "utils/acl.h"
+ #include "utils/builtins.h"
+-#include "utils/fmgroids.h"
++#include "postgresql/server/utils/fmgroids.h"
+ #include "utils/guc.h"
+ #include "utils/lsyscache.h"
+ #include "utils/memutils.h"
diff --git a/databases/postgresql96/patches/patch-contrib_uuid-ossp_uuid-ossp.c b/databases/postgresql96/patches/patch-contrib_uuid-ossp_uuid-ossp.c
new file mode 100644
index 00000000000..c0fee7f0c59
--- /dev/null
+++ b/databases/postgresql96/patches/patch-contrib_uuid-ossp_uuid-ossp.c
@@ -0,0 +1,22 @@
+$NetBSD: patch-contrib_uuid-ossp_uuid-ossp.c,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+Explicitly define HAVE_UUID_H and HAVE_UUID_OSSP.
+
+--- contrib/uuid-ossp/uuid-ossp.c.orig 2015-01-14 20:54:38.000000000 +0000
++++ contrib/uuid-ossp/uuid-ossp.c
+@@ -26,6 +26,7 @@
+ */
+ #define uuid_hash bsd_uuid_hash
+
++#define HAVE_UUID_H
+ #ifdef HAVE_UUID_H
+ #include <uuid.h>
+ #endif
+@@ -42,6 +43,7 @@
+ * Some BSD variants offer md5 and sha1 implementations but Linux does not,
+ * so we use a copy of the ones from pgcrypto. Not needed with OSSP, though.
+ */
++#define HAVE_UUID_OSSP
+ #ifndef HAVE_UUID_OSSP
+ #include "md5.h"
+ #include "sha1.h"
diff --git a/databases/postgresql96/patches/patch-src_Makefile.global.in b/databases/postgresql96/patches/patch-src_Makefile.global.in
new file mode 100644
index 00000000000..863bfa5a094
--- /dev/null
+++ b/databases/postgresql96/patches/patch-src_Makefile.global.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_Makefile.global.in,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+--- src/Makefile.global.in.orig 2015-10-05 19:12:06.000000000 +0000
++++ src/Makefile.global.in
+@@ -570,6 +570,11 @@ ifeq ($(PORTNAME),win32)
+ LIBS += -lws2_32
+ endif
+
++# missing for link on cygwin ?
++ifeq ($(PORTNAME),cygwin)
++LIBS += $(LDAP_LIBS_BE)
++endif
++
+ # Not really standard libc functions, used by the backend.
+ TAS = @TAS@
+
diff --git a/databases/postgresql96/patches/patch-src_Makefile.shlib b/databases/postgresql96/patches/patch-src_Makefile.shlib
new file mode 100644
index 00000000000..8bde2f55372
--- /dev/null
+++ b/databases/postgresql96/patches/patch-src_Makefile.shlib
@@ -0,0 +1,61 @@
+$NetBSD: patch-src_Makefile.shlib,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+--- src/Makefile.shlib.orig 2016-02-08 21:12:28.000000000 +0000
++++ src/Makefile.shlib
+@@ -151,17 +151,11 @@ endif
+
+ ifeq ($(PORTNAME), freebsd)
+ ifdef ELF_SYSTEM
+- ifdef SO_MAJOR_VERSION
+- shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
+- endif
+ LINK.shared = $(COMPILER) -shared
+ ifdef soname
+ LINK.shared += -Wl,-x,-soname,$(soname)
+ endif
+ else
+- ifdef SO_MAJOR_VERSION
+- shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
+- endif
+ LINK.shared = $(LD) -x -Bshareable -Bforcearchive
+ endif
+ endif
+@@ -177,6 +171,17 @@ ifeq ($(PORTNAME), netbsd)
+ endif
+ endif
+
++ifeq ($(PORTNAME), dragonfly)
++ ifdef ELF_SYSTEM
++ LINK.shared = $(COMPILER) -shared
++ ifdef soname
++ LINK.shared += -Wl,-x,-soname,$(soname)
++ endif
++ else
++ LINK.shared = $(LD) -x -Bshareable -Bforcearchive
++ endif
++endif
++
+ ifeq ($(PORTNAME), hpux)
+ ifdef SO_MAJOR_VERSION
+ shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
+@@ -474,8 +479,10 @@ ifdef soname
+ # we don't install $(shlib) on AIX
+ # (see http://archives.postgresql.org/message-id/52EF20B2E3209443BC37736D00C3C1380A6E79FE@EXADV1.host.magwien.gv.at)
+ ifneq ($(PORTNAME), aix)
++ifeq ($(PORTNAME), cygwin)
++ $(INSTALL_SHLIB) $< '$(DESTDIR)$(bindir)/$(shlib)'
++else
+ $(INSTALL_SHLIB) $< '$(DESTDIR)$(libdir)/$(shlib)'
+-ifneq ($(PORTNAME), cygwin)
+ ifneq ($(PORTNAME), win32)
+ ifneq ($(shlib), $(shlib_major))
+ cd '$(DESTDIR)$(libdir)' && \
+@@ -488,7 +495,7 @@ ifneq ($(shlib), $(shlib_bare))
+ $(LN_S) $(shlib) $(shlib_bare)
+ endif
+ endif # not win32
+-endif # not cygwin
++endif # cygwin
+ endif # not aix
+ ifneq (,$(findstring $(PORTNAME),win32 cygwin))
+ $(INSTALL_SHLIB) $< '$(DESTDIR)$(bindir)/$(shlib)'
diff --git a/databases/postgresql96/patches/patch-src_backend_Makefile b/databases/postgresql96/patches/patch-src_backend_Makefile
new file mode 100644
index 00000000000..e27089f5dad
--- /dev/null
+++ b/databases/postgresql96/patches/patch-src_backend_Makefile
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_backend_Makefile,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+--- src/backend/Makefile.orig 2014-12-16 01:07:34.000000000 +0000
++++ src/backend/Makefile
+@@ -17,6 +17,10 @@ subdir = src/backend
+ top_builddir = ../..
+ include $(top_builddir)/src/Makefile.global
+
++CFLAGS+= $(DL_CFLAGS)
++LDFLAGS+= $(DL_LDFLAGS)
++LIBS+= $(DL_LIBS)
++
+ SUBDIRS = access bootstrap catalog parser commands executor foreign lib libpq \
+ main nodes optimizer port postmaster regex replication rewrite \
+ storage tcop tsearch utils $(top_builddir)/src/timezone
+@@ -121,6 +125,8 @@ catalog/schemapg.h: | submake-schemapg
+
+ $(top_builddir)/src/port/libpgport_srv.a: | submake-libpgport
+
++$(top_builddir)/src/common/libpgcommon_srv.a: | submake-libpgport
++
+
+ # The postgres.o target is needed by the rule in Makefile.global that
+ # creates the exports file when MAKE_EXPORTS = true.
diff --git a/databases/postgresql96/patches/patch-src_backend_utils_adt_datetime.c b/databases/postgresql96/patches/patch-src_backend_utils_adt_datetime.c
new file mode 100644
index 00000000000..4460af3c314
--- /dev/null
+++ b/databases/postgresql96/patches/patch-src_backend_utils_adt_datetime.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_backend_utils_adt_datetime.c,v 1.1 2016/10/29 19:41:55 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,
diff --git a/databases/postgresql96/patches/patch-src_interfaces_ecpg_pgtypeslib_interval.c b/databases/postgresql96/patches/patch-src_interfaces_ecpg_pgtypeslib_interval.c
new file mode 100644
index 00000000000..3fc2cd613a6
--- /dev/null
+++ b/databases/postgresql96/patches/patch-src_interfaces_ecpg_pgtypeslib_interval.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_interfaces_ecpg_pgtypeslib_interval.c,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+--- src/interfaces/ecpg/pgtypeslib/interval.c.orig 2016-05-09 20:50:23.000000000 +0000
++++ src/interfaces/ecpg/pgtypeslib/interval.c
+@@ -14,6 +14,10 @@
+ #include "pgtypes_error.h"
+ #include "pgtypes_interval.h"
+
++#if defined(__NetBSD__)
++#define strtoi pg_strtoi
++#endif
++
+ /* copy&pasted from .../src/backend/utils/adt/datetime.c */
+ static int
+ strtoint(const char *nptr, char **endptr, int base)
diff --git a/databases/postgresql96/patches/patch-src_interfaces_libpq_Makefile b/databases/postgresql96/patches/patch-src_interfaces_libpq_Makefile
new file mode 100644
index 00000000000..49813f6b5b3
--- /dev/null
+++ b/databases/postgresql96/patches/patch-src_interfaces_libpq_Makefile
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_interfaces_libpq_Makefile,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+--- src/interfaces/libpq/Makefile.orig 2016-02-08 21:12:28.000000000 +0000
++++ src/interfaces/libpq/Makefile
+@@ -49,7 +49,7 @@ OBJS += fe-secure-openssl.o
+ endif
+
+ ifeq ($(PORTNAME), cygwin)
+-override shlib = cyg$(NAME)$(DLSUFFIX)
++override shlib = cyg$(NAME)-$(SO_MAJOR_VERSION)$(DLSUFFIX)
+ endif
+
+ ifeq ($(PORTNAME), win32)
diff --git a/databases/postgresql96/patches/patch-src_makefiles_Makefile.solaris b/databases/postgresql96/patches/patch-src_makefiles_Makefile.solaris
new file mode 100644
index 00000000000..9361e2cba8f
--- /dev/null
+++ b/databases/postgresql96/patches/patch-src_makefiles_Makefile.solaris
@@ -0,0 +1,10 @@
+$NetBSD: patch-src_makefiles_Makefile.solaris,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+--- src/makefiles/Makefile.solaris.orig 2011-09-23 00:00:48.000000000 +0200
++++ src/makefiles/Makefile.solaris 2011-10-11 11:53:51.948565783 +0200
+@@ -23,5 +23,3 @@ ifeq ($(GCC), yes)
+ else
+ $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_SL) -G -o $@ $<
+ endif
+-
+-sqlmansect = 5sql
diff --git a/databases/postgresql96/patches/patch-src_pl_plperl_GNUmakefile b/databases/postgresql96/patches/patch-src_pl_plperl_GNUmakefile
new file mode 100644
index 00000000000..bff63cbc59f
--- /dev/null
+++ b/databases/postgresql96/patches/patch-src_pl_plperl_GNUmakefile
@@ -0,0 +1,21 @@
+$NetBSD: patch-src_pl_plperl_GNUmakefile,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+--- src/pl/plperl/GNUmakefile.orig 2013-09-02 20:53:17.000000000 +0000
++++ src/pl/plperl/GNUmakefile
+@@ -55,7 +55,6 @@ XSUBPPDIR = $(shell $(PERL) -e 'use List
+
+ include $(top_srcdir)/src/Makefile.shlib
+
+-plperl.o: perlchunks.h plperl_opmask.h plperl_helpers.h
+
+ plperl_opmask.h: plperl_opmask.pl
+ @if [ x"$(perl_privlibexp)" = x"" ]; then echo "configure switch --with-perl was not specified."; exit 1; fi
+@@ -65,7 +64,7 @@ perlchunks.h: $(PERLCHUNKS)
+ @if [ x"$(perl_privlibexp)" = x"" ]; then echo "configure switch --with-perl was not specified."; exit 1; fi
+ $(PERL) $(srcdir)/text2macro.pl --strip='^(\#.*|\s*)$$' $^ > $@
+
+-all: all-lib
++all: perlchunks.h plperl_opmask.h plperl_helpers.h all-lib
+
+ SPI.c: SPI.xs plperl_helpers.h
+ @if [ x"$(perl_privlibexp)" = x"" ]; then echo "configure switch --with-perl was not specified."; exit 1; fi
diff --git a/databases/postgresql96/patches/patch-src_pl_plperl_plperl.h b/databases/postgresql96/patches/patch-src_pl_plperl_plperl.h
new file mode 100644
index 00000000000..23875264422
--- /dev/null
+++ b/databases/postgresql96/patches/patch-src_pl_plperl_plperl.h
@@ -0,0 +1,26 @@
+$NetBSD: patch-src_pl_plperl_plperl.h,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+--- src/pl/plperl/plperl.h.orig 2011-09-22 23:57:57.000000000 +0200
++++ src/pl/plperl/plperl.h 2011-10-12 20:36:11.783264869 +0200
+@@ -44,12 +44,21 @@
+ #undef vsnprintf
+ #endif
+
++#ifdef __sun
++#define list_head sun_list_head
++#define list_tail sun_list_tail
++#endif
+
+ /* required for perl API */
+ #include "EXTERN.h"
+ #include "perl.h"
+ #include "XSUB.h"
+
++#ifdef __sun
++#undef list_head
++#undef list_tail
++#endif
++
+ /* put back our snprintf and vsnprintf */
+ #ifdef USE_REPL_SNPRINTF
+ #ifdef snprintf