summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam>2010-09-21 07:50:46 +0000
committeradam <adam>2010-09-21 07:50:46 +0000
commit8d1210cefd382e823b476fa7078de3e9f7a10f8c (patch)
tree2a323a1ea4c22dc1a1f0edc90da03a9c7e5794d3
parent3891d9fc7c58e8e46ef58d5903e1b0ae421688ce (diff)
downloadpkgsrc-8d1210cefd382e823b476fa7078de3e9f7a10f8c.tar.gz
Changes 9.0:
9.0 includes more major features than any release before it, including: * Hot standby * Streaming replication * In-place upgrades * 64-bit Windows builds * Easy mass permissions management * Anonymous blocks and named parameter calls for stored procedures * New windowing functions and ordered aggregates ... and many more. For details on the over 200 additions and improvements in this version, developed by over a hundred contributors, please see the release notes.
-rw-r--r--databases/postgresql90-adminpack/DESCR4
-rw-r--r--databases/postgresql90-adminpack/Makefile22
-rw-r--r--databases/postgresql90-adminpack/PLIST4
-rw-r--r--databases/postgresql90-client/DESCR9
-rw-r--r--databases/postgresql90-client/Makefile90
-rw-r--r--databases/postgresql90-client/PLIST646
-rw-r--r--databases/postgresql90-client/buildlink3.mk28
-rw-r--r--databases/postgresql90-dblink/DESCR2
-rw-r--r--databases/postgresql90-dblink/Makefile25
-rw-r--r--databases/postgresql90-dblink/PLIST4
-rw-r--r--databases/postgresql90-docs/DESCR9
-rw-r--r--databases/postgresql90-docs/Makefile30
-rw-r--r--databases/postgresql90-docs/PLIST1258
-rw-r--r--databases/postgresql90-pgcrypto/DESCR3
-rw-r--r--databases/postgresql90-pgcrypto/Makefile22
-rw-r--r--databases/postgresql90-pgcrypto/PLIST4
-rw-r--r--databases/postgresql90-plperl/DESCR5
-rw-r--r--databases/postgresql90-plperl/MESSAGE7
-rw-r--r--databases/postgresql90-plperl/Makefile26
-rw-r--r--databases/postgresql90-plperl/PLIST10
-rw-r--r--databases/postgresql90-plpython/DESCR9
-rw-r--r--databases/postgresql90-plpython/MESSAGE17
-rw-r--r--databases/postgresql90-plpython/Makefile23
-rw-r--r--databases/postgresql90-plpython/PLIST10
-rw-r--r--databases/postgresql90-pltcl/DESCR4
-rw-r--r--databases/postgresql90-pltcl/MESSAGE7
-rw-r--r--databases/postgresql90-pltcl/Makefile25
-rw-r--r--databases/postgresql90-pltcl/PLIST13
-rw-r--r--databases/postgresql90-server/DEINSTALL20
-rw-r--r--databases/postgresql90-server/DESCR9
-rw-r--r--databases/postgresql90-server/MESSAGE18
-rw-r--r--databases/postgresql90-server/Makefile88
-rw-r--r--databases/postgresql90-server/PLIST665
-rw-r--r--databases/postgresql90-server/files/pgsql.sh148
-rw-r--r--databases/postgresql90/DESCR9
-rw-r--r--databases/postgresql90/Makefile14
-rw-r--r--databases/postgresql90/Makefile.common151
-rw-r--r--databases/postgresql90/Makefile.mirrors101
-rw-r--r--databases/postgresql90/PLIST2
-rw-r--r--databases/postgresql90/distinfo15
-rw-r--r--databases/postgresql90/files/GNUmakefile.libpq20
-rw-r--r--databases/postgresql90/files/Makefile.custom42
-rw-r--r--databases/postgresql90/files/Makefile.libtool144
-rw-r--r--databases/postgresql90/files/dynloader-ltdl.h17
-rw-r--r--databases/postgresql90/options.mk36
-rw-r--r--databases/postgresql90/patches/patch-aa15
-rw-r--r--databases/postgresql90/patches/patch-ab23
-rw-r--r--databases/postgresql90/patches/patch-ac15
-rw-r--r--databases/postgresql90/patches/patch-ad21
-rw-r--r--databases/postgresql90/patches/patch-af31
-rw-r--r--databases/postgresql90/patches/patch-ag15
-rw-r--r--databases/postgresql90/patches/patch-ah13
-rw-r--r--databases/postgresql90/patches/patch-ai78
-rw-r--r--databases/postgresql90/patches/patch-an13
-rw-r--r--databases/postgresql90/patches/patch-ao13
55 files changed, 4052 insertions, 0 deletions
diff --git a/databases/postgresql90-adminpack/DESCR b/databases/postgresql90-adminpack/DESCR
new file mode 100644
index 00000000000..69453f2b72c
--- /dev/null
+++ b/databases/postgresql90-adminpack/DESCR
@@ -0,0 +1,4 @@
+The ``adminpack'' PostgreSQL contrib module implements a number of
+support functions which pgAdmin and other administration and management
+tools can use to provide additional functionality if installed on a
+server.
diff --git a/databases/postgresql90-adminpack/Makefile b/databases/postgresql90-adminpack/Makefile
new file mode 100644
index 00000000000..2c7c7fcdefe
--- /dev/null
+++ b/databases/postgresql90-adminpack/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/21 07:51:18 adam Exp $
+
+PKGNAME= postgresql90-adminpack-${BASE_VERS}
+COMMENT= Admin pack module for pgAdmin management
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= postgresql90-server>=${BASE_VERS}:../../databases/postgresql90-server
+
+.include "../../databases/postgresql90/Makefile.common"
+
+BUILD_DIRS= contrib/adminpack
+
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+
+REQD_DIRS+= ${PG_SUBPREFIX}share/doc/postgresql/contrib
+REQD_DIRS+= ${PG_SUBPREFIX}share/postgresql/contrib
+
+.include "../../databases/postgresql90-client/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql90-adminpack/PLIST b/databases/postgresql90-adminpack/PLIST
new file mode 100644
index 00000000000..92542bf7e7c
--- /dev/null
+++ b/databases/postgresql90-adminpack/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/21 07:51:18 adam Exp $
+${PG_SUBPREFIX}lib/postgresql/adminpack.la
+${PG_SUBPREFIX}share/postgresql/contrib/adminpack.sql
+${PG_SUBPREFIX}share/postgresql/contrib/uninstall_adminpack.sql
diff --git a/databases/postgresql90-client/DESCR b/databases/postgresql90-client/DESCR
new file mode 100644
index 00000000000..a485664e6f1
--- /dev/null
+++ b/databases/postgresql90-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/postgresql90-client/Makefile b/databases/postgresql90-client/Makefile
new file mode 100644
index 00000000000..f904dc85dc0
--- /dev/null
+++ b/databases/postgresql90-client/Makefile
@@ -0,0 +1,90 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/21 07:52:41 adam Exp $
+
+PKGNAME= postgresql90-client-${BASE_VERS}
+COMMENT= PostgreSQL database client programs
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../databases/postgresql90/Makefile.common"
+
+USE_TOOLS+= gzip tar
+USE_LIBTOOL= yes
+CONFIGURE_ARGS+= --with-openssl
+CONFIGURE_ARGS+= --with-readline
+CONFIGURE_ARGS+= --with-zlib
+
+# 1. The thread-safety test in ${WRSRC}/src/tools/thread does not pass on
+# NetBSD earler 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"
+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
+.endif
+
+LIBS.SunOS+= -lintl
+
+INSTALL_DIRS= src/include
+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
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql90-client
+.include "../../databases/postgresql90/options.mk"
+
+.for _file_ in pg_service.conf psqlrc
+CONF_FILES+= ${PG_DATA_DIR}/${_file_}.sample ${PG_ETC_DIR}/${_file_}
+.endfor
+
+# XXX work around core dumps with the native libedit
+USE_GNU_READLINE= yes
+
+.include "../../devel/readline/buildlink3.mk"
+.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,${WRKDIR}/.tools,${PREFIX},'
+SUBST_SED.pgxs+= -e 's,${WRKDIR}/.wrapper,${PREFIX},'
+SUBST_SED.pgxs+= -e 's,${WRKSRC},/dev/null,'
+
+INSTALLATION_DIRS+= ${PG_SUBPREFIX}lib/postgresql/pgxs
+INSTALLATION_DIRS+= ${PG_SUBPREFIX}lib/postgresql/pgxs/config
+INSTALLATION_DIRS+= ${PG_SUBPREFIX}lib/postgresql/pgxs/src
+INSTALLATION_DIRS+= ${PG_SUBPREFIX}lib/postgresql/pgxs/src/makefiles
+
+DEST_PG_PGXS= ${DESTDIR}${PG_PREFIX}/lib/postgresql/pgxs
+PG_PGXS_FILES= config/install-sh
+PG_PGXS_FILES+= src/makefiles/pgxs.mk src/Makefile.global
+PG_PGXS_FILES+= src/Makefile.port src/Makefile.shlib
+PG_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 ${PG_PGXS_FILES}; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$file ${DEST_PG_PGXS}/$$file;\
+ done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql90-client/PLIST b/databases/postgresql90-client/PLIST
new file mode 100644
index 00000000000..7fb8896a0c7
--- /dev/null
+++ b/databases/postgresql90-client/PLIST
@@ -0,0 +1,646 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/21 07:52:41 adam Exp $
+${PG_SUBPREFIX}bin/clusterdb
+${PG_SUBPREFIX}bin/createdb
+${PG_SUBPREFIX}bin/createlang
+${PG_SUBPREFIX}bin/createuser
+${PG_SUBPREFIX}bin/dropdb
+${PG_SUBPREFIX}bin/droplang
+${PG_SUBPREFIX}bin/dropuser
+${PG_SUBPREFIX}bin/ecpg
+${PG_SUBPREFIX}bin/initdb
+${PG_SUBPREFIX}bin/pg_config
+${PG_SUBPREFIX}bin/pg_controldata
+${PG_SUBPREFIX}bin/pg_ctl
+${PG_SUBPREFIX}bin/pg_dump
+${PG_SUBPREFIX}bin/pg_dumpall
+${PG_SUBPREFIX}bin/pg_resetxlog
+${PG_SUBPREFIX}bin/pg_restore
+${PG_SUBPREFIX}bin/psql
+${PG_SUBPREFIX}bin/reindexdb
+${PG_SUBPREFIX}bin/vacuumdb
+${PG_SUBPREFIX}include/ecpg_config.h
+${PG_SUBPREFIX}include/ecpg_informix.h
+${PG_SUBPREFIX}include/ecpgerrno.h
+${PG_SUBPREFIX}include/ecpglib.h
+${PG_SUBPREFIX}include/ecpgtype.h
+${PG_SUBPREFIX}include/libpq-events.h
+${PG_SUBPREFIX}include/libpq-fe.h
+${PG_SUBPREFIX}include/libpq/libpq-fs.h
+${PG_SUBPREFIX}include/pg_config.h
+${PG_SUBPREFIX}include/pg_config_manual.h
+${PG_SUBPREFIX}include/pg_config_os.h
+${PG_SUBPREFIX}include/pgtypes_date.h
+${PG_SUBPREFIX}include/pgtypes_error.h
+${PG_SUBPREFIX}include/pgtypes_interval.h
+${PG_SUBPREFIX}include/pgtypes_numeric.h
+${PG_SUBPREFIX}include/pgtypes_timestamp.h
+${PG_SUBPREFIX}include/postgres_ext.h
+${PG_SUBPREFIX}include/postgresql/informix/esql/datetime.h
+${PG_SUBPREFIX}include/postgresql/informix/esql/decimal.h
+${PG_SUBPREFIX}include/postgresql/informix/esql/sqltypes.h
+${PG_SUBPREFIX}include/postgresql/internal/c.h
+${PG_SUBPREFIX}include/postgresql/internal/libpq-int.h
+${PG_SUBPREFIX}include/postgresql/internal/libpq/pqcomm.h
+${PG_SUBPREFIX}include/postgresql/internal/port.h
+${PG_SUBPREFIX}include/postgresql/internal/postgres_fe.h
+${PG_SUBPREFIX}include/postgresql/internal/pqexpbuffer.h
+${PG_SUBPREFIX}include/postgresql/server/access/attnum.h
+${PG_SUBPREFIX}include/postgresql/server/access/clog.h
+${PG_SUBPREFIX}include/postgresql/server/access/genam.h
+${PG_SUBPREFIX}include/postgresql/server/access/gin.h
+${PG_SUBPREFIX}include/postgresql/server/access/gist.h
+${PG_SUBPREFIX}include/postgresql/server/access/gist_private.h
+${PG_SUBPREFIX}include/postgresql/server/access/gistscan.h
+${PG_SUBPREFIX}include/postgresql/server/access/hash.h
+${PG_SUBPREFIX}include/postgresql/server/access/heapam.h
+${PG_SUBPREFIX}include/postgresql/server/access/hio.h
+${PG_SUBPREFIX}include/postgresql/server/access/htup.h
+${PG_SUBPREFIX}include/postgresql/server/access/itup.h
+${PG_SUBPREFIX}include/postgresql/server/access/multixact.h
+${PG_SUBPREFIX}include/postgresql/server/access/nbtree.h
+${PG_SUBPREFIX}include/postgresql/server/access/printtup.h
+${PG_SUBPREFIX}include/postgresql/server/access/reloptions.h
+${PG_SUBPREFIX}include/postgresql/server/access/relscan.h
+${PG_SUBPREFIX}include/postgresql/server/access/rewriteheap.h
+${PG_SUBPREFIX}include/postgresql/server/access/rmgr.h
+${PG_SUBPREFIX}include/postgresql/server/access/sdir.h
+${PG_SUBPREFIX}include/postgresql/server/access/skey.h
+${PG_SUBPREFIX}include/postgresql/server/access/slru.h
+${PG_SUBPREFIX}include/postgresql/server/access/subtrans.h
+${PG_SUBPREFIX}include/postgresql/server/access/sysattr.h
+${PG_SUBPREFIX}include/postgresql/server/access/transam.h
+${PG_SUBPREFIX}include/postgresql/server/access/tupconvert.h
+${PG_SUBPREFIX}include/postgresql/server/access/tupdesc.h
+${PG_SUBPREFIX}include/postgresql/server/access/tupmacs.h
+${PG_SUBPREFIX}include/postgresql/server/access/tuptoaster.h
+${PG_SUBPREFIX}include/postgresql/server/access/twophase.h
+${PG_SUBPREFIX}include/postgresql/server/access/twophase_rmgr.h
+${PG_SUBPREFIX}include/postgresql/server/access/valid.h
+${PG_SUBPREFIX}include/postgresql/server/access/visibilitymap.h
+${PG_SUBPREFIX}include/postgresql/server/access/xact.h
+${PG_SUBPREFIX}include/postgresql/server/access/xlog.h
+${PG_SUBPREFIX}include/postgresql/server/access/xlog_internal.h
+${PG_SUBPREFIX}include/postgresql/server/access/xlogdefs.h
+${PG_SUBPREFIX}include/postgresql/server/access/xlogutils.h
+${PG_SUBPREFIX}include/postgresql/server/bootstrap/bootstrap.h
+${PG_SUBPREFIX}include/postgresql/server/c.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/catalog.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/catversion.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/dependency.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/genbki.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/heap.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/index.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/indexing.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/namespace.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_aggregate.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_am.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_amop.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_amproc.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_attrdef.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_attribute.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_auth_members.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_authid.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_cast.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_class.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_constraint.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_control.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_conversion.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_conversion_fn.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_database.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_db_role_setting.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_default_acl.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_depend.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_description.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_enum.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_foreign_data_wrapper.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_foreign_server.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_index.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_inherits.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_inherits_fn.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_language.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_largeobject.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_largeobject_metadata.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_namespace.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_opclass.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_operator.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_opfamily.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_pltemplate.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_proc.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_proc_fn.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_rewrite.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_shdepend.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_shdescription.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_statistic.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_tablespace.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_trigger.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_ts_config.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_ts_config_map.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_ts_dict.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_ts_parser.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_ts_template.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_type.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_type_fn.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_user_mapping.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/schemapg.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/storage.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/toasting.h
+${PG_SUBPREFIX}include/postgresql/server/commands/alter.h
+${PG_SUBPREFIX}include/postgresql/server/commands/async.h
+${PG_SUBPREFIX}include/postgresql/server/commands/cluster.h
+${PG_SUBPREFIX}include/postgresql/server/commands/comment.h
+${PG_SUBPREFIX}include/postgresql/server/commands/conversioncmds.h
+${PG_SUBPREFIX}include/postgresql/server/commands/copy.h
+${PG_SUBPREFIX}include/postgresql/server/commands/dbcommands.h
+${PG_SUBPREFIX}include/postgresql/server/commands/defrem.h
+${PG_SUBPREFIX}include/postgresql/server/commands/discard.h
+${PG_SUBPREFIX}include/postgresql/server/commands/explain.h
+${PG_SUBPREFIX}include/postgresql/server/commands/lockcmds.h
+${PG_SUBPREFIX}include/postgresql/server/commands/portalcmds.h
+${PG_SUBPREFIX}include/postgresql/server/commands/prepare.h
+${PG_SUBPREFIX}include/postgresql/server/commands/proclang.h
+${PG_SUBPREFIX}include/postgresql/server/commands/schemacmds.h
+${PG_SUBPREFIX}include/postgresql/server/commands/sequence.h
+${PG_SUBPREFIX}include/postgresql/server/commands/tablecmds.h
+${PG_SUBPREFIX}include/postgresql/server/commands/tablespace.h
+${PG_SUBPREFIX}include/postgresql/server/commands/trigger.h
+${PG_SUBPREFIX}include/postgresql/server/commands/typecmds.h
+${PG_SUBPREFIX}include/postgresql/server/commands/user.h
+${PG_SUBPREFIX}include/postgresql/server/commands/vacuum.h
+${PG_SUBPREFIX}include/postgresql/server/commands/variable.h
+${PG_SUBPREFIX}include/postgresql/server/commands/view.h
+${PG_SUBPREFIX}include/postgresql/server/dynloader.h
+${PG_SUBPREFIX}include/postgresql/server/executor/execdebug.h
+${PG_SUBPREFIX}include/postgresql/server/executor/execdefs.h
+${PG_SUBPREFIX}include/postgresql/server/executor/execdesc.h
+${PG_SUBPREFIX}include/postgresql/server/executor/executor.h
+${PG_SUBPREFIX}include/postgresql/server/executor/functions.h
+${PG_SUBPREFIX}include/postgresql/server/executor/hashjoin.h
+${PG_SUBPREFIX}include/postgresql/server/executor/instrument.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeAgg.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeAppend.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeBitmapAnd.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeBitmapHeapscan.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeBitmapIndexscan.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeBitmapOr.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeCtescan.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeFunctionscan.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeGroup.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeHash.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeHashjoin.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeIndexscan.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeLimit.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeLockRows.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeMaterial.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeMergejoin.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeModifyTable.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeNestloop.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeRecursiveunion.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeResult.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeSeqscan.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeSetOp.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeSort.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeSubplan.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeSubqueryscan.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeTidscan.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeUnique.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeValuesscan.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeWindowAgg.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeWorktablescan.h
+${PG_SUBPREFIX}include/postgresql/server/executor/spi.h
+${PG_SUBPREFIX}include/postgresql/server/executor/spi_priv.h
+${PG_SUBPREFIX}include/postgresql/server/executor/tstoreReceiver.h
+${PG_SUBPREFIX}include/postgresql/server/executor/tuptable.h
+${PG_SUBPREFIX}include/postgresql/server/fmgr.h
+${PG_SUBPREFIX}include/postgresql/server/foreign/foreign.h
+${PG_SUBPREFIX}include/postgresql/server/funcapi.h
+${PG_SUBPREFIX}include/postgresql/server/getaddrinfo.h
+${PG_SUBPREFIX}include/postgresql/server/getopt_long.h
+${PG_SUBPREFIX}include/postgresql/server/lib/dllist.h
+${PG_SUBPREFIX}include/postgresql/server/lib/stringinfo.h
+${PG_SUBPREFIX}include/postgresql/server/libpq/auth.h
+${PG_SUBPREFIX}include/postgresql/server/libpq/be-fsstubs.h
+${PG_SUBPREFIX}include/postgresql/server/libpq/crypt.h
+${PG_SUBPREFIX}include/postgresql/server/libpq/hba.h
+${PG_SUBPREFIX}include/postgresql/server/libpq/ip.h
+${PG_SUBPREFIX}include/postgresql/server/libpq/libpq-be.h
+${PG_SUBPREFIX}include/postgresql/server/libpq/libpq-fs.h
+${PG_SUBPREFIX}include/postgresql/server/libpq/libpq.h
+${PG_SUBPREFIX}include/postgresql/server/libpq/md5.h
+${PG_SUBPREFIX}include/postgresql/server/libpq/pqcomm.h
+${PG_SUBPREFIX}include/postgresql/server/libpq/pqformat.h
+${PG_SUBPREFIX}include/postgresql/server/libpq/pqsignal.h
+${PG_SUBPREFIX}include/postgresql/server/mb/pg_wchar.h
+${PG_SUBPREFIX}include/postgresql/server/miscadmin.h
+${PG_SUBPREFIX}include/postgresql/server/nodes/bitmapset.h
+${PG_SUBPREFIX}include/postgresql/server/nodes/execnodes.h
+${PG_SUBPREFIX}include/postgresql/server/nodes/makefuncs.h
+${PG_SUBPREFIX}include/postgresql/server/nodes/memnodes.h
+${PG_SUBPREFIX}include/postgresql/server/nodes/nodeFuncs.h
+${PG_SUBPREFIX}include/postgresql/server/nodes/nodes.h
+${PG_SUBPREFIX}include/postgresql/server/nodes/params.h
+${PG_SUBPREFIX}include/postgresql/server/nodes/parsenodes.h
+${PG_SUBPREFIX}include/postgresql/server/nodes/pg_list.h
+${PG_SUBPREFIX}include/postgresql/server/nodes/plannodes.h
+${PG_SUBPREFIX}include/postgresql/server/nodes/primnodes.h
+${PG_SUBPREFIX}include/postgresql/server/nodes/print.h
+${PG_SUBPREFIX}include/postgresql/server/nodes/readfuncs.h
+${PG_SUBPREFIX}include/postgresql/server/nodes/relation.h
+${PG_SUBPREFIX}include/postgresql/server/nodes/tidbitmap.h
+${PG_SUBPREFIX}include/postgresql/server/nodes/value.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/clauses.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/cost.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/geqo.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/geqo_copy.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/geqo_gene.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/geqo_misc.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/geqo_mutation.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/geqo_pool.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/geqo_random.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/geqo_recombination.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/geqo_selection.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/joininfo.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/pathnode.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/paths.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/placeholder.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/plancat.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/planmain.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/planner.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/predtest.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/prep.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/restrictinfo.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/subselect.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/tlist.h
+${PG_SUBPREFIX}include/postgresql/server/optimizer/var.h
+${PG_SUBPREFIX}include/postgresql/server/parser/analyze.h
+${PG_SUBPREFIX}include/postgresql/server/parser/gram.h
+${PG_SUBPREFIX}include/postgresql/server/parser/gramparse.h
+${PG_SUBPREFIX}include/postgresql/server/parser/keywords.h
+${PG_SUBPREFIX}include/postgresql/server/parser/kwlist.h
+${PG_SUBPREFIX}include/postgresql/server/parser/parse_agg.h
+${PG_SUBPREFIX}include/postgresql/server/parser/parse_clause.h
+${PG_SUBPREFIX}include/postgresql/server/parser/parse_coerce.h
+${PG_SUBPREFIX}include/postgresql/server/parser/parse_cte.h
+${PG_SUBPREFIX}include/postgresql/server/parser/parse_expr.h
+${PG_SUBPREFIX}include/postgresql/server/parser/parse_func.h
+${PG_SUBPREFIX}include/postgresql/server/parser/parse_node.h
+${PG_SUBPREFIX}include/postgresql/server/parser/parse_oper.h
+${PG_SUBPREFIX}include/postgresql/server/parser/parse_param.h
+${PG_SUBPREFIX}include/postgresql/server/parser/parse_relation.h
+${PG_SUBPREFIX}include/postgresql/server/parser/parse_target.h
+${PG_SUBPREFIX}include/postgresql/server/parser/parse_type.h
+${PG_SUBPREFIX}include/postgresql/server/parser/parse_utilcmd.h
+${PG_SUBPREFIX}include/postgresql/server/parser/parser.h
+${PG_SUBPREFIX}include/postgresql/server/parser/parsetree.h
+${PG_SUBPREFIX}include/postgresql/server/parser/scanner.h
+${PG_SUBPREFIX}include/postgresql/server/parser/scansup.h
+${PG_SUBPREFIX}include/postgresql/server/pg_config.h
+${PG_SUBPREFIX}include/postgresql/server/pg_config_manual.h
+${PG_SUBPREFIX}include/postgresql/server/pg_config_os.h
+${PG_SUBPREFIX}include/postgresql/server/pg_trace.h
+${PG_SUBPREFIX}include/postgresql/server/pgstat.h
+${PG_SUBPREFIX}include/postgresql/server/pgtime.h
+${PG_SUBPREFIX}include/postgresql/server/port.h
+${PG_SUBPREFIX}include/postgresql/server/port/aix.h
+${PG_SUBPREFIX}include/postgresql/server/port/bsdi.h
+${PG_SUBPREFIX}include/postgresql/server/port/cygwin.h
+${PG_SUBPREFIX}include/postgresql/server/port/darwin.h
+${PG_SUBPREFIX}include/postgresql/server/port/dgux.h
+${PG_SUBPREFIX}include/postgresql/server/port/dragonfly.h
+${PG_SUBPREFIX}include/postgresql/server/port/freebsd.h
+${PG_SUBPREFIX}include/postgresql/server/port/hpux.h
+${PG_SUBPREFIX}include/postgresql/server/port/irix.h
+${PG_SUBPREFIX}include/postgresql/server/port/linux.h
+${PG_SUBPREFIX}include/postgresql/server/port/netbsd.h
+${PG_SUBPREFIX}include/postgresql/server/port/nextstep.h
+${PG_SUBPREFIX}include/postgresql/server/port/openbsd.h
+${PG_SUBPREFIX}include/postgresql/server/port/osf.h
+${PG_SUBPREFIX}include/postgresql/server/port/sco.h
+${PG_SUBPREFIX}include/postgresql/server/port/solaris.h
+${PG_SUBPREFIX}include/postgresql/server/port/sunos4.h
+${PG_SUBPREFIX}include/postgresql/server/port/svr4.h
+${PG_SUBPREFIX}include/postgresql/server/port/ultrix4.h
+${PG_SUBPREFIX}include/postgresql/server/port/univel.h
+${PG_SUBPREFIX}include/postgresql/server/port/unixware.h
+${PG_SUBPREFIX}include/postgresql/server/port/win32.h
+${PG_SUBPREFIX}include/postgresql/server/port/win32/arpa/inet.h
+${PG_SUBPREFIX}include/postgresql/server/port/win32/dlfcn.h
+${PG_SUBPREFIX}include/postgresql/server/port/win32/grp.h
+${PG_SUBPREFIX}include/postgresql/server/port/win32/netdb.h
+${PG_SUBPREFIX}include/postgresql/server/port/win32/netinet/in.h
+${PG_SUBPREFIX}include/postgresql/server/port/win32/pwd.h
+${PG_SUBPREFIX}include/postgresql/server/port/win32/sys/socket.h
+${PG_SUBPREFIX}include/postgresql/server/port/win32/sys/wait.h
+${PG_SUBPREFIX}include/postgresql/server/port/win32_msvc/dirent.h
+${PG_SUBPREFIX}include/postgresql/server/port/win32_msvc/sys/file.h
+${PG_SUBPREFIX}include/postgresql/server/port/win32_msvc/sys/param.h
+${PG_SUBPREFIX}include/postgresql/server/port/win32_msvc/sys/time.h
+${PG_SUBPREFIX}include/postgresql/server/port/win32_msvc/unistd.h
+${PG_SUBPREFIX}include/postgresql/server/port/win32_msvc/utime.h
+${PG_SUBPREFIX}include/postgresql/server/portability/instr_time.h
+${PG_SUBPREFIX}include/postgresql/server/postgres.h
+${PG_SUBPREFIX}include/postgresql/server/postgres_ext.h
+${PG_SUBPREFIX}include/postgresql/server/postgres_fe.h
+${PG_SUBPREFIX}include/postgresql/server/postmaster/autovacuum.h
+${PG_SUBPREFIX}include/postgresql/server/postmaster/bgwriter.h
+${PG_SUBPREFIX}include/postgresql/server/postmaster/fork_process.h
+${PG_SUBPREFIX}include/postgresql/server/postmaster/pgarch.h
+${PG_SUBPREFIX}include/postgresql/server/postmaster/postmaster.h
+${PG_SUBPREFIX}include/postgresql/server/postmaster/syslogger.h
+${PG_SUBPREFIX}include/postgresql/server/postmaster/walwriter.h
+${PG_SUBPREFIX}include/postgresql/server/regex/regcustom.h
+${PG_SUBPREFIX}include/postgresql/server/regex/regerrs.h
+${PG_SUBPREFIX}include/postgresql/server/regex/regex.h
+${PG_SUBPREFIX}include/postgresql/server/regex/regguts.h
+${PG_SUBPREFIX}include/postgresql/server/replication/walprotocol.h
+${PG_SUBPREFIX}include/postgresql/server/replication/walreceiver.h
+${PG_SUBPREFIX}include/postgresql/server/replication/walsender.h
+${PG_SUBPREFIX}include/postgresql/server/rewrite/prs2lock.h
+${PG_SUBPREFIX}include/postgresql/server/rewrite/rewriteDefine.h
+${PG_SUBPREFIX}include/postgresql/server/rewrite/rewriteHandler.h
+${PG_SUBPREFIX}include/postgresql/server/rewrite/rewriteManip.h
+${PG_SUBPREFIX}include/postgresql/server/rewrite/rewriteRemove.h
+${PG_SUBPREFIX}include/postgresql/server/rewrite/rewriteSupport.h
+${PG_SUBPREFIX}include/postgresql/server/rusagestub.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/header.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/api.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/header.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_danish.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_dutch.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_english.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_finnish.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_french.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_german.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_hungarian.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_italian.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_norwegian.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_porter.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_portuguese.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_spanish.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_ISO_8859_1_swedish.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_ISO_8859_2_romanian.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_KOI8_R_russian.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_UTF_8_danish.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_UTF_8_dutch.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_UTF_8_english.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_UTF_8_finnish.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_UTF_8_french.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_UTF_8_german.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_UTF_8_hungarian.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_UTF_8_italian.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_UTF_8_norwegian.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_UTF_8_porter.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_UTF_8_portuguese.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_UTF_8_romanian.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_UTF_8_russian.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_UTF_8_spanish.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_UTF_8_swedish.h
+${PG_SUBPREFIX}include/postgresql/server/snowball/libstemmer/stem_UTF_8_turkish.h
+${PG_SUBPREFIX}include/postgresql/server/storage/backendid.h
+${PG_SUBPREFIX}include/postgresql/server/storage/block.h
+${PG_SUBPREFIX}include/postgresql/server/storage/buf.h
+${PG_SUBPREFIX}include/postgresql/server/storage/buf_internals.h
+${PG_SUBPREFIX}include/postgresql/server/storage/buffile.h
+${PG_SUBPREFIX}include/postgresql/server/storage/bufmgr.h
+${PG_SUBPREFIX}include/postgresql/server/storage/bufpage.h
+${PG_SUBPREFIX}include/postgresql/server/storage/fd.h
+${PG_SUBPREFIX}include/postgresql/server/storage/freespace.h
+${PG_SUBPREFIX}include/postgresql/server/storage/fsm_internals.h
+${PG_SUBPREFIX}include/postgresql/server/storage/indexfsm.h
+${PG_SUBPREFIX}include/postgresql/server/storage/ipc.h
+${PG_SUBPREFIX}include/postgresql/server/storage/item.h
+${PG_SUBPREFIX}include/postgresql/server/storage/itemid.h
+${PG_SUBPREFIX}include/postgresql/server/storage/itemptr.h
+${PG_SUBPREFIX}include/postgresql/server/storage/large_object.h
+${PG_SUBPREFIX}include/postgresql/server/storage/lmgr.h
+${PG_SUBPREFIX}include/postgresql/server/storage/lock.h
+${PG_SUBPREFIX}include/postgresql/server/storage/lwlock.h
+${PG_SUBPREFIX}include/postgresql/server/storage/off.h
+${PG_SUBPREFIX}include/postgresql/server/storage/pg_sema.h
+${PG_SUBPREFIX}include/postgresql/server/storage/pg_shmem.h
+${PG_SUBPREFIX}include/postgresql/server/storage/pmsignal.h
+${PG_SUBPREFIX}include/postgresql/server/storage/pos.h
+${PG_SUBPREFIX}include/postgresql/server/storage/proc.h
+${PG_SUBPREFIX}include/postgresql/server/storage/procarray.h
+${PG_SUBPREFIX}include/postgresql/server/storage/procsignal.h
+${PG_SUBPREFIX}include/postgresql/server/storage/relfilenode.h
+${PG_SUBPREFIX}include/postgresql/server/storage/s_lock.h
+${PG_SUBPREFIX}include/postgresql/server/storage/shmem.h
+${PG_SUBPREFIX}include/postgresql/server/storage/sinval.h
+${PG_SUBPREFIX}include/postgresql/server/storage/sinvaladt.h
+${PG_SUBPREFIX}include/postgresql/server/storage/smgr.h
+${PG_SUBPREFIX}include/postgresql/server/storage/spin.h
+${PG_SUBPREFIX}include/postgresql/server/storage/standby.h
+${PG_SUBPREFIX}include/postgresql/server/tcop/dest.h
+${PG_SUBPREFIX}include/postgresql/server/tcop/fastpath.h
+${PG_SUBPREFIX}include/postgresql/server/tcop/pquery.h
+${PG_SUBPREFIX}include/postgresql/server/tcop/tcopdebug.h
+${PG_SUBPREFIX}include/postgresql/server/tcop/tcopprot.h
+${PG_SUBPREFIX}include/postgresql/server/tcop/utility.h
+${PG_SUBPREFIX}include/postgresql/server/tsearch/dicts/regis.h
+${PG_SUBPREFIX}include/postgresql/server/tsearch/dicts/spell.h
+${PG_SUBPREFIX}include/postgresql/server/tsearch/ts_cache.h
+${PG_SUBPREFIX}include/postgresql/server/tsearch/ts_locale.h
+${PG_SUBPREFIX}include/postgresql/server/tsearch/ts_public.h
+${PG_SUBPREFIX}include/postgresql/server/tsearch/ts_type.h
+${PG_SUBPREFIX}include/postgresql/server/tsearch/ts_utils.h
+${PG_SUBPREFIX}include/postgresql/server/utils/acl.h
+${PG_SUBPREFIX}include/postgresql/server/utils/array.h
+${PG_SUBPREFIX}include/postgresql/server/utils/ascii.h
+${PG_SUBPREFIX}include/postgresql/server/utils/attoptcache.h
+${PG_SUBPREFIX}include/postgresql/server/utils/builtins.h
+${PG_SUBPREFIX}include/postgresql/server/utils/bytea.h
+${PG_SUBPREFIX}include/postgresql/server/utils/cash.h
+${PG_SUBPREFIX}include/postgresql/server/utils/catcache.h
+${PG_SUBPREFIX}include/postgresql/server/utils/combocid.h
+${PG_SUBPREFIX}include/postgresql/server/utils/date.h
+${PG_SUBPREFIX}include/postgresql/server/utils/datetime.h
+${PG_SUBPREFIX}include/postgresql/server/utils/datum.h
+${PG_SUBPREFIX}include/postgresql/server/utils/dynahash.h
+${PG_SUBPREFIX}include/postgresql/server/utils/dynamic_loader.h
+${PG_SUBPREFIX}include/postgresql/server/utils/elog.h
+${PG_SUBPREFIX}include/postgresql/server/utils/errcodes.h
+${PG_SUBPREFIX}include/postgresql/server/utils/fmgroids.h
+${PG_SUBPREFIX}include/postgresql/server/utils/fmgrtab.h
+${PG_SUBPREFIX}include/postgresql/server/utils/formatting.h
+${PG_SUBPREFIX}include/postgresql/server/utils/geo_decls.h
+${PG_SUBPREFIX}include/postgresql/server/utils/guc.h
+${PG_SUBPREFIX}include/postgresql/server/utils/guc_tables.h
+${PG_SUBPREFIX}include/postgresql/server/utils/help_config.h
+${PG_SUBPREFIX}include/postgresql/server/utils/hsearch.h
+${PG_SUBPREFIX}include/postgresql/server/utils/inet.h
+${PG_SUBPREFIX}include/postgresql/server/utils/int8.h
+${PG_SUBPREFIX}include/postgresql/server/utils/inval.h
+${PG_SUBPREFIX}include/postgresql/server/utils/logtape.h
+${PG_SUBPREFIX}include/postgresql/server/utils/lsyscache.h
+${PG_SUBPREFIX}include/postgresql/server/utils/memutils.h
+${PG_SUBPREFIX}include/postgresql/server/utils/nabstime.h
+${PG_SUBPREFIX}include/postgresql/server/utils/numeric.h
+${PG_SUBPREFIX}include/postgresql/server/utils/palloc.h
+${PG_SUBPREFIX}include/postgresql/server/utils/pg_crc.h
+${PG_SUBPREFIX}include/postgresql/server/utils/pg_locale.h
+${PG_SUBPREFIX}include/postgresql/server/utils/pg_lzcompress.h
+${PG_SUBPREFIX}include/postgresql/server/utils/pg_rusage.h
+${PG_SUBPREFIX}include/postgresql/server/utils/plancache.h
+${PG_SUBPREFIX}include/postgresql/server/utils/portal.h
+${PG_SUBPREFIX}include/postgresql/server/utils/probes.h
+${PG_SUBPREFIX}include/postgresql/server/utils/ps_status.h
+${PG_SUBPREFIX}include/postgresql/server/utils/rbtree.h
+${PG_SUBPREFIX}include/postgresql/server/utils/rel.h
+${PG_SUBPREFIX}include/postgresql/server/utils/relcache.h
+${PG_SUBPREFIX}include/postgresql/server/utils/relmapper.h
+${PG_SUBPREFIX}include/postgresql/server/utils/resowner.h
+${PG_SUBPREFIX}include/postgresql/server/utils/selfuncs.h
+${PG_SUBPREFIX}include/postgresql/server/utils/snapmgr.h
+${PG_SUBPREFIX}include/postgresql/server/utils/snapshot.h
+${PG_SUBPREFIX}include/postgresql/server/utils/spccache.h
+${PG_SUBPREFIX}include/postgresql/server/utils/syscache.h
+${PG_SUBPREFIX}include/postgresql/server/utils/timestamp.h
+${PG_SUBPREFIX}include/postgresql/server/utils/tqual.h
+${PG_SUBPREFIX}include/postgresql/server/utils/tuplesort.h
+${PG_SUBPREFIX}include/postgresql/server/utils/tuplestore.h
+${PG_SUBPREFIX}include/postgresql/server/utils/typcache.h
+${PG_SUBPREFIX}include/postgresql/server/utils/tzparser.h
+${PG_SUBPREFIX}include/postgresql/server/utils/uuid.h
+${PG_SUBPREFIX}include/postgresql/server/utils/varbit.h
+${PG_SUBPREFIX}include/postgresql/server/utils/xml.h
+${PG_SUBPREFIX}include/postgresql/server/windowapi.h
+${PG_SUBPREFIX}include/sql3types.h
+${PG_SUBPREFIX}include/sqlca.h
+${PG_SUBPREFIX}include/sqlda-compat.h
+${PG_SUBPREFIX}include/sqlda-native.h
+${PG_SUBPREFIX}include/sqlda.h
+${PG_SUBPREFIX}lib/libecpg.la
+${PG_SUBPREFIX}lib/libecpg_compat.la
+${PG_SUBPREFIX}lib/libpgport.a
+${PG_SUBPREFIX}lib/libpgtypes.la
+${PG_SUBPREFIX}lib/libpq.la
+${PG_SUBPREFIX}lib/postgresql/pgxs/config/install-sh
+${PG_SUBPREFIX}lib/postgresql/pgxs/src/Makefile.global
+${PG_SUBPREFIX}lib/postgresql/pgxs/src/Makefile.port
+${PG_SUBPREFIX}lib/postgresql/pgxs/src/Makefile.shlib
+${PG_SUBPREFIX}lib/postgresql/pgxs/src/makefiles/pgxs.mk
+${PG_SUBPREFIX}lib/postgresql/pgxs/src/nls-global.mk
+${PG_SUBPREFIX}share/locale/cs/LC_MESSAGES/initdb-9.0.mo
+${PG_SUBPREFIX}share/locale/cs/LC_MESSAGES/libpq5-9.0.mo
+${PG_SUBPREFIX}share/locale/cs/LC_MESSAGES/pgscripts-9.0.mo
+${PG_SUBPREFIX}share/locale/cs/LC_MESSAGES/psql-9.0.mo
+${PG_SUBPREFIX}share/locale/de/LC_MESSAGES/ecpg-9.0.mo
+${PG_SUBPREFIX}share/locale/de/LC_MESSAGES/ecpglib6-9.0.mo
+${PG_SUBPREFIX}share/locale/de/LC_MESSAGES/initdb-9.0.mo
+${PG_SUBPREFIX}share/locale/de/LC_MESSAGES/libpq5-9.0.mo
+${PG_SUBPREFIX}share/locale/de/LC_MESSAGES/pg_config-9.0.mo
+${PG_SUBPREFIX}share/locale/de/LC_MESSAGES/pg_controldata-9.0.mo
+${PG_SUBPREFIX}share/locale/de/LC_MESSAGES/pg_ctl-9.0.mo
+${PG_SUBPREFIX}share/locale/de/LC_MESSAGES/pg_dump-9.0.mo
+${PG_SUBPREFIX}share/locale/de/LC_MESSAGES/pg_resetxlog-9.0.mo
+${PG_SUBPREFIX}share/locale/de/LC_MESSAGES/pgscripts-9.0.mo
+${PG_SUBPREFIX}share/locale/de/LC_MESSAGES/psql-9.0.mo
+${PG_SUBPREFIX}share/locale/es/LC_MESSAGES/ecpg-9.0.mo
+${PG_SUBPREFIX}share/locale/es/LC_MESSAGES/ecpglib6-9.0.mo
+${PG_SUBPREFIX}share/locale/es/LC_MESSAGES/initdb-9.0.mo
+${PG_SUBPREFIX}share/locale/es/LC_MESSAGES/libpq5-9.0.mo
+${PG_SUBPREFIX}share/locale/es/LC_MESSAGES/pg_config-9.0.mo
+${PG_SUBPREFIX}share/locale/es/LC_MESSAGES/pg_controldata-9.0.mo
+${PG_SUBPREFIX}share/locale/es/LC_MESSAGES/pg_ctl-9.0.mo
+${PG_SUBPREFIX}share/locale/es/LC_MESSAGES/pg_dump-9.0.mo
+${PG_SUBPREFIX}share/locale/es/LC_MESSAGES/pg_resetxlog-9.0.mo
+${PG_SUBPREFIX}share/locale/es/LC_MESSAGES/pgscripts-9.0.mo
+${PG_SUBPREFIX}share/locale/es/LC_MESSAGES/psql-9.0.mo
+${PG_SUBPREFIX}share/locale/fr/LC_MESSAGES/ecpg-9.0.mo
+${PG_SUBPREFIX}share/locale/fr/LC_MESSAGES/ecpglib6-9.0.mo
+${PG_SUBPREFIX}share/locale/fr/LC_MESSAGES/initdb-9.0.mo
+${PG_SUBPREFIX}share/locale/fr/LC_MESSAGES/libpq5-9.0.mo
+${PG_SUBPREFIX}share/locale/fr/LC_MESSAGES/pg_config-9.0.mo
+${PG_SUBPREFIX}share/locale/fr/LC_MESSAGES/pg_controldata-9.0.mo
+${PG_SUBPREFIX}share/locale/fr/LC_MESSAGES/pg_ctl-9.0.mo
+${PG_SUBPREFIX}share/locale/fr/LC_MESSAGES/pg_dump-9.0.mo
+${PG_SUBPREFIX}share/locale/fr/LC_MESSAGES/pg_resetxlog-9.0.mo
+${PG_SUBPREFIX}share/locale/fr/LC_MESSAGES/pgscripts-9.0.mo
+${PG_SUBPREFIX}share/locale/fr/LC_MESSAGES/psql-9.0.mo
+${PG_SUBPREFIX}share/locale/it/LC_MESSAGES/ecpg-9.0.mo
+${PG_SUBPREFIX}share/locale/it/LC_MESSAGES/ecpglib6-9.0.mo
+${PG_SUBPREFIX}share/locale/it/LC_MESSAGES/initdb-9.0.mo
+${PG_SUBPREFIX}share/locale/it/LC_MESSAGES/libpq5-9.0.mo
+${PG_SUBPREFIX}share/locale/it/LC_MESSAGES/pg_config-9.0.mo
+${PG_SUBPREFIX}share/locale/it/LC_MESSAGES/pg_controldata-9.0.mo
+${PG_SUBPREFIX}share/locale/it/LC_MESSAGES/pg_ctl-9.0.mo
+${PG_SUBPREFIX}share/locale/it/LC_MESSAGES/pg_dump-9.0.mo
+${PG_SUBPREFIX}share/locale/it/LC_MESSAGES/pg_resetxlog-9.0.mo
+${PG_SUBPREFIX}share/locale/it/LC_MESSAGES/pgscripts-9.0.mo
+${PG_SUBPREFIX}share/locale/ja/LC_MESSAGES/ecpg-9.0.mo
+${PG_SUBPREFIX}share/locale/ja/LC_MESSAGES/ecpglib6-9.0.mo
+${PG_SUBPREFIX}share/locale/ja/LC_MESSAGES/initdb-9.0.mo
+${PG_SUBPREFIX}share/locale/ja/LC_MESSAGES/libpq5-9.0.mo
+${PG_SUBPREFIX}share/locale/ja/LC_MESSAGES/pg_config-9.0.mo
+${PG_SUBPREFIX}share/locale/ja/LC_MESSAGES/pg_controldata-9.0.mo
+${PG_SUBPREFIX}share/locale/ja/LC_MESSAGES/pg_ctl-9.0.mo
+${PG_SUBPREFIX}share/locale/ja/LC_MESSAGES/pg_dump-9.0.mo
+${PG_SUBPREFIX}share/locale/ja/LC_MESSAGES/pg_resetxlog-9.0.mo
+${PG_SUBPREFIX}share/locale/ja/LC_MESSAGES/pgscripts-9.0.mo
+${PG_SUBPREFIX}share/locale/ja/LC_MESSAGES/psql-9.0.mo
+${PG_SUBPREFIX}share/locale/ko/LC_MESSAGES/libpq5-9.0.mo
+${PG_SUBPREFIX}share/locale/ko/LC_MESSAGES/pg_config-9.0.mo
+${PG_SUBPREFIX}share/locale/ko/LC_MESSAGES/pg_controldata-9.0.mo
+${PG_SUBPREFIX}share/locale/ko/LC_MESSAGES/pg_ctl-9.0.mo
+${PG_SUBPREFIX}share/locale/ko/LC_MESSAGES/pg_resetxlog-9.0.mo
+${PG_SUBPREFIX}share/locale/ko/LC_MESSAGES/pgscripts-9.0.mo
+${PG_SUBPREFIX}share/locale/nb/LC_MESSAGES/pg_config-9.0.mo
+${PG_SUBPREFIX}share/locale/pt_BR/LC_MESSAGES/ecpg-9.0.mo
+${PG_SUBPREFIX}share/locale/pt_BR/LC_MESSAGES/ecpglib6-9.0.mo
+${PG_SUBPREFIX}share/locale/pt_BR/LC_MESSAGES/initdb-9.0.mo
+${PG_SUBPREFIX}share/locale/pt_BR/LC_MESSAGES/libpq5-9.0.mo
+${PG_SUBPREFIX}share/locale/pt_BR/LC_MESSAGES/pg_config-9.0.mo
+${PG_SUBPREFIX}share/locale/pt_BR/LC_MESSAGES/pg_controldata-9.0.mo
+${PG_SUBPREFIX}share/locale/pt_BR/LC_MESSAGES/pg_ctl-9.0.mo
+${PG_SUBPREFIX}share/locale/pt_BR/LC_MESSAGES/pg_dump-9.0.mo
+${PG_SUBPREFIX}share/locale/pt_BR/LC_MESSAGES/pg_resetxlog-9.0.mo
+${PG_SUBPREFIX}share/locale/pt_BR/LC_MESSAGES/pgscripts-9.0.mo
+${PG_SUBPREFIX}share/locale/pt_BR/LC_MESSAGES/psql-9.0.mo
+${PG_SUBPREFIX}share/locale/ro/LC_MESSAGES/pg_config-9.0.mo
+${PG_SUBPREFIX}share/locale/ro/LC_MESSAGES/pg_controldata-9.0.mo
+${PG_SUBPREFIX}share/locale/ro/LC_MESSAGES/pg_resetxlog-9.0.mo
+${PG_SUBPREFIX}share/locale/ro/LC_MESSAGES/pgscripts-9.0.mo
+${PG_SUBPREFIX}share/locale/ru/LC_MESSAGES/initdb-9.0.mo
+${PG_SUBPREFIX}share/locale/ru/LC_MESSAGES/libpq5-9.0.mo
+${PG_SUBPREFIX}share/locale/ru/LC_MESSAGES/pg_config-9.0.mo
+${PG_SUBPREFIX}share/locale/ru/LC_MESSAGES/pg_ctl-9.0.mo
+${PG_SUBPREFIX}share/locale/ru/LC_MESSAGES/pg_resetxlog-9.0.mo
+${PG_SUBPREFIX}share/locale/sv/LC_MESSAGES/initdb-9.0.mo
+${PG_SUBPREFIX}share/locale/sv/LC_MESSAGES/libpq5-9.0.mo
+${PG_SUBPREFIX}share/locale/sv/LC_MESSAGES/pg_config-9.0.mo
+${PG_SUBPREFIX}share/locale/sv/LC_MESSAGES/pg_controldata-9.0.mo
+${PG_SUBPREFIX}share/locale/sv/LC_MESSAGES/pg_ctl-9.0.mo
+${PG_SUBPREFIX}share/locale/sv/LC_MESSAGES/pg_dump-9.0.mo
+${PG_SUBPREFIX}share/locale/sv/LC_MESSAGES/pg_resetxlog-9.0.mo
+${PG_SUBPREFIX}share/locale/sv/LC_MESSAGES/pgscripts-9.0.mo
+${PG_SUBPREFIX}share/locale/sv/LC_MESSAGES/psql-9.0.mo
+${PG_SUBPREFIX}share/locale/ta/LC_MESSAGES/initdb-9.0.mo
+${PG_SUBPREFIX}share/locale/ta/LC_MESSAGES/libpq5-9.0.mo
+${PG_SUBPREFIX}share/locale/ta/LC_MESSAGES/pg_config-9.0.mo
+${PG_SUBPREFIX}share/locale/ta/LC_MESSAGES/pg_controldata-9.0.mo
+${PG_SUBPREFIX}share/locale/ta/LC_MESSAGES/pg_ctl-9.0.mo
+${PG_SUBPREFIX}share/locale/ta/LC_MESSAGES/pg_resetxlog-9.0.mo
+${PG_SUBPREFIX}share/locale/ta/LC_MESSAGES/pgscripts-9.0.mo
+${PG_SUBPREFIX}share/locale/tr/LC_MESSAGES/ecpg-9.0.mo
+${PG_SUBPREFIX}share/locale/tr/LC_MESSAGES/ecpglib6-9.0.mo
+${PG_SUBPREFIX}share/locale/tr/LC_MESSAGES/initdb-9.0.mo
+${PG_SUBPREFIX}share/locale/tr/LC_MESSAGES/libpq5-9.0.mo
+${PG_SUBPREFIX}share/locale/tr/LC_MESSAGES/pg_config-9.0.mo
+${PG_SUBPREFIX}share/locale/tr/LC_MESSAGES/pg_controldata-9.0.mo
+${PG_SUBPREFIX}share/locale/tr/LC_MESSAGES/pg_ctl-9.0.mo
+${PG_SUBPREFIX}share/locale/tr/LC_MESSAGES/pg_dump-9.0.mo
+${PG_SUBPREFIX}share/locale/tr/LC_MESSAGES/pg_resetxlog-9.0.mo
+${PG_SUBPREFIX}share/locale/tr/LC_MESSAGES/pgscripts-9.0.mo
+${PG_SUBPREFIX}share/locale/tr/LC_MESSAGES/psql-9.0.mo
+${PG_SUBPREFIX}share/locale/zh_CN/LC_MESSAGES/ecpg-9.0.mo
+${PG_SUBPREFIX}share/locale/zh_CN/LC_MESSAGES/ecpglib6-9.0.mo
+${PG_SUBPREFIX}share/locale/zh_CN/LC_MESSAGES/initdb-9.0.mo
+${PG_SUBPREFIX}share/locale/zh_CN/LC_MESSAGES/libpq5-9.0.mo
+${PG_SUBPREFIX}share/locale/zh_CN/LC_MESSAGES/pg_config-9.0.mo
+${PG_SUBPREFIX}share/locale/zh_CN/LC_MESSAGES/pg_controldata-9.0.mo
+${PG_SUBPREFIX}share/locale/zh_CN/LC_MESSAGES/pg_ctl-9.0.mo
+${PG_SUBPREFIX}share/locale/zh_CN/LC_MESSAGES/pg_dump-9.0.mo
+${PG_SUBPREFIX}share/locale/zh_CN/LC_MESSAGES/pg_resetxlog-9.0.mo
+${PG_SUBPREFIX}share/locale/zh_CN/LC_MESSAGES/pgscripts-9.0.mo
+${PG_SUBPREFIX}share/postgresql/pg_service.conf.sample
+${PG_SUBPREFIX}share/postgresql/psqlrc.sample
diff --git a/databases/postgresql90-client/buildlink3.mk b/databases/postgresql90-client/buildlink3.mk
new file mode 100644
index 00000000000..b2869797edb
--- /dev/null
+++ b/databases/postgresql90-client/buildlink3.mk
@@ -0,0 +1,28 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/09/21 07:52:41 adam Exp $
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+BUILDLINK_TREE+= postgresql90-client
+
+.if !defined(POSTGRESQL90_CLIENT_BUILDLINK3_MK)
+POSTGRESQL90_CLIENT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.postgresql90-client+= postgresql90-client>=9.0.0
+BUILDLINK_ABI_DEPENDS.postgresql90-client?= postgresql90-client>=9.0.0
+BUILDLINK_PKGSRCDIR.postgresql90-client?= ../../databases/postgresql90-client
+
+.if defined(PG_SUBPREFIX) && !empty(PG_SUBPREFIX)
+BUILDLINK_INCDIRS.postgresql90-client?= ${PG_SUBPREFIX}/include
+BUILDLINK_LIBDIRS.postgresql90-client?= ${PG_SUBPREFIX}/lib
+.endif
+
+# This variable contains the libraries need to link most clients.
+BUILDLINK_LDADD.postgresql90-client= -lpq ${BUILDLINK_LDADD.gettext}
+
+BUILDLINK_FILES.postgresql90-client+= bin/pg_config
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.endif # POSTGRESQL90_CLIENT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -postgresql90-client
diff --git a/databases/postgresql90-dblink/DESCR b/databases/postgresql90-dblink/DESCR
new file mode 100644
index 00000000000..d6641c1971b
--- /dev/null
+++ b/databases/postgresql90-dblink/DESCR
@@ -0,0 +1,2 @@
+The ``dblink'' PostgreSQL contrib module to connect to remote database
+servers.
diff --git a/databases/postgresql90-dblink/Makefile b/databases/postgresql90-dblink/Makefile
new file mode 100644
index 00000000000..f580b9a8069
--- /dev/null
+++ b/databases/postgresql90-dblink/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/21 07:51:36 adam Exp $
+
+PKGNAME= postgresql90-dblink-${BASE_VERS}
+COMMENT= Dblink module for remote database connections
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= postgresql90-server>=${BASE_VERS}:../../databases/postgresql90-server
+
+.include "../../databases/postgresql90/Makefile.common"
+
+BUILD_DIRS= src/interfaces/libpq
+BUILD_DIRS+= contrib/dblink
+
+INSTALL_DIRS= contrib/dblink
+
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+
+REQD_DIRS+= ${PG_SUBPREFIX}share/doc/postgresql/contrib
+REQD_DIRS+= ${PG_SUBPREFIX}share/postgresql/contrib
+
+.include "../../databases/postgresql90-client/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql90-dblink/PLIST b/databases/postgresql90-dblink/PLIST
new file mode 100644
index 00000000000..be662fe1e70
--- /dev/null
+++ b/databases/postgresql90-dblink/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/21 07:51:36 adam Exp $
+lib/postgresql/dblink.la
+share/postgresql/contrib/dblink.sql
+share/postgresql/contrib/uninstall_dblink.sql
diff --git a/databases/postgresql90-docs/DESCR b/databases/postgresql90-docs/DESCR
new file mode 100644
index 00000000000..89dd99e91c2
--- /dev/null
+++ b/databases/postgresql90-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/postgresql90-docs/Makefile b/databases/postgresql90-docs/Makefile
new file mode 100644
index 00000000000..167e9a756a7
--- /dev/null
+++ b/databases/postgresql90-docs/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/21 07:52:02 adam Exp $
+
+PKGNAME= postgresql90-docs-${BASE_VERS}
+COMMENT= PostgreSQL database documentation
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../databases/postgresql90/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
+
+USE_TOOLS+= gzip tar perl:build
+CONFIGURE_ENV+= DOCBOOKSTYLE="${PREFIX}/share/sgml/docbook/dsssl/modular"
+INSTALL_DIRS+= doc
+
+BUILD_DIRS= ${INSTALL_DIRS}
+
+post-install:
+ set -e; cd ${WRKSRC}/doc; for file in \
+ FAQ* KNOWN_BUGS MISSING_FEATURES README.* TODO \
+ bug.template; \
+ do \
+ ${INSTALL_DATA} $$file ${DESTDIR}${PG_DOC_DIR}/$$file; \
+ done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql90-docs/PLIST b/databases/postgresql90-docs/PLIST
new file mode 100644
index 00000000000..930cec3ba61
--- /dev/null
+++ b/databases/postgresql90-docs/PLIST
@@ -0,0 +1,1258 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/21 07:52:03 adam Exp $
+${PG_SUBPREFIX}man/man1/clusterdb.1
+${PG_SUBPREFIX}man/man1/createdb.1
+${PG_SUBPREFIX}man/man1/createlang.1
+${PG_SUBPREFIX}man/man1/createuser.1
+${PG_SUBPREFIX}man/man1/dropdb.1
+${PG_SUBPREFIX}man/man1/droplang.1
+${PG_SUBPREFIX}man/man1/dropuser.1
+${PG_SUBPREFIX}man/man1/ecpg.1
+${PG_SUBPREFIX}man/man1/initdb.1
+${PG_SUBPREFIX}man/man1/pg_config.1
+${PG_SUBPREFIX}man/man1/pg_controldata.1
+${PG_SUBPREFIX}man/man1/pg_ctl.1
+${PG_SUBPREFIX}man/man1/pg_dump.1
+${PG_SUBPREFIX}man/man1/pg_dumpall.1
+${PG_SUBPREFIX}man/man1/pg_resetxlog.1
+${PG_SUBPREFIX}man/man1/pg_restore.1
+${PG_SUBPREFIX}man/man1/postgres.1
+${PG_SUBPREFIX}man/man1/postmaster.1
+${PG_SUBPREFIX}man/man1/psql.1
+${PG_SUBPREFIX}man/man1/reindexdb.1
+${PG_SUBPREFIX}man/man1/vacuumdb.1
+${PG_SUBPREFIX}man/man3/SPI_connect.3
+${PG_SUBPREFIX}man/man3/SPI_copytuple.3
+${PG_SUBPREFIX}man/man3/SPI_cursor_close.3
+${PG_SUBPREFIX}man/man3/SPI_cursor_fetch.3
+${PG_SUBPREFIX}man/man3/SPI_cursor_find.3
+${PG_SUBPREFIX}man/man3/SPI_cursor_move.3
+${PG_SUBPREFIX}man/man3/SPI_cursor_open.3
+${PG_SUBPREFIX}man/man3/SPI_cursor_open_with_args.3
+${PG_SUBPREFIX}man/man3/SPI_cursor_open_with_paramlist.3
+${PG_SUBPREFIX}man/man3/SPI_exec.3
+${PG_SUBPREFIX}man/man3/SPI_execp.3
+${PG_SUBPREFIX}man/man3/SPI_execute.3
+${PG_SUBPREFIX}man/man3/SPI_execute_plan.3
+${PG_SUBPREFIX}man/man3/SPI_execute_plan_with_paramlist.3
+${PG_SUBPREFIX}man/man3/SPI_execute_with_args.3
+${PG_SUBPREFIX}man/man3/SPI_finish.3
+${PG_SUBPREFIX}man/man3/SPI_fname.3
+${PG_SUBPREFIX}man/man3/SPI_fnumber.3
+${PG_SUBPREFIX}man/man3/SPI_freeplan.3
+${PG_SUBPREFIX}man/man3/SPI_freetuple.3
+${PG_SUBPREFIX}man/man3/SPI_freetuptable.3
+${PG_SUBPREFIX}man/man3/SPI_getargcount.3
+${PG_SUBPREFIX}man/man3/SPI_getargtypeid.3
+${PG_SUBPREFIX}man/man3/SPI_getbinval.3
+${PG_SUBPREFIX}man/man3/SPI_getnspname.3
+${PG_SUBPREFIX}man/man3/SPI_getrelname.3
+${PG_SUBPREFIX}man/man3/SPI_gettype.3
+${PG_SUBPREFIX}man/man3/SPI_gettypeid.3
+${PG_SUBPREFIX}man/man3/SPI_getvalue.3
+${PG_SUBPREFIX}man/man3/SPI_is_cursor_plan.3
+${PG_SUBPREFIX}man/man3/SPI_modifytuple.3
+${PG_SUBPREFIX}man/man3/SPI_palloc.3
+${PG_SUBPREFIX}man/man3/SPI_pfree.3
+${PG_SUBPREFIX}man/man3/SPI_pop.3
+${PG_SUBPREFIX}man/man3/SPI_prepare.3
+${PG_SUBPREFIX}man/man3/SPI_prepare_cursor.3
+${PG_SUBPREFIX}man/man3/SPI_prepare_params.3
+${PG_SUBPREFIX}man/man3/SPI_push.3
+${PG_SUBPREFIX}man/man3/SPI_repalloc.3
+${PG_SUBPREFIX}man/man3/SPI_returntuple.3
+${PG_SUBPREFIX}man/man3/SPI_saveplan.3
+${PG_SUBPREFIX}man/man3/SPI_scroll_cursor_fetch.3
+${PG_SUBPREFIX}man/man3/SPI_scroll_cursor_move.3
+${PG_SUBPREFIX}man/man3/dblink.3
+${PG_SUBPREFIX}man/man3/dblink_build_sql_delete.3
+${PG_SUBPREFIX}man/man3/dblink_build_sql_insert.3
+${PG_SUBPREFIX}man/man3/dblink_build_sql_update.3
+${PG_SUBPREFIX}man/man3/dblink_cancel_query.3
+${PG_SUBPREFIX}man/man3/dblink_close.3
+${PG_SUBPREFIX}man/man3/dblink_connect.3
+${PG_SUBPREFIX}man/man3/dblink_connect_u.3
+${PG_SUBPREFIX}man/man3/dblink_disconnect.3
+${PG_SUBPREFIX}man/man3/dblink_error_message.3
+${PG_SUBPREFIX}man/man3/dblink_exec.3
+${PG_SUBPREFIX}man/man3/dblink_fetch.3
+${PG_SUBPREFIX}man/man3/dblink_get_connections.3
+${PG_SUBPREFIX}man/man3/dblink_get_notify.3
+${PG_SUBPREFIX}man/man3/dblink_get_pkey.3
+${PG_SUBPREFIX}man/man3/dblink_get_result.3
+${PG_SUBPREFIX}man/man3/dblink_is_busy.3
+${PG_SUBPREFIX}man/man3/dblink_open.3
+${PG_SUBPREFIX}man/man3/dblink_send_query.3
+${PG_SUBPREFIX}man/man7/ABORT.7
+${PG_SUBPREFIX}man/man7/ALTER_AGGREGATE.7
+${PG_SUBPREFIX}man/man7/ALTER_CONVERSION.7
+${PG_SUBPREFIX}man/man7/ALTER_DATABASE.7
+${PG_SUBPREFIX}man/man7/ALTER_DEFAULT_PRIVILEGES.7
+${PG_SUBPREFIX}man/man7/ALTER_DOMAIN.7
+${PG_SUBPREFIX}man/man7/ALTER_FOREIGN_DATA_WRAPPER.7
+${PG_SUBPREFIX}man/man7/ALTER_FUNCTION.7
+${PG_SUBPREFIX}man/man7/ALTER_GROUP.7
+${PG_SUBPREFIX}man/man7/ALTER_INDEX.7
+${PG_SUBPREFIX}man/man7/ALTER_LANGUAGE.7
+${PG_SUBPREFIX}man/man7/ALTER_LARGE_OBJECT.7
+${PG_SUBPREFIX}man/man7/ALTER_OPERATOR.7
+${PG_SUBPREFIX}man/man7/ALTER_OPERATOR_CLASS.7
+${PG_SUBPREFIX}man/man7/ALTER_OPERATOR_FAMILY.7
+${PG_SUBPREFIX}man/man7/ALTER_ROLE.7
+${PG_SUBPREFIX}man/man7/ALTER_SCHEMA.7
+${PG_SUBPREFIX}man/man7/ALTER_SEQUENCE.7
+${PG_SUBPREFIX}man/man7/ALTER_SERVER.7
+${PG_SUBPREFIX}man/man7/ALTER_TABLE.7
+${PG_SUBPREFIX}man/man7/ALTER_TABLESPACE.7
+${PG_SUBPREFIX}man/man7/ALTER_TEXT_SEARCH_CONFIGURATION.7
+${PG_SUBPREFIX}man/man7/ALTER_TEXT_SEARCH_DICTIONARY.7
+${PG_SUBPREFIX}man/man7/ALTER_TEXT_SEARCH_PARSER.7
+${PG_SUBPREFIX}man/man7/ALTER_TEXT_SEARCH_TEMPLATE.7
+${PG_SUBPREFIX}man/man7/ALTER_TRIGGER.7
+${PG_SUBPREFIX}man/man7/ALTER_TYPE.7
+${PG_SUBPREFIX}man/man7/ALTER_USER.7
+${PG_SUBPREFIX}man/man7/ALTER_USER_MAPPING.7
+${PG_SUBPREFIX}man/man7/ALTER_VIEW.7
+${PG_SUBPREFIX}man/man7/ANALYZE.7
+${PG_SUBPREFIX}man/man7/BEGIN.7
+${PG_SUBPREFIX}man/man7/CHECKPOINT.7
+${PG_SUBPREFIX}man/man7/CLOSE.7
+${PG_SUBPREFIX}man/man7/CLUSTER.7
+${PG_SUBPREFIX}man/man7/COMMENT.7
+${PG_SUBPREFIX}man/man7/COMMIT.7
+${PG_SUBPREFIX}man/man7/COMMIT_PREPARED.7
+${PG_SUBPREFIX}man/man7/COPY.7
+${PG_SUBPREFIX}man/man7/CREATE_AGGREGATE.7
+${PG_SUBPREFIX}man/man7/CREATE_CAST.7
+${PG_SUBPREFIX}man/man7/CREATE_CONSTRAINT_TRIGGER.7
+${PG_SUBPREFIX}man/man7/CREATE_CONVERSION.7
+${PG_SUBPREFIX}man/man7/CREATE_DATABASE.7
+${PG_SUBPREFIX}man/man7/CREATE_DOMAIN.7
+${PG_SUBPREFIX}man/man7/CREATE_FOREIGN_DATA_WRAPPER.7
+${PG_SUBPREFIX}man/man7/CREATE_FUNCTION.7
+${PG_SUBPREFIX}man/man7/CREATE_GROUP.7
+${PG_SUBPREFIX}man/man7/CREATE_INDEX.7
+${PG_SUBPREFIX}man/man7/CREATE_LANGUAGE.7
+${PG_SUBPREFIX}man/man7/CREATE_OPERATOR.7
+${PG_SUBPREFIX}man/man7/CREATE_OPERATOR_CLASS.7
+${PG_SUBPREFIX}man/man7/CREATE_OPERATOR_FAMILY.7
+${PG_SUBPREFIX}man/man7/CREATE_ROLE.7
+${PG_SUBPREFIX}man/man7/CREATE_RULE.7
+${PG_SUBPREFIX}man/man7/CREATE_SCHEMA.7
+${PG_SUBPREFIX}man/man7/CREATE_SEQUENCE.7
+${PG_SUBPREFIX}man/man7/CREATE_SERVER.7
+${PG_SUBPREFIX}man/man7/CREATE_TABLE.7
+${PG_SUBPREFIX}man/man7/CREATE_TABLESPACE.7
+${PG_SUBPREFIX}man/man7/CREATE_TABLE_AS.7
+${PG_SUBPREFIX}man/man7/CREATE_TEXT_SEARCH_CONFIGURATION.7
+${PG_SUBPREFIX}man/man7/CREATE_TEXT_SEARCH_DICTIONARY.7
+${PG_SUBPREFIX}man/man7/CREATE_TEXT_SEARCH_PARSER.7
+${PG_SUBPREFIX}man/man7/CREATE_TEXT_SEARCH_TEMPLATE.7
+${PG_SUBPREFIX}man/man7/CREATE_TRIGGER.7
+${PG_SUBPREFIX}man/man7/CREATE_TYPE.7
+${PG_SUBPREFIX}man/man7/CREATE_USER.7
+${PG_SUBPREFIX}man/man7/CREATE_USER_MAPPING.7
+${PG_SUBPREFIX}man/man7/CREATE_VIEW.7
+${PG_SUBPREFIX}man/man7/DEALLOCATE.7
+${PG_SUBPREFIX}man/man7/DECLARE.7
+${PG_SUBPREFIX}man/man7/DELETE.7
+${PG_SUBPREFIX}man/man7/DISCARD.7
+${PG_SUBPREFIX}man/man7/DO.7
+${PG_SUBPREFIX}man/man7/DROP_AGGREGATE.7
+${PG_SUBPREFIX}man/man7/DROP_CAST.7
+${PG_SUBPREFIX}man/man7/DROP_CONVERSION.7
+${PG_SUBPREFIX}man/man7/DROP_DATABASE.7
+${PG_SUBPREFIX}man/man7/DROP_DOMAIN.7
+${PG_SUBPREFIX}man/man7/DROP_FOREIGN_DATA_WRAPPER.7
+${PG_SUBPREFIX}man/man7/DROP_FUNCTION.7
+${PG_SUBPREFIX}man/man7/DROP_GROUP.7
+${PG_SUBPREFIX}man/man7/DROP_INDEX.7
+${PG_SUBPREFIX}man/man7/DROP_LANGUAGE.7
+${PG_SUBPREFIX}man/man7/DROP_OPERATOR.7
+${PG_SUBPREFIX}man/man7/DROP_OPERATOR_CLASS.7
+${PG_SUBPREFIX}man/man7/DROP_OPERATOR_FAMILY.7
+${PG_SUBPREFIX}man/man7/DROP_OWNED.7
+${PG_SUBPREFIX}man/man7/DROP_ROLE.7
+${PG_SUBPREFIX}man/man7/DROP_RULE.7
+${PG_SUBPREFIX}man/man7/DROP_SCHEMA.7
+${PG_SUBPREFIX}man/man7/DROP_SEQUENCE.7
+${PG_SUBPREFIX}man/man7/DROP_SERVER.7
+${PG_SUBPREFIX}man/man7/DROP_TABLE.7
+${PG_SUBPREFIX}man/man7/DROP_TABLESPACE.7
+${PG_SUBPREFIX}man/man7/DROP_TEXT_SEARCH_CONFIGURATION.7
+${PG_SUBPREFIX}man/man7/DROP_TEXT_SEARCH_DICTIONARY.7
+${PG_SUBPREFIX}man/man7/DROP_TEXT_SEARCH_PARSER.7
+${PG_SUBPREFIX}man/man7/DROP_TEXT_SEARCH_TEMPLATE.7
+${PG_SUBPREFIX}man/man7/DROP_TRIGGER.7
+${PG_SUBPREFIX}man/man7/DROP_TYPE.7
+${PG_SUBPREFIX}man/man7/DROP_USER.7
+${PG_SUBPREFIX}man/man7/DROP_USER_MAPPING.7
+${PG_SUBPREFIX}man/man7/DROP_VIEW.7
+${PG_SUBPREFIX}man/man7/END.7
+${PG_SUBPREFIX}man/man7/EXECUTE.7
+${PG_SUBPREFIX}man/man7/EXPLAIN.7
+${PG_SUBPREFIX}man/man7/FETCH.7
+${PG_SUBPREFIX}man/man7/GRANT.7
+${PG_SUBPREFIX}man/man7/INSERT.7
+${PG_SUBPREFIX}man/man7/LISTEN.7
+${PG_SUBPREFIX}man/man7/LOAD.7
+${PG_SUBPREFIX}man/man7/LOCK.7
+${PG_SUBPREFIX}man/man7/MOVE.7
+${PG_SUBPREFIX}man/man7/NOTIFY.7
+${PG_SUBPREFIX}man/man7/PREPARE.7
+${PG_SUBPREFIX}man/man7/PREPARE_TRANSACTION.7
+${PG_SUBPREFIX}man/man7/REASSIGN_OWNED.7
+${PG_SUBPREFIX}man/man7/REINDEX.7
+${PG_SUBPREFIX}man/man7/RELEASE_SAVEPOINT.7
+${PG_SUBPREFIX}man/man7/RESET.7
+${PG_SUBPREFIX}man/man7/REVOKE.7
+${PG_SUBPREFIX}man/man7/ROLLBACK.7
+${PG_SUBPREFIX}man/man7/ROLLBACK_PREPARED.7
+${PG_SUBPREFIX}man/man7/ROLLBACK_TO_SAVEPOINT.7
+${PG_SUBPREFIX}man/man7/SAVEPOINT.7
+${PG_SUBPREFIX}man/man7/SELECT.7
+${PG_SUBPREFIX}man/man7/SELECT_INTO.7
+${PG_SUBPREFIX}man/man7/SET.7
+${PG_SUBPREFIX}man/man7/SET_CONSTRAINTS.7
+${PG_SUBPREFIX}man/man7/SET_ROLE.7
+${PG_SUBPREFIX}man/man7/SET_SESSION_AUTHORIZATION.7
+${PG_SUBPREFIX}man/man7/SET_TRANSACTION.7
+${PG_SUBPREFIX}man/man7/SHOW.7
+${PG_SUBPREFIX}man/man7/START_TRANSACTION.7
+${PG_SUBPREFIX}man/man7/TABLE.7
+${PG_SUBPREFIX}man/man7/TRUNCATE.7
+${PG_SUBPREFIX}man/man7/UNLISTEN.7
+${PG_SUBPREFIX}man/man7/UPDATE.7
+${PG_SUBPREFIX}man/man7/VACUUM.7
+${PG_SUBPREFIX}man/man7/VALUES.7
+${PG_SUBPREFIX}man/man7/WITH.7
+${PG_SUBPREFIX}share/doc/postgresql/KNOWN_BUGS
+${PG_SUBPREFIX}share/doc/postgresql/MISSING_FEATURES
+${PG_SUBPREFIX}share/doc/postgresql/README.mb.big5
+${PG_SUBPREFIX}share/doc/postgresql/README.mb.jp
+${PG_SUBPREFIX}share/doc/postgresql/TODO
+${PG_SUBPREFIX}share/doc/postgresql/bug.template
+${PG_SUBPREFIX}share/doc/postgresql/html/LEGALNOTICE.html
+${PG_SUBPREFIX}share/doc/postgresql/html/acronyms.html
+${PG_SUBPREFIX}share/doc/postgresql/html/admin.html
+${PG_SUBPREFIX}share/doc/postgresql/html/adminpack.html
+${PG_SUBPREFIX}share/doc/postgresql/html/anoncvs.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-clusterdb.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-createdb.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-createlang.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-createuser.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-dropdb.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-droplang.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-dropuser.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-ecpg.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-initdb.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-pg-ctl.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-pg-dumpall.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-pgconfig.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-pgcontroldata.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-pgdump.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-pgresetxlog.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-pgrestore.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-postgres.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-postmaster.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-psql.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-reindexdb.html
+${PG_SUBPREFIX}share/doc/postgresql/html/app-vacuumdb.html
+${PG_SUBPREFIX}share/doc/postgresql/html/appendixes.html
+${PG_SUBPREFIX}share/doc/postgresql/html/applevel-consistency.html
+${PG_SUBPREFIX}share/doc/postgresql/html/archive-recovery-settings.html
+${PG_SUBPREFIX}share/doc/postgresql/html/arrays.html
+${PG_SUBPREFIX}share/doc/postgresql/html/auth-methods.html
+${PG_SUBPREFIX}share/doc/postgresql/html/auth-pg-hba-conf.html
+${PG_SUBPREFIX}share/doc/postgresql/html/auth-username-maps.html
+${PG_SUBPREFIX}share/doc/postgresql/html/auto-explain.html
+${PG_SUBPREFIX}share/doc/postgresql/html/backup-dump.html
+${PG_SUBPREFIX}share/doc/postgresql/html/backup-file.html
+${PG_SUBPREFIX}share/doc/postgresql/html/backup.html
+${PG_SUBPREFIX}share/doc/postgresql/html/biblio.html
+${PG_SUBPREFIX}share/doc/postgresql/html/bki-commands.html
+${PG_SUBPREFIX}share/doc/postgresql/html/bki-example.html
+${PG_SUBPREFIX}share/doc/postgresql/html/bki-format.html
+${PG_SUBPREFIX}share/doc/postgresql/html/bki-structure.html
+${PG_SUBPREFIX}share/doc/postgresql/html/bki.html
+${PG_SUBPREFIX}share/doc/postgresql/html/bookindex.html
+${PG_SUBPREFIX}share/doc/postgresql/html/btree-gin.html
+${PG_SUBPREFIX}share/doc/postgresql/html/btree-gist.html
+${PG_SUBPREFIX}share/doc/postgresql/html/bug-reporting.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-aggregate.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-am.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-amop.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-amproc.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-attrdef.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-attribute.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-auth-members.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-authid.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-cast.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-class.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-constraint.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-conversion.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-database.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-db-role-setting.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-default-acl.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-depend.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-description.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-enum.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-foreign-data-wrapper.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-foreign-server.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-index.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-inherits.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-language.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-largeobject-metadata.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-largeobject.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-namespace.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-opclass.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-operator.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-opfamily.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-pltemplate.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-proc.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-rewrite.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-shdepend.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-shdescription.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-statistic.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-tablespace.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-trigger.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-ts-config-map.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-ts-config.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-ts-dict.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-ts-parser.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-ts-template.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-type.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-user-mapping.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalogs-overview.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalogs.html
+${PG_SUBPREFIX}share/doc/postgresql/html/charset.html
+${PG_SUBPREFIX}share/doc/postgresql/html/chkpass.html
+${PG_SUBPREFIX}share/doc/postgresql/html/citext.html
+${PG_SUBPREFIX}share/doc/postgresql/html/client-authentication-problems.html
+${PG_SUBPREFIX}share/doc/postgresql/html/client-authentication.html
+${PG_SUBPREFIX}share/doc/postgresql/html/client-interfaces.html
+${PG_SUBPREFIX}share/doc/postgresql/html/config-setting.html
+${PG_SUBPREFIX}share/doc/postgresql/html/connect-estab.html
+${PG_SUBPREFIX}share/doc/postgresql/html/continuous-archiving.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink-build-sql-delete.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink-build-sql-insert.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink-build-sql-update.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink-cancel-query.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink-close.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink-connect-u.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink-connect.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink-disconnect.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink-error-message.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink-exec.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink-fetch.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink-get-connections.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink-get-notify.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink-get-pkey.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink-get-result.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink-is-busy.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink-open.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink-send-query.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-dblink.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib-spi.html
+${PG_SUBPREFIX}share/doc/postgresql/html/contrib.html
+${PG_SUBPREFIX}share/doc/postgresql/html/creating-cluster.html
+${PG_SUBPREFIX}share/doc/postgresql/html/cube.html
+${PG_SUBPREFIX}share/doc/postgresql/html/cvs.html
+${PG_SUBPREFIX}share/doc/postgresql/html/database-roles.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datatype-binary.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datatype-bit.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datatype-boolean.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datatype-character.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datatype-datetime.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datatype-enum.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datatype-geometric.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datatype-money.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datatype-net-types.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datatype-numeric.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datatype-oid.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datatype-pseudo.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datatype-textsearch.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datatype-uuid.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datatype-xml.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datatype.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datetime-appendix.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datetime-config-files.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datetime-input-rules.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datetime-keywords.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datetime-units-history.html
+${PG_SUBPREFIX}share/doc/postgresql/html/dblink.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ddl-alter.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ddl-basics.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ddl-constraints.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ddl-default.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ddl-depend.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ddl-inherit.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ddl-others.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ddl-partitioning.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ddl-priv.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ddl-schemas.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ddl-system-columns.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ddl.html
+${PG_SUBPREFIX}share/doc/postgresql/html/dict-int.html
+${PG_SUBPREFIX}share/doc/postgresql/html/dict-xsyn.html
+${PG_SUBPREFIX}share/doc/postgresql/html/different-replication-solutions.html
+${PG_SUBPREFIX}share/doc/postgresql/html/disk-full.html
+${PG_SUBPREFIX}share/doc/postgresql/html/disk-usage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/diskusage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/dml-delete.html
+${PG_SUBPREFIX}share/doc/postgresql/html/dml-insert.html
+${PG_SUBPREFIX}share/doc/postgresql/html/dml-update.html
+${PG_SUBPREFIX}share/doc/postgresql/html/dml.html
+${PG_SUBPREFIX}share/doc/postgresql/html/docguide-authoring.html
+${PG_SUBPREFIX}share/doc/postgresql/html/docguide-build.html
+${PG_SUBPREFIX}share/doc/postgresql/html/docguide-docbook.html
+${PG_SUBPREFIX}share/doc/postgresql/html/docguide-style.html
+${PG_SUBPREFIX}share/doc/postgresql/html/docguide-toolsets.html
+${PG_SUBPREFIX}share/doc/postgresql/html/docguide.html
+${PG_SUBPREFIX}share/doc/postgresql/html/dynamic-trace.html
+${PG_SUBPREFIX}share/doc/postgresql/html/earthdistance.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ecpg-commands.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ecpg-concept.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ecpg-connect.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ecpg-descriptors.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ecpg-develop.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ecpg-disconnect.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ecpg-dynamic.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ecpg-errors.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ecpg-informix-compat.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ecpg-library.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ecpg-pgtypes.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ecpg-preproc.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ecpg-process.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ecpg-set-connection.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ecpg-variables.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ecpg.html
+${PG_SUBPREFIX}share/doc/postgresql/html/encryption-options.html
+${PG_SUBPREFIX}share/doc/postgresql/html/errcodes-appendix.html
+${PG_SUBPREFIX}share/doc/postgresql/html/error-message-reporting.html
+${PG_SUBPREFIX}share/doc/postgresql/html/error-style-guide.html
+${PG_SUBPREFIX}share/doc/postgresql/html/executor.html
+${PG_SUBPREFIX}share/doc/postgresql/html/explicit-joins.html
+${PG_SUBPREFIX}share/doc/postgresql/html/explicit-locking.html
+${PG_SUBPREFIX}share/doc/postgresql/html/extend-cpp.html
+${PG_SUBPREFIX}share/doc/postgresql/html/extend-how.html
+${PG_SUBPREFIX}share/doc/postgresql/html/extend-type-system.html
+${PG_SUBPREFIX}share/doc/postgresql/html/extend.html
+${PG_SUBPREFIX}share/doc/postgresql/html/external-extensions.html
+${PG_SUBPREFIX}share/doc/postgresql/html/external-interfaces.html
+${PG_SUBPREFIX}share/doc/postgresql/html/external-pl.html
+${PG_SUBPREFIX}share/doc/postgresql/html/external-projects.html
+${PG_SUBPREFIX}share/doc/postgresql/html/features-sql-standard.html
+${PG_SUBPREFIX}share/doc/postgresql/html/features.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-admin.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-aggregate.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-array.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-binarystring.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-bitstring.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-comparison.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-comparisons.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-conditional.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-datetime.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-enum.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-formatting.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-geometry.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-info.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-logical.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-matching.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-math.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-net.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-sequence.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-srf.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-string.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-subquery.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-textsearch.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-trigger.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-window.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions-xml.html
+${PG_SUBPREFIX}share/doc/postgresql/html/functions.html
+${PG_SUBPREFIX}share/doc/postgresql/html/fuzzystrmatch.html
+${PG_SUBPREFIX}share/doc/postgresql/html/geqo-biblio.html
+${PG_SUBPREFIX}share/doc/postgresql/html/geqo-intro.html
+${PG_SUBPREFIX}share/doc/postgresql/html/geqo-intro2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/geqo-pg-intro.html
+${PG_SUBPREFIX}share/doc/postgresql/html/geqo.html
+${PG_SUBPREFIX}share/doc/postgresql/html/gin-examples.html
+${PG_SUBPREFIX}share/doc/postgresql/html/gin-extensibility.html
+${PG_SUBPREFIX}share/doc/postgresql/html/gin-implementation.html
+${PG_SUBPREFIX}share/doc/postgresql/html/gin-intro.html
+${PG_SUBPREFIX}share/doc/postgresql/html/gin-limit.html
+${PG_SUBPREFIX}share/doc/postgresql/html/gin-tips.html
+${PG_SUBPREFIX}share/doc/postgresql/html/gin.html
+${PG_SUBPREFIX}share/doc/postgresql/html/gist-examples.html
+${PG_SUBPREFIX}share/doc/postgresql/html/gist-extensibility.html
+${PG_SUBPREFIX}share/doc/postgresql/html/gist-implementation.html
+${PG_SUBPREFIX}share/doc/postgresql/html/gist-intro.html
+${PG_SUBPREFIX}share/doc/postgresql/html/gist-recovery.html
+${PG_SUBPREFIX}share/doc/postgresql/html/gist.html
+${PG_SUBPREFIX}share/doc/postgresql/html/git.html
+${PG_SUBPREFIX}share/doc/postgresql/html/high-availability.html
+${PG_SUBPREFIX}share/doc/postgresql/html/history.html
+${PG_SUBPREFIX}share/doc/postgresql/html/hot-standby.html
+${PG_SUBPREFIX}share/doc/postgresql/html/hstore.html
+${PG_SUBPREFIX}share/doc/postgresql/html/index-catalog.html
+${PG_SUBPREFIX}share/doc/postgresql/html/index-cost-estimation.html
+${PG_SUBPREFIX}share/doc/postgresql/html/index-functions.html
+${PG_SUBPREFIX}share/doc/postgresql/html/index-locking.html
+${PG_SUBPREFIX}share/doc/postgresql/html/index-scanning.html
+${PG_SUBPREFIX}share/doc/postgresql/html/index-unique-checks.html
+${PG_SUBPREFIX}share/doc/postgresql/html/index.html
+${PG_SUBPREFIX}share/doc/postgresql/html/indexam.html
+${PG_SUBPREFIX}share/doc/postgresql/html/indexes-bitmap-scans.html
+${PG_SUBPREFIX}share/doc/postgresql/html/indexes-examine.html
+${PG_SUBPREFIX}share/doc/postgresql/html/indexes-expressional.html
+${PG_SUBPREFIX}share/doc/postgresql/html/indexes-intro.html
+${PG_SUBPREFIX}share/doc/postgresql/html/indexes-multicolumn.html
+${PG_SUBPREFIX}share/doc/postgresql/html/indexes-opclass.html
+${PG_SUBPREFIX}share/doc/postgresql/html/indexes-ordering.html
+${PG_SUBPREFIX}share/doc/postgresql/html/indexes-partial.html
+${PG_SUBPREFIX}share/doc/postgresql/html/indexes-types.html
+${PG_SUBPREFIX}share/doc/postgresql/html/indexes-unique.html
+${PG_SUBPREFIX}share/doc/postgresql/html/indexes.html
+${PG_SUBPREFIX}share/doc/postgresql/html/information-schema.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-administrable-role-authorizations.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-applicable-roles.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-attributes.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-check-constraint-routine-usage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-check-constraints.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-column-domain-usage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-column-privileges.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-column-udt-usage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-columns.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-constraint-column-usage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-constraint-table-usage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-data-type-privileges.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-datatypes.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-domain-constraints.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-domain-udt-usage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-domains.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-element-types.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-enabled-roles.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-foreign-data-wrapper-options.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-foreign-data-wrappers.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-foreign-server-options.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-foreign-servers.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-information-schema-catalog-name.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-key-column-usage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-parameters.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-referential-constraints.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-role-column-grants.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-role-routine-grants.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-role-table-grants.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-role-usage-grants.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-routine-privileges.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-routines.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-schema.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-schemata.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-sequences.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-sql-features.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-sql-implementation-info.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-sql-languages.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-sql-packages.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-sql-parts.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-sql-sizing-profiles.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-sql-sizing.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-table-constraints.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-table-privileges.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-tables.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-triggered-update-columns.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-triggers.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-usage-privileges.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-user-mapping-options.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-user-mappings.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-view-column-usage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-view-routine-usage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-view-table-usage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-views.html
+${PG_SUBPREFIX}share/doc/postgresql/html/install-getsource.html
+${PG_SUBPREFIX}share/doc/postgresql/html/install-post.html
+${PG_SUBPREFIX}share/doc/postgresql/html/install-procedure.html
+${PG_SUBPREFIX}share/doc/postgresql/html/install-requirements.html
+${PG_SUBPREFIX}share/doc/postgresql/html/install-short.html
+${PG_SUBPREFIX}share/doc/postgresql/html/install-upgrading.html
+${PG_SUBPREFIX}share/doc/postgresql/html/install-win32-full.html
+${PG_SUBPREFIX}share/doc/postgresql/html/install-win32-libpq.html
+${PG_SUBPREFIX}share/doc/postgresql/html/install-win32.html
+${PG_SUBPREFIX}share/doc/postgresql/html/installation-platform-notes.html
+${PG_SUBPREFIX}share/doc/postgresql/html/installation.html
+${PG_SUBPREFIX}share/doc/postgresql/html/intagg.html
+${PG_SUBPREFIX}share/doc/postgresql/html/intarray.html
+${PG_SUBPREFIX}share/doc/postgresql/html/internals.html
+${PG_SUBPREFIX}share/doc/postgresql/html/intro-whatis.html
+${PG_SUBPREFIX}share/doc/postgresql/html/isn.html
+${PG_SUBPREFIX}share/doc/postgresql/html/kernel-resources.html
+${PG_SUBPREFIX}share/doc/postgresql/html/largeobjects.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-async.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-build.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-cancel.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-connect.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-control.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-copy.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-envars.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-events.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-example.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-exec.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-fastpath.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-ldap.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-misc.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-notice-processing.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-notify.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-pgpass.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-pgservice.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-ssl.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-status.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq-threading.html
+${PG_SUBPREFIX}share/doc/postgresql/html/libpq.html
+${PG_SUBPREFIX}share/doc/postgresql/html/lo-examplesect.html
+${PG_SUBPREFIX}share/doc/postgresql/html/lo-funcs.html
+${PG_SUBPREFIX}share/doc/postgresql/html/lo-implementation.html
+${PG_SUBPREFIX}share/doc/postgresql/html/lo-interfaces.html
+${PG_SUBPREFIX}share/doc/postgresql/html/lo-intro.html
+${PG_SUBPREFIX}share/doc/postgresql/html/lo.html
+${PG_SUBPREFIX}share/doc/postgresql/html/locale.html
+${PG_SUBPREFIX}share/doc/postgresql/html/locking-indexes.html
+${PG_SUBPREFIX}share/doc/postgresql/html/log-shipping-alternative.html
+${PG_SUBPREFIX}share/doc/postgresql/html/logfile-maintenance.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ltree.html
+${PG_SUBPREFIX}share/doc/postgresql/html/maintenance.html
+${PG_SUBPREFIX}share/doc/postgresql/html/manage-ag-config.html
+${PG_SUBPREFIX}share/doc/postgresql/html/manage-ag-createdb.html
+${PG_SUBPREFIX}share/doc/postgresql/html/manage-ag-dropdb.html
+${PG_SUBPREFIX}share/doc/postgresql/html/manage-ag-overview.html
+${PG_SUBPREFIX}share/doc/postgresql/html/manage-ag-tablespaces.html
+${PG_SUBPREFIX}share/doc/postgresql/html/manage-ag-templatedbs.html
+${PG_SUBPREFIX}share/doc/postgresql/html/managing-databases.html
+${PG_SUBPREFIX}share/doc/postgresql/html/migration.html
+${PG_SUBPREFIX}share/doc/postgresql/html/monitoring-locks.html
+${PG_SUBPREFIX}share/doc/postgresql/html/monitoring-ps.html
+${PG_SUBPREFIX}share/doc/postgresql/html/monitoring-stats.html
+${PG_SUBPREFIX}share/doc/postgresql/html/monitoring.html
+${PG_SUBPREFIX}share/doc/postgresql/html/multibyte.html
+${PG_SUBPREFIX}share/doc/postgresql/html/mvcc-intro.html
+${PG_SUBPREFIX}share/doc/postgresql/html/mvcc.html
+${PG_SUBPREFIX}share/doc/postgresql/html/nls-programmer.html
+${PG_SUBPREFIX}share/doc/postgresql/html/nls-translator.html
+${PG_SUBPREFIX}share/doc/postgresql/html/nls.html
+${PG_SUBPREFIX}share/doc/postgresql/html/non-durability.html
+${PG_SUBPREFIX}share/doc/postgresql/html/notation.html
+${PG_SUBPREFIX}share/doc/postgresql/html/oid2name.html
+${PG_SUBPREFIX}share/doc/postgresql/html/overview.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pageinspect.html
+${PG_SUBPREFIX}share/doc/postgresql/html/parser-stage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/passwordcheck.html
+${PG_SUBPREFIX}share/doc/postgresql/html/performance-tips.html
+${PG_SUBPREFIX}share/doc/postgresql/html/perm-functions.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pgarchivecleanup.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pgbench.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pgbuffercache.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pgcrypto.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pgfreespacemap.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pgrowlocks.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pgstandby.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pgstatstatements.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pgstattuple.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pgtrgm.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pgupgrade.html
+${PG_SUBPREFIX}share/doc/postgresql/html/planner-optimizer.html
+${PG_SUBPREFIX}share/doc/postgresql/html/planner-stats-details.html
+${PG_SUBPREFIX}share/doc/postgresql/html/planner-stats.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plhandler.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plperl-builtins.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plperl-data.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plperl-funcs.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plperl-global.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plperl-triggers.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plperl-trusted.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plperl-under-the-hood.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plperl.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpgsql-control-structures.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpgsql-cursors.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpgsql-declarations.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpgsql-development-tips.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpgsql-errors-and-messages.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpgsql-expressions.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpgsql-implementation.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpgsql-overview.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpgsql-porting.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpgsql-statements.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpgsql-structure.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpgsql-trigger.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpgsql.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpython-data.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpython-database.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpython-do.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpython-envar.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpython-funcs.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpython-python23.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpython-sharing.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpython-trigger.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpython-util.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpython.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pltcl-data.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pltcl-dbaccess.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pltcl-functions.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pltcl-global.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pltcl-overview.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pltcl-procnames.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pltcl-trigger.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pltcl-unknown.html
+${PG_SUBPREFIX}share/doc/postgresql/html/pltcl.html
+${PG_SUBPREFIX}share/doc/postgresql/html/populate.html
+${PG_SUBPREFIX}share/doc/postgresql/html/postgres-user.html
+${PG_SUBPREFIX}share/doc/postgresql/html/preface.html
+${PG_SUBPREFIX}share/doc/postgresql/html/preventing-server-spoofing.html
+${PG_SUBPREFIX}share/doc/postgresql/html/privileges.html
+${PG_SUBPREFIX}share/doc/postgresql/html/protocol-changes.html
+${PG_SUBPREFIX}share/doc/postgresql/html/protocol-error-fields.html
+${PG_SUBPREFIX}share/doc/postgresql/html/protocol-flow.html
+${PG_SUBPREFIX}share/doc/postgresql/html/protocol-message-formats.html
+${PG_SUBPREFIX}share/doc/postgresql/html/protocol-message-types.html
+${PG_SUBPREFIX}share/doc/postgresql/html/protocol-overview.html
+${PG_SUBPREFIX}share/doc/postgresql/html/protocol-replication.html
+${PG_SUBPREFIX}share/doc/postgresql/html/protocol.html
+${PG_SUBPREFIX}share/doc/postgresql/html/queries-limit.html
+${PG_SUBPREFIX}share/doc/postgresql/html/queries-order.html
+${PG_SUBPREFIX}share/doc/postgresql/html/queries-overview.html
+${PG_SUBPREFIX}share/doc/postgresql/html/queries-select-lists.html
+${PG_SUBPREFIX}share/doc/postgresql/html/queries-table-expressions.html
+${PG_SUBPREFIX}share/doc/postgresql/html/queries-union.html
+${PG_SUBPREFIX}share/doc/postgresql/html/queries-values.html
+${PG_SUBPREFIX}share/doc/postgresql/html/queries-with.html
+${PG_SUBPREFIX}share/doc/postgresql/html/queries.html
+${PG_SUBPREFIX}share/doc/postgresql/html/query-path.html
+${PG_SUBPREFIX}share/doc/postgresql/html/querytree.html
+${PG_SUBPREFIX}share/doc/postgresql/html/recovery-config.html
+${PG_SUBPREFIX}share/doc/postgresql/html/recovery-target-settings.html
+${PG_SUBPREFIX}share/doc/postgresql/html/reference-client.html
+${PG_SUBPREFIX}share/doc/postgresql/html/reference-server.html
+${PG_SUBPREFIX}share/doc/postgresql/html/reference.html
+${PG_SUBPREFIX}share/doc/postgresql/html/regress-coverage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/regress-evaluation.html
+${PG_SUBPREFIX}share/doc/postgresql/html/regress-run.html
+${PG_SUBPREFIX}share/doc/postgresql/html/regress-variant.html
+${PG_SUBPREFIX}share/doc/postgresql/html/regress.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-0-01.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-0-02.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-0-03.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-1-0.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-1-01.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-1-02.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-1-09.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-6-0.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-6-1-1.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-6-1.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-6-2-1.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-6-2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-6-3-1.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-6-3-2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-6-3.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-6-4-1.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-6-4-2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-6-4.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-6-5-1.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-6-5-2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-6-5-3.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-6-5.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-0-1.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-0-2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-0-3.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-0.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-1-1.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-1-2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-1-3.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-1.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-2-1.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-2-2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-2-3.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-2-4.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-2-5.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-2-6.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-2-7.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-2-8.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-1.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-10.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-11.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-12.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-13.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-14.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-15.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-16.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-17.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-18.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-19.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-20.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-21.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-3.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-4.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-5.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-6.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-7.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-8.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3-9.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-3.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-1.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-10.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-11.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-12.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-13.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-14.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-15.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-16.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-17.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-18.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-19.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-20.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-21.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-22.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-23.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-24.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-25.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-26.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-27.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-28.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-29.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-3.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-4.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-5.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-6.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-7.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-8.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-9.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-1.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-10.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-11.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-12.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-13.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-14.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-15.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-16.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-17.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-18.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-19.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-20.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-21.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-22.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-23.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-24.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-25.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-3.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-4.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-5.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-6.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-7.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-8.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-9.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-1.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-10.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-11.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-12.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-13.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-14.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-15.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-16.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-17.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-18.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-19.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-20.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-21.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-3.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-4.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-5.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-6.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-7.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-8.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-9.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-1.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-10.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-11.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-12.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-13.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-14.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-15.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-16.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-17.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-3.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-4.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-5.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-6.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-7.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-8.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-9.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3-1.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3-10.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3-11.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3-2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3-3.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3-4.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3-5.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3-6.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3-7.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3-8.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3-9.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-4-1.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-4-2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-4-3.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-4-4.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-4.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-9-0.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release.html
+${PG_SUBPREFIX}share/doc/postgresql/html/resources.html
+${PG_SUBPREFIX}share/doc/postgresql/html/role-attributes.html
+${PG_SUBPREFIX}share/doc/postgresql/html/role-membership.html
+${PG_SUBPREFIX}share/doc/postgresql/html/routine-reindex.html
+${PG_SUBPREFIX}share/doc/postgresql/html/routine-vacuuming.html
+${PG_SUBPREFIX}share/doc/postgresql/html/row-estimation-examples.html
+${PG_SUBPREFIX}share/doc/postgresql/html/rowtypes.html
+${PG_SUBPREFIX}share/doc/postgresql/html/rsync.html
+${PG_SUBPREFIX}share/doc/postgresql/html/rule-system.html
+${PG_SUBPREFIX}share/doc/postgresql/html/rules-privileges.html
+${PG_SUBPREFIX}share/doc/postgresql/html/rules-status.html
+${PG_SUBPREFIX}share/doc/postgresql/html/rules-triggers.html
+${PG_SUBPREFIX}share/doc/postgresql/html/rules-update.html
+${PG_SUBPREFIX}share/doc/postgresql/html/rules-views.html
+${PG_SUBPREFIX}share/doc/postgresql/html/rules.html
+${PG_SUBPREFIX}share/doc/postgresql/html/runtime-config-autovacuum.html
+${PG_SUBPREFIX}share/doc/postgresql/html/runtime-config-client.html
+${PG_SUBPREFIX}share/doc/postgresql/html/runtime-config-compatible.html
+${PG_SUBPREFIX}share/doc/postgresql/html/runtime-config-connection.html
+${PG_SUBPREFIX}share/doc/postgresql/html/runtime-config-custom.html
+${PG_SUBPREFIX}share/doc/postgresql/html/runtime-config-developer.html
+${PG_SUBPREFIX}share/doc/postgresql/html/runtime-config-file-locations.html
+${PG_SUBPREFIX}share/doc/postgresql/html/runtime-config-locks.html
+${PG_SUBPREFIX}share/doc/postgresql/html/runtime-config-logging.html
+${PG_SUBPREFIX}share/doc/postgresql/html/runtime-config-preset.html
+${PG_SUBPREFIX}share/doc/postgresql/html/runtime-config-query.html
+${PG_SUBPREFIX}share/doc/postgresql/html/runtime-config-resource.html
+${PG_SUBPREFIX}share/doc/postgresql/html/runtime-config-short.html
+${PG_SUBPREFIX}share/doc/postgresql/html/runtime-config-statistics.html
+${PG_SUBPREFIX}share/doc/postgresql/html/runtime-config-wal.html
+${PG_SUBPREFIX}share/doc/postgresql/html/runtime-config.html
+${PG_SUBPREFIX}share/doc/postgresql/html/runtime.html
+${PG_SUBPREFIX}share/doc/postgresql/html/seg.html
+${PG_SUBPREFIX}share/doc/postgresql/html/server-programming.html
+${PG_SUBPREFIX}share/doc/postgresql/html/server-shutdown.html
+${PG_SUBPREFIX}share/doc/postgresql/html/server-start.html
+${PG_SUBPREFIX}share/doc/postgresql/html/source-format.html
+${PG_SUBPREFIX}share/doc/postgresql/html/source.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-examples.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-interface-support.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-interface.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-memory.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-realloc.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-connect.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-copytuple.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-cursor-close.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-cursor-fetch.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-cursor-find.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-cursor-move.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-cursor-open-with-args.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-cursor-open-with-paramlist.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-cursor-open.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-exec.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-execp.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-execute-plan-with-paramlist.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-execute-plan.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-execute-with-args.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-execute.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-finish.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-fname.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-fnumber.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-freeplan.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-freetuple.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-freetupletable.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-getargcount.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-getargtypeid.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-getbinval.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-getnspname.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-getrelname.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-gettype.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-gettypeid.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-getvalue.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-is-cursor-plan.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-modifytuple.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-palloc.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-pfree.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-pop.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-prepare-cursor.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-prepare-params.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-prepare.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-push.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-returntuple.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-saveplan.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-scroll-cursor-fetch.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-spi-scroll-cursor-move.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi-visibility.html
+${PG_SUBPREFIX}share/doc/postgresql/html/spi.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-abort.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alteraggregate.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alterconversion.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alterdatabase.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alterdefaultprivileges.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alterdomain.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alterforeigndatawrapper.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alterfunction.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-altergroup.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alterindex.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alterlanguage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alterlargeobject.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alteropclass.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alteroperator.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alteropfamily.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alterrole.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alterschema.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-altersequence.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alterserver.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-altertable.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-altertablespace.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-altertrigger.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-altertsconfig.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-altertsdictionary.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-altertsparser.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-altertstemplate.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-altertype.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alteruser.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alterusermapping.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alterview.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-analyze.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-begin.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-checkpoint.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-close.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-cluster.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-commands.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-comment.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-commit-prepared.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-commit.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-copy.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createaggregate.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createcast.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createconstraint.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createconversion.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createdatabase.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createdomain.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createforeigndatawrapper.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createfunction.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-creategroup.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createindex.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createlanguage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createopclass.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createoperator.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createopfamily.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createrole.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createrule.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createschema.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createsequence.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createserver.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createtable.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createtableas.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createtablespace.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createtrigger.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createtsconfig.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createtsdictionary.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createtsparser.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createtstemplate.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createtype.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createuser.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createusermapping.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createview.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-deallocate.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-declare.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-delete.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-discard.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-do.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-drop-owned.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropaggregate.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropcast.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropconversion.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropdatabase.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropdomain.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropforeigndatawrapper.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropfunction.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropgroup.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropindex.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-droplanguage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropopclass.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropoperator.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropopfamily.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-droprole.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-droprule.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropschema.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropsequence.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropserver.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-droptable.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-droptablespace.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-droptrigger.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-droptsconfig.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-droptsdictionary.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-droptsparser.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-droptstemplate.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-droptype.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropuser.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropusermapping.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropview.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-end.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-execute.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-explain.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-expressions.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-fetch.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-grant.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-insert.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-keywords-appendix.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-listen.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-load.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-lock.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-move.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-notify.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-prepare-transaction.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-prepare.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-reassign-owned.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-reindex.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-release-savepoint.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-reset.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-revoke.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-rollback-prepared.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-rollback-to.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-rollback.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-savepoint.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-select.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-selectinto.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-set-constraints.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-set-role.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-set-session-authorization.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-set-transaction.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-set.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-show.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-start-transaction.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-syntax-calling-funcs.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-syntax-lexical.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-syntax.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-truncate.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-unlisten.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-update.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-vacuum.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-values.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ssh-tunnels.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ssl-tcp.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sslinfo.html
+${PG_SUBPREFIX}share/doc/postgresql/html/standby-settings.html
+${PG_SUBPREFIX}share/doc/postgresql/html/storage-file-layout.html
+${PG_SUBPREFIX}share/doc/postgresql/html/storage-fsm.html
+${PG_SUBPREFIX}share/doc/postgresql/html/storage-page-layout.html
+${PG_SUBPREFIX}share/doc/postgresql/html/storage-toast.html
+${PG_SUBPREFIX}share/doc/postgresql/html/storage-vm.html
+${PG_SUBPREFIX}share/doc/postgresql/html/storage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/stylesheet.css
+${PG_SUBPREFIX}share/doc/postgresql/html/supported-platforms.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tablefunc.html
+${PG_SUBPREFIX}share/doc/postgresql/html/test-parser.html
+${PG_SUBPREFIX}share/doc/postgresql/html/textsearch-configuration.html
+${PG_SUBPREFIX}share/doc/postgresql/html/textsearch-controls.html
+${PG_SUBPREFIX}share/doc/postgresql/html/textsearch-debugging.html
+${PG_SUBPREFIX}share/doc/postgresql/html/textsearch-dictionaries.html
+${PG_SUBPREFIX}share/doc/postgresql/html/textsearch-features.html
+${PG_SUBPREFIX}share/doc/postgresql/html/textsearch-indexes.html
+${PG_SUBPREFIX}share/doc/postgresql/html/textsearch-intro.html
+${PG_SUBPREFIX}share/doc/postgresql/html/textsearch-limitations.html
+${PG_SUBPREFIX}share/doc/postgresql/html/textsearch-migration.html
+${PG_SUBPREFIX}share/doc/postgresql/html/textsearch-parsers.html
+${PG_SUBPREFIX}share/doc/postgresql/html/textsearch-psql.html
+${PG_SUBPREFIX}share/doc/postgresql/html/textsearch-tables.html
+${PG_SUBPREFIX}share/doc/postgresql/html/textsearch.html
+${PG_SUBPREFIX}share/doc/postgresql/html/transaction-iso.html
+${PG_SUBPREFIX}share/doc/postgresql/html/trigger-datachanges.html
+${PG_SUBPREFIX}share/doc/postgresql/html/trigger-definition.html
+${PG_SUBPREFIX}share/doc/postgresql/html/trigger-example.html
+${PG_SUBPREFIX}share/doc/postgresql/html/trigger-interface.html
+${PG_SUBPREFIX}share/doc/postgresql/html/triggers.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tsearch2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-accessdb.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-advanced-intro.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-advanced.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-agg.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-arch.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-concepts.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-conclusion.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-createdb.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-delete.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-fk.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-inheritance.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-install.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-join.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-populate.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-select.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-sql-intro.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-sql.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-start.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-table.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-transactions.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-update.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-views.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial-window.html
+${PG_SUBPREFIX}share/doc/postgresql/html/tutorial.html
+${PG_SUBPREFIX}share/doc/postgresql/html/typeconv-func.html
+${PG_SUBPREFIX}share/doc/postgresql/html/typeconv-oper.html
+${PG_SUBPREFIX}share/doc/postgresql/html/typeconv-overview.html
+${PG_SUBPREFIX}share/doc/postgresql/html/typeconv-query.html
+${PG_SUBPREFIX}share/doc/postgresql/html/typeconv-union-case.html
+${PG_SUBPREFIX}share/doc/postgresql/html/typeconv.html
+${PG_SUBPREFIX}share/doc/postgresql/html/unaccent.html
+${PG_SUBPREFIX}share/doc/postgresql/html/unsupported-features-sql-standard.html
+${PG_SUBPREFIX}share/doc/postgresql/html/user-manag.html
+${PG_SUBPREFIX}share/doc/postgresql/html/using-explain.html
+${PG_SUBPREFIX}share/doc/postgresql/html/uuid-ossp.html
+${PG_SUBPREFIX}share/doc/postgresql/html/vacuumlo.html
+${PG_SUBPREFIX}share/doc/postgresql/html/view-pg-cursors.html
+${PG_SUBPREFIX}share/doc/postgresql/html/view-pg-group.html
+${PG_SUBPREFIX}share/doc/postgresql/html/view-pg-indexes.html
+${PG_SUBPREFIX}share/doc/postgresql/html/view-pg-locks.html
+${PG_SUBPREFIX}share/doc/postgresql/html/view-pg-prepared-statements.html
+${PG_SUBPREFIX}share/doc/postgresql/html/view-pg-prepared-xacts.html
+${PG_SUBPREFIX}share/doc/postgresql/html/view-pg-roles.html
+${PG_SUBPREFIX}share/doc/postgresql/html/view-pg-rules.html
+${PG_SUBPREFIX}share/doc/postgresql/html/view-pg-settings.html
+${PG_SUBPREFIX}share/doc/postgresql/html/view-pg-shadow.html
+${PG_SUBPREFIX}share/doc/postgresql/html/view-pg-stats.html
+${PG_SUBPREFIX}share/doc/postgresql/html/view-pg-tables.html
+${PG_SUBPREFIX}share/doc/postgresql/html/view-pg-timezone-abbrevs.html
+${PG_SUBPREFIX}share/doc/postgresql/html/view-pg-timezone-names.html
+${PG_SUBPREFIX}share/doc/postgresql/html/view-pg-user-mappings.html
+${PG_SUBPREFIX}share/doc/postgresql/html/view-pg-user.html
+${PG_SUBPREFIX}share/doc/postgresql/html/view-pg-views.html
+${PG_SUBPREFIX}share/doc/postgresql/html/views-overview.html
+${PG_SUBPREFIX}share/doc/postgresql/html/wal-async-commit.html
+${PG_SUBPREFIX}share/doc/postgresql/html/wal-configuration.html
+${PG_SUBPREFIX}share/doc/postgresql/html/wal-internals.html
+${PG_SUBPREFIX}share/doc/postgresql/html/wal-intro.html
+${PG_SUBPREFIX}share/doc/postgresql/html/wal-reliability.html
+${PG_SUBPREFIX}share/doc/postgresql/html/wal.html
+${PG_SUBPREFIX}share/doc/postgresql/html/warm-standby-failover.html
+${PG_SUBPREFIX}share/doc/postgresql/html/warm-standby.html
+${PG_SUBPREFIX}share/doc/postgresql/html/xaggr.html
+${PG_SUBPREFIX}share/doc/postgresql/html/xfunc-c.html
+${PG_SUBPREFIX}share/doc/postgresql/html/xfunc-internal.html
+${PG_SUBPREFIX}share/doc/postgresql/html/xfunc-overload.html
+${PG_SUBPREFIX}share/doc/postgresql/html/xfunc-pl.html
+${PG_SUBPREFIX}share/doc/postgresql/html/xfunc-sql.html
+${PG_SUBPREFIX}share/doc/postgresql/html/xfunc-volatility.html
+${PG_SUBPREFIX}share/doc/postgresql/html/xfunc.html
+${PG_SUBPREFIX}share/doc/postgresql/html/xindex.html
+${PG_SUBPREFIX}share/doc/postgresql/html/xml2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/xoper-optimization.html
+${PG_SUBPREFIX}share/doc/postgresql/html/xoper.html
+${PG_SUBPREFIX}share/doc/postgresql/html/xplang-install.html
+${PG_SUBPREFIX}share/doc/postgresql/html/xplang.html
+${PG_SUBPREFIX}share/doc/postgresql/html/xtypes.html
diff --git a/databases/postgresql90-pgcrypto/DESCR b/databases/postgresql90-pgcrypto/DESCR
new file mode 100644
index 00000000000..3ce89d05b9d
--- /dev/null
+++ b/databases/postgresql90-pgcrypto/DESCR
@@ -0,0 +1,3 @@
+The ``pgcrypto'' PostgreSQL contrib module implements a number of
+cryptographic functions - general hashing, password hashing, PGP encryption,
+raw encryption, random data.
diff --git a/databases/postgresql90-pgcrypto/Makefile b/databases/postgresql90-pgcrypto/Makefile
new file mode 100644
index 00000000000..375008e7e59
--- /dev/null
+++ b/databases/postgresql90-pgcrypto/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/21 07:52:24 adam Exp $
+
+PKGNAME= postgresql90-pgcrypto-${BASE_VERS}
+COMMENT= Module providing cryptographic functions for PostgreSQL
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= postgresql90-server>=${BASE_VERS}:../../databases/postgresql90-server
+
+.include "../../databases/postgresql90/Makefile.common"
+
+BUILD_DIRS= contrib/pgcrypto
+
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+
+REQD_DIRS+= ${PG_SUBPREFIX}share/doc/postgresql/contrib
+REQD_DIRS+= ${PG_SUBPREFIX}share/postgresql/contrib
+
+.include "../../databases/postgresql90-client/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql90-pgcrypto/PLIST b/databases/postgresql90-pgcrypto/PLIST
new file mode 100644
index 00000000000..894c3a04ab2
--- /dev/null
+++ b/databases/postgresql90-pgcrypto/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/21 07:52:24 adam Exp $
+${PG_SUBPREFIX}lib/postgresql/pgcrypto.la
+${PG_SUBPREFIX}share/postgresql/contrib/pgcrypto.sql
+${PG_SUBPREFIX}share/postgresql/contrib/uninstall_pgcrypto.sql
diff --git a/databases/postgresql90-plperl/DESCR b/databases/postgresql90-plperl/DESCR
new file mode 100644
index 00000000000..9057591c0ba
--- /dev/null
+++ b/databases/postgresql90-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/postgresql90-plperl/MESSAGE b/databases/postgresql90-plperl/MESSAGE
new file mode 100644
index 00000000000..f39790a4b7d
--- /dev/null
+++ b/databases/postgresql90-plperl/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2010/09/21 07:53:14 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/postgresql90-plperl/Makefile b/databases/postgresql90-plperl/Makefile
new file mode 100644
index 00000000000..9c3ef1c4d5f
--- /dev/null
+++ b/databases/postgresql90-plperl/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/21 07:53:14 adam Exp $
+
+PKGNAME= postgresql90-plperl-${BASE_VERS}
+COMMENT= PL/Perl procedural language for the PostgreSQL backend
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= postgresql90-server>=${BASE_VERS}:../../databases/postgresql90-server
+
+.include "../../databases/postgresql90/Makefile.common"
+
+PERL5_CONFIGURE= no
+CONFIGURE_ARGS+= --with-perl
+
+BUILD_DIRS= src/pl/plperl
+MAKE_FILE= GNUmakefile
+BUILD_MAKE_FLAGS= PGXS=1
+
+USE_TOOLS+= perl
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+
+.include "../../databases/postgresql90-client/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql90-plperl/PLIST b/databases/postgresql90-plperl/PLIST
new file mode 100644
index 00000000000..6b1e887daa5
--- /dev/null
+++ b/databases/postgresql90-plperl/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/21 07:53:14 adam Exp $
+${PG_SUBPREFIX}lib/postgresql/plperl.la
+${PG_SUBPREFIX}share/locale/de/LC_MESSAGES/plperl0-9.0.mo
+${PG_SUBPREFIX}share/locale/es/LC_MESSAGES/plperl0-9.0.mo
+${PG_SUBPREFIX}share/locale/fr/LC_MESSAGES/plperl0-9.0.mo
+${PG_SUBPREFIX}share/locale/it/LC_MESSAGES/plperl0-9.0.mo
+${PG_SUBPREFIX}share/locale/ja/LC_MESSAGES/plperl0-9.0.mo
+${PG_SUBPREFIX}share/locale/pt_BR/LC_MESSAGES/plperl0-9.0.mo
+${PG_SUBPREFIX}share/locale/ro/LC_MESSAGES/plperl0-9.0.mo
+${PG_SUBPREFIX}share/locale/tr/LC_MESSAGES/plperl0-9.0.mo
diff --git a/databases/postgresql90-plpython/DESCR b/databases/postgresql90-plpython/DESCR
new file mode 100644
index 00000000000..142bb15309d
--- /dev/null
+++ b/databases/postgresql90-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/postgresql90-plpython/MESSAGE b/databases/postgresql90-plpython/MESSAGE
new file mode 100644
index 00000000000..221b3fa75e3
--- /dev/null
+++ b/databases/postgresql90-plpython/MESSAGE
@@ -0,0 +1,17 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2010/09/21 07:53:31 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/postgresql90-plpython/Makefile b/databases/postgresql90-plpython/Makefile
new file mode 100644
index 00000000000..531d066ba2f
--- /dev/null
+++ b/databases/postgresql90-plpython/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/21 07:53:31 adam Exp $
+
+PKGNAME= postgresql90-plpython-${BASE_VERS}
+COMMENT= PL/Python procedural language for the PostgreSQL backend
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= postgresql90-server>=${BASE_VERS}:../../databases/postgresql90-server
+
+.include "../../databases/postgresql90/Makefile.common"
+
+CONFIGURE_ARGS+= --with-python
+CONFIGURE_ENV+= PYTHON="${PYTHONBIN}"
+
+BUILD_DIRS= src/pl/plpython
+
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+
+.include "../../databases/postgresql90-client/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql90-plpython/PLIST b/databases/postgresql90-plpython/PLIST
new file mode 100644
index 00000000000..853e57b9506
--- /dev/null
+++ b/databases/postgresql90-plpython/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/21 07:53:31 adam Exp $
+${PG_SUBPREFIX}lib/postgresql/plpython.la
+${PG_SUBPREFIX}lib/postgresql/plpython2.la
+${PG_SUBPREFIX}share/locale/de/LC_MESSAGES/plpython0-9.0.mo
+${PG_SUBPREFIX}share/locale/es/LC_MESSAGES/plpython0-9.0.mo
+${PG_SUBPREFIX}share/locale/fr/LC_MESSAGES/plpython0-9.0.mo
+${PG_SUBPREFIX}share/locale/it/LC_MESSAGES/plpython0-9.0.mo
+${PG_SUBPREFIX}share/locale/ja/LC_MESSAGES/plpython0-9.0.mo
+${PG_SUBPREFIX}share/locale/pt_BR/LC_MESSAGES/plpython0-9.0.mo
+${PG_SUBPREFIX}share/locale/tr/LC_MESSAGES/plpython0-9.0.mo
diff --git a/databases/postgresql90-pltcl/DESCR b/databases/postgresql90-pltcl/DESCR
new file mode 100644
index 00000000000..e1aca2980b9
--- /dev/null
+++ b/databases/postgresql90-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/postgresql90-pltcl/MESSAGE b/databases/postgresql90-pltcl/MESSAGE
new file mode 100644
index 00000000000..81cf8d29f98
--- /dev/null
+++ b/databases/postgresql90-pltcl/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2010/09/21 07:53:57 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/postgresql90-pltcl/Makefile b/databases/postgresql90-pltcl/Makefile
new file mode 100644
index 00000000000..2bac2357733
--- /dev/null
+++ b/databases/postgresql90-pltcl/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/21 07:53:57 adam Exp $
+
+PKGNAME= postgresql90-pltcl-${BASE_VERS}
+COMMENT= PL/Tcl procedural language for the PostgreSQL backend
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= postgresql90-server>=${BASE_VERS}:../../databases/postgresql90-server
+
+.include "../../databases/postgresql90/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_DIRS= src/pl/tcl
+
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+
+.include "../../databases/postgresql90-client/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql90-pltcl/PLIST b/databases/postgresql90-pltcl/PLIST
new file mode 100644
index 00000000000..4c342f2ce6b
--- /dev/null
+++ b/databases/postgresql90-pltcl/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/21 07:53:57 adam Exp $
+${PG_SUBPREFIX}bin/pltcl_delmod
+${PG_SUBPREFIX}bin/pltcl_listmod
+${PG_SUBPREFIX}bin/pltcl_loadmod
+${PG_SUBPREFIX}lib/postgresql/pltcl.la
+${PG_SUBPREFIX}share/postgresql/unknown.pltcl
+${PG_SUBPREFIX}share/locale/de/LC_MESSAGES/pltcl0-9.0.mo
+${PG_SUBPREFIX}share/locale/es/LC_MESSAGES/pltcl0-9.0.mo
+${PG_SUBPREFIX}share/locale/fr/LC_MESSAGES/pltcl0-9.0.mo
+${PG_SUBPREFIX}share/locale/it/LC_MESSAGES/pltcl0-9.0.mo
+${PG_SUBPREFIX}share/locale/ja/LC_MESSAGES/pltcl0-9.0.mo
+${PG_SUBPREFIX}share/locale/pt_BR/LC_MESSAGES/pltcl0-9.0.mo
+${PG_SUBPREFIX}share/locale/tr/LC_MESSAGES/pltcl0-9.0.mo
diff --git a/databases/postgresql90-server/DEINSTALL b/databases/postgresql90-server/DEINSTALL
new file mode 100644
index 00000000000..ce81b43b694
--- /dev/null
+++ b/databases/postgresql90-server/DEINSTALL
@@ -0,0 +1,20 @@
+# $NetBSD: DEINSTALL,v 1.1.1.1 2010/09/21 07:52:56 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/postgresql90-server/DESCR b/databases/postgresql90-server/DESCR
new file mode 100644
index 00000000000..68bb2b05748
--- /dev/null
+++ b/databases/postgresql90-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/postgresql90-server/MESSAGE b/databases/postgresql90-server/MESSAGE
new file mode 100644
index 00000000000..a827b1ce33d
--- /dev/null
+++ b/databases/postgresql90-server/MESSAGE
@@ -0,0 +1,18 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2010/09/21 07:52:56 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/postgresql90-server/Makefile b/databases/postgresql90-server/Makefile
new file mode 100644
index 00000000000..ce2c3f28ed6
--- /dev/null
+++ b/databases/postgresql90-server/Makefile
@@ -0,0 +1,88 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/21 07:52:56 adam Exp $
+
+PKGNAME= postgresql90-server-${BASE_VERS}
+COMMENT= PostgreSQL database server programs
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+# mips has no TAS implementation
+NOT_FOR_PLATFORM= *-*-mips
+
+.include "../../databases/postgresql90/Makefile.common"
+
+# Use shlibtool (invoked as "$(LIBTOOL)") to build modules.
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+
+MESSAGE_SRC= ${.CURDIR}/MESSAGE
+
+CONFIGURE_ARGS+= --with-openssl
+
+BUILD_DIRS= src/backend
+BUILD_DIRS+= src/backend/utils/mb/conversion_procs
+BUILD_DIRS+= src/backend/snowball
+BUILD_DIRS+= src/timezone
+BUILD_DIRS+= src/pl
+
+# 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
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql90-server
+PKG_SUPPORTED_OPTIONS= gssapi krb5 ldap pam
+.include "../../databases/postgresql90/options.mk"
+
+# PGUSER username of the database administrator
+# PGGROUP group of the database administrator
+# PGHOME home directory of the database administrator and location of
+# the databases
+PGUSER?= pgsql
+PGGROUP?= pgsql
+PGHOME?= ${PREFIX}/${PGUSER}
+FILES_SUBST+= PGUSER=${PGUSER}
+FILES_SUBST+= PGGROUP=${PGGROUP}
+FILES_SUBST+= PGHOME=${PGHOME}
+BUILD_DEFS+= PGHOME
+
+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}
+PKG_SHELL.${PGUSER}= ${SH}
+
+RCD_SCRIPTS= pgsql
+
+.include "../../databases/postgresql90-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
+
+pre-build:
+ ${RUN}${_ULIMIT_CMD} \
+ cd ${WRKSRC}/src/port && \
+ env ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql90-server/PLIST b/databases/postgresql90-server/PLIST
new file mode 100644
index 00000000000..73258848ab3
--- /dev/null
+++ b/databases/postgresql90-server/PLIST
@@ -0,0 +1,665 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/21 07:52:57 adam Exp $
+${PG_SUBPREFIX}bin/postgres
+${PG_SUBPREFIX}bin/postmaster
+${PG_SUBPREFIX}lib/postgresql/ascii_and_mic.la
+${PG_SUBPREFIX}lib/postgresql/cyrillic_and_mic.la
+${PG_SUBPREFIX}lib/postgresql/dict_snowball.la
+${PG_SUBPREFIX}lib/postgresql/euc2004_sjis2004.la
+${PG_SUBPREFIX}lib/postgresql/euc_cn_and_mic.la
+${PG_SUBPREFIX}lib/postgresql/euc_jp_and_sjis.la
+${PG_SUBPREFIX}lib/postgresql/euc_kr_and_mic.la
+${PG_SUBPREFIX}lib/postgresql/euc_tw_and_big5.la
+${PG_SUBPREFIX}lib/postgresql/latin2_and_win1250.la
+${PG_SUBPREFIX}lib/postgresql/latin_and_mic.la
+${PG_SUBPREFIX}lib/postgresql/plpgsql.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_ascii.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_big5.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_cyrillic.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_euc2004.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_euc_cn.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_euc_jp.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_euc_kr.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_euc_tw.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_gb18030.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_gbk.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_iso8859.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_iso8859_1.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_johab.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_sjis.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_sjis2004.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_uhc.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_win.la
+${PG_SUBPREFIX}share/examples/rc.d/pgsql
+${PG_SUBPREFIX}share/locale/de/LC_MESSAGES/plpgsql0-9.0.mo
+${PG_SUBPREFIX}share/locale/de/LC_MESSAGES/postgres-9.0.mo
+${PG_SUBPREFIX}share/locale/es/LC_MESSAGES/plpgsql0-9.0.mo
+${PG_SUBPREFIX}share/locale/es/LC_MESSAGES/postgres-9.0.mo
+${PG_SUBPREFIX}share/locale/fr/LC_MESSAGES/plpgsql0-9.0.mo
+${PG_SUBPREFIX}share/locale/fr/LC_MESSAGES/postgres-9.0.mo
+${PG_SUBPREFIX}share/locale/it/LC_MESSAGES/plpgsql0-9.0.mo
+${PG_SUBPREFIX}share/locale/ja/LC_MESSAGES/plpgsql0-9.0.mo
+${PG_SUBPREFIX}share/locale/ja/LC_MESSAGES/postgres-9.0.mo
+${PG_SUBPREFIX}share/locale/pt_BR/LC_MESSAGES/plpgsql0-9.0.mo
+${PG_SUBPREFIX}share/locale/pt_BR/LC_MESSAGES/postgres-9.0.mo
+${PG_SUBPREFIX}share/locale/ro/LC_MESSAGES/plpgsql0-9.0.mo
+${PG_SUBPREFIX}share/locale/tr/LC_MESSAGES/plpgsql0-9.0.mo
+${PG_SUBPREFIX}share/locale/tr/LC_MESSAGES/postgres-9.0.mo
+${PG_SUBPREFIX}share/postgresql/conversion_create.sql
+${PG_SUBPREFIX}share/postgresql/information_schema.sql
+${PG_SUBPREFIX}share/postgresql/pg_hba.conf.sample
+${PG_SUBPREFIX}share/postgresql/pg_ident.conf.sample
+${PG_SUBPREFIX}share/postgresql/postgres.bki
+${PG_SUBPREFIX}share/postgresql/postgres.description
+${PG_SUBPREFIX}share/postgresql/postgres.shdescription
+${PG_SUBPREFIX}share/postgresql/postgresql.conf.sample
+${PG_SUBPREFIX}share/postgresql/recovery.conf.sample
+${PG_SUBPREFIX}share/postgresql/snowball_create.sql
+${PG_SUBPREFIX}share/postgresql/sql_features.txt
+${PG_SUBPREFIX}share/postgresql/system_views.sql
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Abidjan
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Accra
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Addis_Ababa
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Algiers
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Asmara
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Asmera
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Bamako
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Bangui
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Banjul
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Bissau
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Blantyre
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Brazzaville
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Bujumbura
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Cairo
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Casablanca
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Ceuta
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Conakry
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Dakar
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Dar_es_Salaam
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Djibouti
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Douala
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/El_Aaiun
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Freetown
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Gaborone
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Harare
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Johannesburg
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Kampala
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Khartoum
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Kigali
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Kinshasa
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Lagos
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Libreville
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Lome
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Luanda
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Lubumbashi
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Lusaka
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Malabo
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Maputo
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Maseru
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Mbabane
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Mogadishu
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Monrovia
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Nairobi
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Ndjamena
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Niamey
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Nouakchott
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Ouagadougou
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Porto-Novo
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Sao_Tome
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Timbuktu
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Tripoli
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Tunis
+${PG_SUBPREFIX}share/postgresql/timezone/Africa/Windhoek
+${PG_SUBPREFIX}share/postgresql/timezone/America/Adak
+${PG_SUBPREFIX}share/postgresql/timezone/America/Anchorage
+${PG_SUBPREFIX}share/postgresql/timezone/America/Anguilla
+${PG_SUBPREFIX}share/postgresql/timezone/America/Antigua
+${PG_SUBPREFIX}share/postgresql/timezone/America/Araguaina
+${PG_SUBPREFIX}share/postgresql/timezone/America/Argentina/Buenos_Aires
+${PG_SUBPREFIX}share/postgresql/timezone/America/Argentina/Catamarca
+${PG_SUBPREFIX}share/postgresql/timezone/America/Argentina/ComodRivadavia
+${PG_SUBPREFIX}share/postgresql/timezone/America/Argentina/Cordoba
+${PG_SUBPREFIX}share/postgresql/timezone/America/Argentina/Jujuy
+${PG_SUBPREFIX}share/postgresql/timezone/America/Argentina/La_Rioja
+${PG_SUBPREFIX}share/postgresql/timezone/America/Argentina/Mendoza
+${PG_SUBPREFIX}share/postgresql/timezone/America/Argentina/Rio_Gallegos
+${PG_SUBPREFIX}share/postgresql/timezone/America/Argentina/Salta
+${PG_SUBPREFIX}share/postgresql/timezone/America/Argentina/San_Juan
+${PG_SUBPREFIX}share/postgresql/timezone/America/Argentina/San_Luis
+${PG_SUBPREFIX}share/postgresql/timezone/America/Argentina/Tucuman
+${PG_SUBPREFIX}share/postgresql/timezone/America/Argentina/Ushuaia
+${PG_SUBPREFIX}share/postgresql/timezone/America/Aruba
+${PG_SUBPREFIX}share/postgresql/timezone/America/Asuncion
+${PG_SUBPREFIX}share/postgresql/timezone/America/Atikokan
+${PG_SUBPREFIX}share/postgresql/timezone/America/Atka
+${PG_SUBPREFIX}share/postgresql/timezone/America/Bahia
+${PG_SUBPREFIX}share/postgresql/timezone/America/Bahia_Banderas
+${PG_SUBPREFIX}share/postgresql/timezone/America/Barbados
+${PG_SUBPREFIX}share/postgresql/timezone/America/Belem
+${PG_SUBPREFIX}share/postgresql/timezone/America/Belize
+${PG_SUBPREFIX}share/postgresql/timezone/America/Blanc-Sablon
+${PG_SUBPREFIX}share/postgresql/timezone/America/Boa_Vista
+${PG_SUBPREFIX}share/postgresql/timezone/America/Bogota
+${PG_SUBPREFIX}share/postgresql/timezone/America/Boise
+${PG_SUBPREFIX}share/postgresql/timezone/America/Buenos_Aires
+${PG_SUBPREFIX}share/postgresql/timezone/America/Cambridge_Bay
+${PG_SUBPREFIX}share/postgresql/timezone/America/Campo_Grande
+${PG_SUBPREFIX}share/postgresql/timezone/America/Cancun
+${PG_SUBPREFIX}share/postgresql/timezone/America/Caracas
+${PG_SUBPREFIX}share/postgresql/timezone/America/Catamarca
+${PG_SUBPREFIX}share/postgresql/timezone/America/Cayenne
+${PG_SUBPREFIX}share/postgresql/timezone/America/Cayman
+${PG_SUBPREFIX}share/postgresql/timezone/America/Chicago
+${PG_SUBPREFIX}share/postgresql/timezone/America/Chihuahua
+${PG_SUBPREFIX}share/postgresql/timezone/America/Coral_Harbour
+${PG_SUBPREFIX}share/postgresql/timezone/America/Cordoba
+${PG_SUBPREFIX}share/postgresql/timezone/America/Costa_Rica
+${PG_SUBPREFIX}share/postgresql/timezone/America/Cuiaba
+${PG_SUBPREFIX}share/postgresql/timezone/America/Curacao
+${PG_SUBPREFIX}share/postgresql/timezone/America/Danmarkshavn
+${PG_SUBPREFIX}share/postgresql/timezone/America/Dawson
+${PG_SUBPREFIX}share/postgresql/timezone/America/Dawson_Creek
+${PG_SUBPREFIX}share/postgresql/timezone/America/Denver
+${PG_SUBPREFIX}share/postgresql/timezone/America/Detroit
+${PG_SUBPREFIX}share/postgresql/timezone/America/Dominica
+${PG_SUBPREFIX}share/postgresql/timezone/America/Edmonton
+${PG_SUBPREFIX}share/postgresql/timezone/America/Eirunepe
+${PG_SUBPREFIX}share/postgresql/timezone/America/El_Salvador
+${PG_SUBPREFIX}share/postgresql/timezone/America/Ensenada
+${PG_SUBPREFIX}share/postgresql/timezone/America/Fort_Wayne
+${PG_SUBPREFIX}share/postgresql/timezone/America/Fortaleza
+${PG_SUBPREFIX}share/postgresql/timezone/America/Glace_Bay
+${PG_SUBPREFIX}share/postgresql/timezone/America/Godthab
+${PG_SUBPREFIX}share/postgresql/timezone/America/Goose_Bay
+${PG_SUBPREFIX}share/postgresql/timezone/America/Grand_Turk
+${PG_SUBPREFIX}share/postgresql/timezone/America/Grenada
+${PG_SUBPREFIX}share/postgresql/timezone/America/Guadeloupe
+${PG_SUBPREFIX}share/postgresql/timezone/America/Guatemala
+${PG_SUBPREFIX}share/postgresql/timezone/America/Guayaquil
+${PG_SUBPREFIX}share/postgresql/timezone/America/Guyana
+${PG_SUBPREFIX}share/postgresql/timezone/America/Halifax
+${PG_SUBPREFIX}share/postgresql/timezone/America/Havana
+${PG_SUBPREFIX}share/postgresql/timezone/America/Hermosillo
+${PG_SUBPREFIX}share/postgresql/timezone/America/Indiana/Indianapolis
+${PG_SUBPREFIX}share/postgresql/timezone/America/Indiana/Knox
+${PG_SUBPREFIX}share/postgresql/timezone/America/Indiana/Marengo
+${PG_SUBPREFIX}share/postgresql/timezone/America/Indiana/Petersburg
+${PG_SUBPREFIX}share/postgresql/timezone/America/Indiana/Tell_City
+${PG_SUBPREFIX}share/postgresql/timezone/America/Indiana/Vevay
+${PG_SUBPREFIX}share/postgresql/timezone/America/Indiana/Vincennes
+${PG_SUBPREFIX}share/postgresql/timezone/America/Indiana/Winamac
+${PG_SUBPREFIX}share/postgresql/timezone/America/Indianapolis
+${PG_SUBPREFIX}share/postgresql/timezone/America/Inuvik
+${PG_SUBPREFIX}share/postgresql/timezone/America/Iqaluit
+${PG_SUBPREFIX}share/postgresql/timezone/America/Jamaica
+${PG_SUBPREFIX}share/postgresql/timezone/America/Jujuy
+${PG_SUBPREFIX}share/postgresql/timezone/America/Juneau
+${PG_SUBPREFIX}share/postgresql/timezone/America/Kentucky/Louisville
+${PG_SUBPREFIX}share/postgresql/timezone/America/Kentucky/Monticello
+${PG_SUBPREFIX}share/postgresql/timezone/America/Knox_IN
+${PG_SUBPREFIX}share/postgresql/timezone/America/La_Paz
+${PG_SUBPREFIX}share/postgresql/timezone/America/Lima
+${PG_SUBPREFIX}share/postgresql/timezone/America/Los_Angeles
+${PG_SUBPREFIX}share/postgresql/timezone/America/Louisville
+${PG_SUBPREFIX}share/postgresql/timezone/America/Maceio
+${PG_SUBPREFIX}share/postgresql/timezone/America/Managua
+${PG_SUBPREFIX}share/postgresql/timezone/America/Manaus
+${PG_SUBPREFIX}share/postgresql/timezone/America/Marigot
+${PG_SUBPREFIX}share/postgresql/timezone/America/Martinique
+${PG_SUBPREFIX}share/postgresql/timezone/America/Matamoros
+${PG_SUBPREFIX}share/postgresql/timezone/America/Mazatlan
+${PG_SUBPREFIX}share/postgresql/timezone/America/Mendoza
+${PG_SUBPREFIX}share/postgresql/timezone/America/Menominee
+${PG_SUBPREFIX}share/postgresql/timezone/America/Merida
+${PG_SUBPREFIX}share/postgresql/timezone/America/Mexico_City
+${PG_SUBPREFIX}share/postgresql/timezone/America/Miquelon
+${PG_SUBPREFIX}share/postgresql/timezone/America/Moncton
+${PG_SUBPREFIX}share/postgresql/timezone/America/Monterrey
+${PG_SUBPREFIX}share/postgresql/timezone/America/Montevideo
+${PG_SUBPREFIX}share/postgresql/timezone/America/Montreal
+${PG_SUBPREFIX}share/postgresql/timezone/America/Montserrat
+${PG_SUBPREFIX}share/postgresql/timezone/America/Nassau
+${PG_SUBPREFIX}share/postgresql/timezone/America/New_York
+${PG_SUBPREFIX}share/postgresql/timezone/America/Nipigon
+${PG_SUBPREFIX}share/postgresql/timezone/America/Nome
+${PG_SUBPREFIX}share/postgresql/timezone/America/Noronha
+${PG_SUBPREFIX}share/postgresql/timezone/America/North_Dakota/Center
+${PG_SUBPREFIX}share/postgresql/timezone/America/North_Dakota/New_Salem
+${PG_SUBPREFIX}share/postgresql/timezone/America/Ojinaga
+${PG_SUBPREFIX}share/postgresql/timezone/America/Panama
+${PG_SUBPREFIX}share/postgresql/timezone/America/Pangnirtung
+${PG_SUBPREFIX}share/postgresql/timezone/America/Paramaribo
+${PG_SUBPREFIX}share/postgresql/timezone/America/Phoenix
+${PG_SUBPREFIX}share/postgresql/timezone/America/Port-au-Prince
+${PG_SUBPREFIX}share/postgresql/timezone/America/Port_of_Spain
+${PG_SUBPREFIX}share/postgresql/timezone/America/Porto_Acre
+${PG_SUBPREFIX}share/postgresql/timezone/America/Porto_Velho
+${PG_SUBPREFIX}share/postgresql/timezone/America/Puerto_Rico
+${PG_SUBPREFIX}share/postgresql/timezone/America/Rainy_River
+${PG_SUBPREFIX}share/postgresql/timezone/America/Rankin_Inlet
+${PG_SUBPREFIX}share/postgresql/timezone/America/Recife
+${PG_SUBPREFIX}share/postgresql/timezone/America/Regina
+${PG_SUBPREFIX}share/postgresql/timezone/America/Resolute
+${PG_SUBPREFIX}share/postgresql/timezone/America/Rio_Branco
+${PG_SUBPREFIX}share/postgresql/timezone/America/Rosario
+${PG_SUBPREFIX}share/postgresql/timezone/America/Santa_Isabel
+${PG_SUBPREFIX}share/postgresql/timezone/America/Santarem
+${PG_SUBPREFIX}share/postgresql/timezone/America/Santiago
+${PG_SUBPREFIX}share/postgresql/timezone/America/Santo_Domingo
+${PG_SUBPREFIX}share/postgresql/timezone/America/Sao_Paulo
+${PG_SUBPREFIX}share/postgresql/timezone/America/Scoresbysund
+${PG_SUBPREFIX}share/postgresql/timezone/America/Shiprock
+${PG_SUBPREFIX}share/postgresql/timezone/America/St_Barthelemy
+${PG_SUBPREFIX}share/postgresql/timezone/America/St_Johns
+${PG_SUBPREFIX}share/postgresql/timezone/America/St_Kitts
+${PG_SUBPREFIX}share/postgresql/timezone/America/St_Lucia
+${PG_SUBPREFIX}share/postgresql/timezone/America/St_Thomas
+${PG_SUBPREFIX}share/postgresql/timezone/America/St_Vincent
+${PG_SUBPREFIX}share/postgresql/timezone/America/Swift_Current
+${PG_SUBPREFIX}share/postgresql/timezone/America/Tegucigalpa
+${PG_SUBPREFIX}share/postgresql/timezone/America/Thule
+${PG_SUBPREFIX}share/postgresql/timezone/America/Thunder_Bay
+${PG_SUBPREFIX}share/postgresql/timezone/America/Tijuana
+${PG_SUBPREFIX}share/postgresql/timezone/America/Toronto
+${PG_SUBPREFIX}share/postgresql/timezone/America/Tortola
+${PG_SUBPREFIX}share/postgresql/timezone/America/Vancouver
+${PG_SUBPREFIX}share/postgresql/timezone/America/Virgin
+${PG_SUBPREFIX}share/postgresql/timezone/America/Whitehorse
+${PG_SUBPREFIX}share/postgresql/timezone/America/Winnipeg
+${PG_SUBPREFIX}share/postgresql/timezone/America/Yakutat
+${PG_SUBPREFIX}share/postgresql/timezone/America/Yellowknife
+${PG_SUBPREFIX}share/postgresql/timezone/Antarctica/Casey
+${PG_SUBPREFIX}share/postgresql/timezone/Antarctica/Davis
+${PG_SUBPREFIX}share/postgresql/timezone/Antarctica/DumontDUrville
+${PG_SUBPREFIX}share/postgresql/timezone/Antarctica/Macquarie
+${PG_SUBPREFIX}share/postgresql/timezone/Antarctica/Mawson
+${PG_SUBPREFIX}share/postgresql/timezone/Antarctica/McMurdo
+${PG_SUBPREFIX}share/postgresql/timezone/Antarctica/Palmer
+${PG_SUBPREFIX}share/postgresql/timezone/Antarctica/Rothera
+${PG_SUBPREFIX}share/postgresql/timezone/Antarctica/South_Pole
+${PG_SUBPREFIX}share/postgresql/timezone/Antarctica/Syowa
+${PG_SUBPREFIX}share/postgresql/timezone/Antarctica/Vostok
+${PG_SUBPREFIX}share/postgresql/timezone/Arctic/Longyearbyen
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Aden
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Almaty
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Amman
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Anadyr
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Aqtau
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Aqtobe
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Ashgabat
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Ashkhabad
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Baghdad
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Bahrain
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Baku
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Bangkok
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Beirut
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Bishkek
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Brunei
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Calcutta
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Choibalsan
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Chongqing
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Chungking
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Colombo
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Dacca
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Damascus
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Dhaka
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Dili
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Dubai
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Dushanbe
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Gaza
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Harbin
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Ho_Chi_Minh
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Hong_Kong
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Hovd
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Irkutsk
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Istanbul
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Jakarta
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Jayapura
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Jerusalem
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Kabul
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Kamchatka
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Karachi
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Kashgar
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Kathmandu
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Katmandu
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Kolkata
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Krasnoyarsk
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Kuala_Lumpur
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Kuching
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Kuwait
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Macao
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Macau
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Magadan
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Makassar
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Manila
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Muscat
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Nicosia
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Novokuznetsk
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Novosibirsk
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Omsk
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Oral
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Phnom_Penh
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Pontianak
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Pyongyang
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Qatar
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Qyzylorda
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Rangoon
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Riyadh
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Riyadh87
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Riyadh88
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Riyadh89
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Saigon
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Sakhalin
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Samarkand
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Seoul
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Shanghai
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Singapore
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Taipei
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Tashkent
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Tbilisi
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Tehran
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Tel_Aviv
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Thimbu
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Thimphu
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Tokyo
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Ujung_Pandang
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Ulaanbaatar
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Ulan_Bator
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Urumqi
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Vientiane
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Vladivostok
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Yakutsk
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Yekaterinburg
+${PG_SUBPREFIX}share/postgresql/timezone/Asia/Yerevan
+${PG_SUBPREFIX}share/postgresql/timezone/Atlantic/Azores
+${PG_SUBPREFIX}share/postgresql/timezone/Atlantic/Bermuda
+${PG_SUBPREFIX}share/postgresql/timezone/Atlantic/Canary
+${PG_SUBPREFIX}share/postgresql/timezone/Atlantic/Cape_Verde
+${PG_SUBPREFIX}share/postgresql/timezone/Atlantic/Faeroe
+${PG_SUBPREFIX}share/postgresql/timezone/Atlantic/Faroe
+${PG_SUBPREFIX}share/postgresql/timezone/Atlantic/Jan_Mayen
+${PG_SUBPREFIX}share/postgresql/timezone/Atlantic/Madeira
+${PG_SUBPREFIX}share/postgresql/timezone/Atlantic/Reykjavik
+${PG_SUBPREFIX}share/postgresql/timezone/Atlantic/South_Georgia
+${PG_SUBPREFIX}share/postgresql/timezone/Atlantic/St_Helena
+${PG_SUBPREFIX}share/postgresql/timezone/Atlantic/Stanley
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/ACT
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/Adelaide
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/Brisbane
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/Broken_Hill
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/Canberra
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/Currie
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/Darwin
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/Eucla
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/Hobart
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/LHI
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/Lindeman
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/Lord_Howe
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/Melbourne
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/NSW
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/North
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/Perth
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/Queensland
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/South
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/Sydney
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/Tasmania
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/Victoria
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/West
+${PG_SUBPREFIX}share/postgresql/timezone/Australia/Yancowinna
+${PG_SUBPREFIX}share/postgresql/timezone/Brazil/Acre
+${PG_SUBPREFIX}share/postgresql/timezone/Brazil/DeNoronha
+${PG_SUBPREFIX}share/postgresql/timezone/Brazil/East
+${PG_SUBPREFIX}share/postgresql/timezone/Brazil/West
+${PG_SUBPREFIX}share/postgresql/timezone/CET
+${PG_SUBPREFIX}share/postgresql/timezone/CST6CDT
+${PG_SUBPREFIX}share/postgresql/timezone/Canada/Atlantic
+${PG_SUBPREFIX}share/postgresql/timezone/Canada/Central
+${PG_SUBPREFIX}share/postgresql/timezone/Canada/East-Saskatchewan
+${PG_SUBPREFIX}share/postgresql/timezone/Canada/Eastern
+${PG_SUBPREFIX}share/postgresql/timezone/Canada/Mountain
+${PG_SUBPREFIX}share/postgresql/timezone/Canada/Newfoundland
+${PG_SUBPREFIX}share/postgresql/timezone/Canada/Pacific
+${PG_SUBPREFIX}share/postgresql/timezone/Canada/Saskatchewan
+${PG_SUBPREFIX}share/postgresql/timezone/Canada/Yukon
+${PG_SUBPREFIX}share/postgresql/timezone/Chile/Continental
+${PG_SUBPREFIX}share/postgresql/timezone/Chile/EasterIsland
+${PG_SUBPREFIX}share/postgresql/timezone/Cuba
+${PG_SUBPREFIX}share/postgresql/timezone/EET
+${PG_SUBPREFIX}share/postgresql/timezone/EST
+${PG_SUBPREFIX}share/postgresql/timezone/EST5EDT
+${PG_SUBPREFIX}share/postgresql/timezone/Egypt
+${PG_SUBPREFIX}share/postgresql/timezone/Eire
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT+0
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT+1
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT+10
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT+11
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT+12
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT+2
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT+3
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT+4
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT+5
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT+6
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT+7
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT+8
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT+9
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT-0
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT-1
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT-10
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT-11
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT-12
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT-13
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT-14
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT-2
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT-3
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT-4
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT-5
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT-6
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT-7
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT-8
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT-9
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/GMT0
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/Greenwich
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/UCT
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/UTC
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/Universal
+${PG_SUBPREFIX}share/postgresql/timezone/Etc/Zulu
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Amsterdam
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Andorra
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Athens
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Belfast
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Belgrade
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Berlin
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Bratislava
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Brussels
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Bucharest
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Budapest
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Chisinau
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Copenhagen
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Dublin
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Gibraltar
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Guernsey
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Helsinki
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Isle_of_Man
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Istanbul
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Jersey
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Kaliningrad
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Kiev
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Lisbon
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Ljubljana
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/London
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Luxembourg
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Madrid
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Malta
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Mariehamn
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Minsk
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Monaco
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Moscow
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Nicosia
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Oslo
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Paris
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Podgorica
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Prague
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Riga
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Rome
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Samara
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/San_Marino
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Sarajevo
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Simferopol
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Skopje
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Sofia
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Stockholm
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Tallinn
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Tirane
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Tiraspol
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Uzhgorod
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Vaduz
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Vatican
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Vienna
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Vilnius
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Volgograd
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Warsaw
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Zagreb
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Zaporozhye
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Zurich
+${PG_SUBPREFIX}share/postgresql/timezone/Factory
+${PG_SUBPREFIX}share/postgresql/timezone/GB
+${PG_SUBPREFIX}share/postgresql/timezone/GB-Eire
+${PG_SUBPREFIX}share/postgresql/timezone/GMT
+${PG_SUBPREFIX}share/postgresql/timezone/GMT+0
+${PG_SUBPREFIX}share/postgresql/timezone/GMT-0
+${PG_SUBPREFIX}share/postgresql/timezone/GMT0
+${PG_SUBPREFIX}share/postgresql/timezone/Greenwich
+${PG_SUBPREFIX}share/postgresql/timezone/HST
+${PG_SUBPREFIX}share/postgresql/timezone/Hongkong
+${PG_SUBPREFIX}share/postgresql/timezone/Iceland
+${PG_SUBPREFIX}share/postgresql/timezone/Indian/Antananarivo
+${PG_SUBPREFIX}share/postgresql/timezone/Indian/Chagos
+${PG_SUBPREFIX}share/postgresql/timezone/Indian/Christmas
+${PG_SUBPREFIX}share/postgresql/timezone/Indian/Cocos
+${PG_SUBPREFIX}share/postgresql/timezone/Indian/Comoro
+${PG_SUBPREFIX}share/postgresql/timezone/Indian/Kerguelen
+${PG_SUBPREFIX}share/postgresql/timezone/Indian/Mahe
+${PG_SUBPREFIX}share/postgresql/timezone/Indian/Maldives
+${PG_SUBPREFIX}share/postgresql/timezone/Indian/Mauritius
+${PG_SUBPREFIX}share/postgresql/timezone/Indian/Mayotte
+${PG_SUBPREFIX}share/postgresql/timezone/Indian/Reunion
+${PG_SUBPREFIX}share/postgresql/timezone/Iran
+${PG_SUBPREFIX}share/postgresql/timezone/Israel
+${PG_SUBPREFIX}share/postgresql/timezone/Jamaica
+${PG_SUBPREFIX}share/postgresql/timezone/Japan
+${PG_SUBPREFIX}share/postgresql/timezone/Kwajalein
+${PG_SUBPREFIX}share/postgresql/timezone/Libya
+${PG_SUBPREFIX}share/postgresql/timezone/MET
+${PG_SUBPREFIX}share/postgresql/timezone/MST
+${PG_SUBPREFIX}share/postgresql/timezone/MST7MDT
+${PG_SUBPREFIX}share/postgresql/timezone/Mexico/BajaNorte
+${PG_SUBPREFIX}share/postgresql/timezone/Mexico/BajaSur
+${PG_SUBPREFIX}share/postgresql/timezone/Mexico/General
+${PG_SUBPREFIX}share/postgresql/timezone/Mideast/Riyadh87
+${PG_SUBPREFIX}share/postgresql/timezone/Mideast/Riyadh88
+${PG_SUBPREFIX}share/postgresql/timezone/Mideast/Riyadh89
+${PG_SUBPREFIX}share/postgresql/timezone/NZ
+${PG_SUBPREFIX}share/postgresql/timezone/NZ-CHAT
+${PG_SUBPREFIX}share/postgresql/timezone/Navajo
+${PG_SUBPREFIX}share/postgresql/timezone/PRC
+${PG_SUBPREFIX}share/postgresql/timezone/PST8PDT
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Apia
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Auckland
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Chatham
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Chuuk
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Easter
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Efate
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Enderbury
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Fakaofo
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Fiji
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Funafuti
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Galapagos
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Gambier
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Guadalcanal
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Guam
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Honolulu
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Johnston
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Kiritimati
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Kosrae
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Kwajalein
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Majuro
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Marquesas
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Midway
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Nauru
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Niue
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Norfolk
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Noumea
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Pago_Pago
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Palau
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Pitcairn
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Pohnpei
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Ponape
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Port_Moresby
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Rarotonga
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Saipan
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Samoa
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Tahiti
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Tarawa
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Tongatapu
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Truk
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Wake
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Wallis
+${PG_SUBPREFIX}share/postgresql/timezone/Pacific/Yap
+${PG_SUBPREFIX}share/postgresql/timezone/Poland
+${PG_SUBPREFIX}share/postgresql/timezone/Portugal
+${PG_SUBPREFIX}share/postgresql/timezone/ROC
+${PG_SUBPREFIX}share/postgresql/timezone/ROK
+${PG_SUBPREFIX}share/postgresql/timezone/Singapore
+${PG_SUBPREFIX}share/postgresql/timezone/Turkey
+${PG_SUBPREFIX}share/postgresql/timezone/UCT
+${PG_SUBPREFIX}share/postgresql/timezone/US/Alaska
+${PG_SUBPREFIX}share/postgresql/timezone/US/Aleutian
+${PG_SUBPREFIX}share/postgresql/timezone/US/Arizona
+${PG_SUBPREFIX}share/postgresql/timezone/US/Central
+${PG_SUBPREFIX}share/postgresql/timezone/US/East-Indiana
+${PG_SUBPREFIX}share/postgresql/timezone/US/Eastern
+${PG_SUBPREFIX}share/postgresql/timezone/US/Hawaii
+${PG_SUBPREFIX}share/postgresql/timezone/US/Indiana-Starke
+${PG_SUBPREFIX}share/postgresql/timezone/US/Michigan
+${PG_SUBPREFIX}share/postgresql/timezone/US/Mountain
+${PG_SUBPREFIX}share/postgresql/timezone/US/Pacific
+${PG_SUBPREFIX}share/postgresql/timezone/US/Pacific-New
+${PG_SUBPREFIX}share/postgresql/timezone/US/Samoa
+${PG_SUBPREFIX}share/postgresql/timezone/UTC
+${PG_SUBPREFIX}share/postgresql/timezone/Universal
+${PG_SUBPREFIX}share/postgresql/timezone/W-SU
+${PG_SUBPREFIX}share/postgresql/timezone/WET
+${PG_SUBPREFIX}share/postgresql/timezone/Zulu
+${PG_SUBPREFIX}share/postgresql/timezone/posixrules
+${PG_SUBPREFIX}share/postgresql/timezonesets/Africa.txt
+${PG_SUBPREFIX}share/postgresql/timezonesets/America.txt
+${PG_SUBPREFIX}share/postgresql/timezonesets/Antarctica.txt
+${PG_SUBPREFIX}share/postgresql/timezonesets/Asia.txt
+${PG_SUBPREFIX}share/postgresql/timezonesets/Atlantic.txt
+${PG_SUBPREFIX}share/postgresql/timezonesets/Australia
+${PG_SUBPREFIX}share/postgresql/timezonesets/Australia.txt
+${PG_SUBPREFIX}share/postgresql/timezonesets/Default
+${PG_SUBPREFIX}share/postgresql/timezonesets/Etc.txt
+${PG_SUBPREFIX}share/postgresql/timezonesets/Europe.txt
+${PG_SUBPREFIX}share/postgresql/timezonesets/India
+${PG_SUBPREFIX}share/postgresql/timezonesets/Indian.txt
+${PG_SUBPREFIX}share/postgresql/timezonesets/Pacific.txt
+${PG_SUBPREFIX}share/postgresql/tsearch_data/danish.stop
+${PG_SUBPREFIX}share/postgresql/tsearch_data/dutch.stop
+${PG_SUBPREFIX}share/postgresql/tsearch_data/english.stop
+${PG_SUBPREFIX}share/postgresql/tsearch_data/finnish.stop
+${PG_SUBPREFIX}share/postgresql/tsearch_data/french.stop
+${PG_SUBPREFIX}share/postgresql/tsearch_data/german.stop
+${PG_SUBPREFIX}share/postgresql/tsearch_data/hungarian.stop
+${PG_SUBPREFIX}share/postgresql/tsearch_data/hunspell_sample.affix
+${PG_SUBPREFIX}share/postgresql/tsearch_data/ispell_sample.affix
+${PG_SUBPREFIX}share/postgresql/tsearch_data/ispell_sample.dict
+${PG_SUBPREFIX}share/postgresql/tsearch_data/italian.stop
+${PG_SUBPREFIX}share/postgresql/tsearch_data/norwegian.stop
+${PG_SUBPREFIX}share/postgresql/tsearch_data/portuguese.stop
+${PG_SUBPREFIX}share/postgresql/tsearch_data/russian.stop
+${PG_SUBPREFIX}share/postgresql/tsearch_data/spanish.stop
+${PG_SUBPREFIX}share/postgresql/tsearch_data/swedish.stop
+${PG_SUBPREFIX}share/postgresql/tsearch_data/synonym_sample.syn
+${PG_SUBPREFIX}share/postgresql/tsearch_data/thesaurus_sample.ths
+${PG_SUBPREFIX}share/postgresql/tsearch_data/turkish.stop
diff --git a/databases/postgresql90-server/files/pgsql.sh b/databases/postgresql90-server/files/pgsql.sh
new file mode 100644
index 00000000000..812b24e5228
--- /dev/null
+++ b/databases/postgresql90-server/files/pgsql.sh
@@ -0,0 +1,148 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: pgsql.sh,v 1.1.1.1 2010/09/21 07:52:57 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
+#
+# The following variables are optional:
+#
+# pgsql_flags="-i" # allows TCP/IP connections
+# pgsql_flags="-i -l" # enables SSL connections
+# pgsql_home="/path/to/home" # path to pgsql database directory
+#
+# "pgsql_flags" contains options for the PostgreSQL postmaster. See
+# postmaster(1) for possible options.
+
+if [ -f /etc/rc.subr ]; then
+ . /etc/rc.subr
+fi
+
+name="pgsql"
+rcvar=$name
+pgsql_user="@PGUSER@"
+pgsql_group="@PGGROUP@"
+eval pgsql_home="~$pgsql_user"
+
+command="@PG_PREFIX@/bin/postmaster"
+ctl_command="@PG_PREFIX@/bin/pg_ctl"
+extra_commands="initdb"
+
+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
+
+pidfile="${pgsql_home}/data/postmaster.pid"
+common_args="-D ${pgsql_home}/data -m fast"
+start_command_args="-w -s -l ${pgsql_home}/errlog"
+stop_command_args="-s"
+
+initdb_cmd="pgsql_initdb"
+start_precmd="pgsql_precmd"
+start_cmd="pgsql_doit start"
+restart_cmd="pgsql_doit restart"
+stop_cmd="pgsql_doit stop"
+
+ulimit -n 4096
+
+pgsql_precmd()
+{
+ if [ ! -d ${pgsql_home}/data/base ]; then
+ pgsql_initdb
+ fi
+}
+
+pgsql_initdb()
+{
+ initdb="@PG_PREFIX@/bin/initdb"
+
+ cd /
+
+ if [ ! -x ${initdb} ]; then
+ return 1
+ fi
+ 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@ 0750 ${pgsql_home}
+ common_args_without_m=$(echo "${common_args}" |\
+ sed -e 's/-m [a-z]*//')
+ eval doit_command=\"${initdb} ${common_args_without_m} ${flags}\"
+ doit="@SU@ -m ${pgsql_user} -c '${doit_command}'"
+ eval $doit
+ fi
+}
+
+pgsql_doit()
+{
+ action=$1
+
+ cd /
+
+ case ${action} in
+ start|restart)
+ if [ -n "${pgsql_flags}" ]; then
+ start_command_args="${start_command_args} -o \\\"${pgsql_flags}\\\""
+ fi
+ command_args="${common_args} ${start_command_args} ${command_args}"
+ ;;
+ stop)
+ command_args="${common_args} ${stop_command_args} ${command_args}"
+ ;;
+ *)
+ command_args="${common_args} ${command_args}"
+ ;;
+ esac
+
+ if [ ! -x ${ctl_command} ]; then
+ return
+ fi
+
+ case ${action} in
+ start) @ECHO@ "Starting ${name}." ;;
+ stop) @ECHO@ "Stopping ${name}." ;;
+ restart) @ECHO@ "Restarting ${name}." ;;
+ esac
+
+ eval doit_command=\"${ctl_command} ${action} ${command_args}\"
+ doit="@SU@ -m ${pgsql_user} -c '${doit_command}'"
+ eval $doit
+}
+
+if [ -f /etc/rc.subr -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]; then
+ load_rc_config $name
+ run_rc_command "$1"
+else
+ if [ -f /etc/rc.conf ]; then
+ . /etc/rc.conf
+ fi
+ case "$1" in
+ initdb)
+ eval ${initdb_cmd}
+ ;;
+ restart)
+ eval ${restart_cmd}
+ ;;
+ stop)
+ eval ${stop_cmd}
+ ;;
+ *)
+ eval ${start_precmd}
+ eval ${start_cmd}
+ ;;
+ esac
+fi
diff --git a/databases/postgresql90/DESCR b/databases/postgresql90/DESCR
new file mode 100644
index 00000000000..9f6b5b5b0f9
--- /dev/null
+++ b/databases/postgresql90/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/postgresql90/Makefile b/databases/postgresql90/Makefile
new file mode 100644
index 00000000000..c4b01a000a3
--- /dev/null
+++ b/databases/postgresql90/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $
+
+PKGNAME= postgresql90-${BASE_VERS}
+COMMENT= Robust, next generation, object-relational DBMS
+
+DEPENDS+= postgresql90-client>=${BASE_VERS}:../../databases/postgresql90-client
+DEPENDS+= postgresql90-docs>=${BASE_VERS}:../../databases/postgresql90-docs
+DEPENDS+= postgresql90-server>=${BASE_VERS}:../../databases/postgresql90-server
+
+META_PACKAGE= yes
+
+.include "Makefile.common"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql90/Makefile.common b/databases/postgresql90/Makefile.common
new file mode 100644
index 00000000000..f060ba3835f
--- /dev/null
+++ b/databases/postgresql90/Makefile.common
@@ -0,0 +1,151 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $
+#
+# used by databases/postgresql90-adminpack/Makefile
+# used by databases/postgresql90-client/Makefile
+# used by databases/postgresql90-dblink/Makefile
+# used by databases/postgresql90-docs/Makefile
+# used by databases/postgresql90-pgcrypto/Makefile
+# used by databases/postgresql90-plperl/Makefile
+# used by databases/postgresql90-plpython/Makefile
+# used by databases/postgresql90-pltcl/Makefile
+# used by databases/postgresql90-server/Makefile
+#
+# 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
+
+.include "../../databases/postgresql90/Makefile.mirrors"
+
+DISTNAME?= postgresql-${DIST_VERS}
+CATEGORIES+= databases
+MASTER_SITES?= ${PGSQL_MIRRORS:=source/v${DIST_VERS}/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER?= adam@NetBSD.org
+HOMEPAGE?= http://www.postgresql.org/
+
+CONFLICTS+= postgresql-[0-9]*
+CONFLICTS+= postgresql73-*
+CONFLICTS+= postgresql74-*
+CONFLICTS+= postgresql80-*
+CONFLICTS+= postgresql81-*
+CONFLICTS+= postgresql82-*
+CONFLICTS+= postgresql83-*
+CONFLICTS+= postgresql84-*
+
+DISTINFO_FILE?= ${.CURDIR}/../postgresql90/distinfo
+COMMON_FILESDIR?= ${.CURDIR}/../postgresql90/files
+PATCHDIR?= ${.CURDIR}/../postgresql90/patches
+
+# Version numbering scheme:
+# DIST_VERS version number on the postgresql distfile
+# BASE_VERS pkgsrc-mangled version number (convert pl -> .)
+# Note: Do not forget jdbc-postgresql90 when updating version
+DIST_VERS?= 9.0.0
+BASE_VERS?= ${DIST_VERS}
+
+BUILDLINK_API_DEPENDS.postgresql90-client+= postgresql90-client>=${BASE_VERS}
+
+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
+.if !defined(PG_TEMPLATE.${OPSYS})
+PG_TEMPLATE.${OPSYS}= ${LOWER_OPSYS}
+.endif
+
+PG_SUBPREFIX= # empty
+.if empty(PG_SUBPREFIX)
+PG_PREFIX= ${PREFIX}
+PLIST_SUBST+= PG_SUBPREFIX=
+.else
+PG_PREFIX= ${PREFIX}/${PG_SUBPREFIX}
+BUILD_DEFS+= PG_SUBPREFIX
+PLIST_SUBST+= PG_SUBPREFIX=${PG_SUBPREFIX}/
+BUILDLINK_PASSTHRU_DIRS+= ${PG_PREFIX}
+.endif
+PG_DATA_DIR= ${PG_PREFIX}/share/postgresql
+PG_DOC_DIR= ${PG_PREFIX}/share/doc/postgresql
+PG_LOCALE_DIR= ${PG_PREFIX}/${PKGLOCALEDIR}/locale
+PG_ETC_DIR= ${PKG_SYSCONFDIR:S/^${PREFIX}\//${PG_PREFIX}\//}
+
+GNU_CONFIGURE= yes
+GNU_CONFIGURE_PREFIX= ${PG_PREFIX}
+CONFIGURE_ARGS+= --sysconfdir=${PG_ETC_DIR}
+CONFIGURE_ARGS+= --datadir=${PG_DATA_DIR}
+CONFIGURE_ARGS+= --localedir=${PG_LOCALE_DIR}
+CONFIGURE_ARGS+= --with-docdir=${PG_DOC_DIR}
+CONFIGURE_ARGS+= --with-template=${PG_TEMPLATE.${OPSYS}}
+CONFIGURE_ARGS+= --without-readline
+CONFIGURE_ARGS+= --without-zlib
+CONFIGURE_ARGS+= --enable-nls
+
+CONFIGURE_ARGS+= --without-perl
+CONFIGURE_ARGS+= --without-python
+CONFIGURE_ARGS+= --without-tcl
+
+# Enable Bonjour on Mac OS X
+.if ${OPSYS} == "Darwin"
+CONFIGURE_ARGS+= --with-bonjour
+.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
+
+FILES_SUBST+= PG_PREFIX=${PG_PREFIX:Q}
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+
+.if !defined(META_PACKAGE)
+post-extract:
+ cp -f ${COMMON_FILESDIR}/Makefile.custom ${WRKSRC}/src/Makefile.custom
+ cp -f ${COMMON_FILESDIR}/Makefile.libtool ${WRKSRC}/src/Makefile.shlib
+. 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
+
+# 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 (hardcoded in the
+# PostgreSQL sources). Please don't change this value unless you know
+# what you are doing.
+BUILD_DEFS+= PGSQL_BLCKSZ
+
+.if defined(PGSQL_BLCKSZ)
+.PHONY: pgsql-blcksz
+pre-configure: pgsql-blcksz
+pgsql-blcksz:
+ for file in ${WRKSRC}/src/include/pg_config_manual.h; do \
+ ${SED} -e "/^#define[ ]*BLCKSZ[ ]*/s/^\(#define[ ]*BLCKSZ\).*/\1 ${PGSQL_BLCKSZ}/" $$file > $$file.new; \
+ ${MV} -f $$file.new $$file; \
+ done
+.endif
diff --git a/databases/postgresql90/Makefile.mirrors b/databases/postgresql90/Makefile.mirrors
new file mode 100644
index 00000000000..f7734b8f5c4
--- /dev/null
+++ b/databases/postgresql90/Makefile.mirrors
@@ -0,0 +1,101 @@
+# $NetBSD: Makefile.mirrors,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $
+#
+# This Makefile fragment contains the mirror sites for fetching PostgreSQL.
+#
+# To fetch from the nearest mirror, you may need to set
+# PGSQL_MIRRORS_SORT appropriately, e.g.:
+#
+# PGSQL_MIRRORS_SORT= .at .de
+#
+
+###
+### This list was last updated on 20050801.
+###
+PGSQL_MIRRORS= \
+ ftp://ftp.au.postgresql.org/pub/postgresql/ \
+ ftp://ftp2.au.postgresql.org/pub/postgresql/ \
+ ftp://ftp.at.postgresql.org/db/www.postgresql.org/pub/ \
+ ftp://ftp.be.postgresql.org/postgresql/ \
+ ftp://ftp.ba.postgresql.org/pub/postgresql/ \
+ ftp://ftp.br.postgresql.org/pub/PostgreSQL/ \
+ ftp://ftp3.bg.postgresql.org/postgresql/ \
+ ftp://ftp3.ca.postgresql.org/pub/ \
+ ftp://ftp4.ca.postgresql.org/pub/postgresql/ \
+ ftp://ftp.cl.postgresql.org/ftp/pub/postgresql/ \
+ ftp://ftp.cn.postgresql.org/ftp.postgresql.org/ \
+ ftp://ftp.co.postgresql.org/pub/mirrors/postgresql/ \
+ ftp://ftp2.cr.postgresql.org/pub/Unix/postgres/ \
+ ftp://ftp.hr.postgresql.org/postgresql/ \
+ ftp://ftp.cz.postgresql.org/pub/ftp.postgresql.org/ \
+ ftp://ftp2.cz.postgresql.org/pub/postgresql/ \
+ ftp://ftp.dk.postgresql.org/postgresql/ \
+ ftp://ftp.ee.postgresql.org/mirrors/postgresql/ \
+ ftp://ftp.fr.postgresql.org/ \
+ ftp://ftp2.fr.postgresql.org/postgresql/ \
+ ftp://ftp3.fr.postgresql.org/pub/postgresql/ \
+ ftp://ftp.de.postgresql.org/mirror/postgresql/ \
+ ftp://ftp2.de.postgresql.org/pub/postgresql/ \
+ ftp://ftp3.de.postgresql.org/pub/Mirrors/ftp.postgresql.org/ \
+ ftp://ftp7.de.postgresql.org/pub/ftp.postgresql.org/ \
+ ftp://ftp8.de.postgresql.org/pub/misc/pgsql/ \
+ ftp://ftp.gr.postgresql.org/pub/databases/postgresql/ \
+ ftp://ftp2.gr.postgresql.org/pub/databases/postgresql/ \
+ ftp://ftp.hk.postgresql.org/postgresql/ \
+ ftp://ftp3.hu.postgresql.org/pub/postgresql/ \
+ ftp://ftp7.id.postgresql.org/pub/postgresql/ \
+ ftp://ftp8.id.postgresql.org/pub/PostgreSQL/ \
+ ftp://ftp.ie.postgresql.org/mirrors/ftp.postgresql.org/pub/ \
+ ftp://ftp2.ie.postgresql.org/mirrors/ftp.postgresql.org/ \
+ ftp://ftp.il.postgresql.org/ftp.postgresql.org/ \
+ ftp://ftp2.it.postgresql.org/mirrors/postgres/ \
+ ftp://ftp6.it.postgresql.org/pub/PostgreSQL/ \
+ ftp://ftp7.it.postgresql.org/pub/unix/postgres/ \
+ ftp://ftp.jp.postgresql.org/ \
+ ftp://ftp2.jp.postgresql.org/pub/postgresql/ \
+ ftp://ftp.kr.postgresql.org/postgresql/ \
+ ftp://ftp.lv.postgresql.org/pub/software/postgresql/ \
+ ftp://ftp.eu.postgresql.org/pub/unix/db/postgresql/ \
+ ftp://ftp.nl.postgresql.org:21/pub/mirror/postgresql/ \
+ ftp://ftp2.nl.postgresql.org/mirror/postgresql/ \
+ ftp://ftp4.nl.postgresql.org/postgresql.zeelandnet.nl/ \
+ ftp://ftp.nz.postgresql.org/postgresql/ \
+ ftp://ftp.no.postgresql.org/pub/databases/postgresql/ \
+ ftp://ftp6.pl.postgresql.org/pub/postgresql/ \
+ ftp://ftp7.pl.postgresql.org/pub/mirror/ftp.postgresql.org/ \
+ ftp://ftp8.pl.postgresql.org/pub/postgresql/ \
+ ftp://ftp.pt.postgresql.org/postgresql/ \
+ ftp://ftp.pr.postgresql.org/pub/Mirrors/postgresql/ \
+ ftp://ftp6.ro.postgresql.org/pub/mirrors/ftp.postgresql.org/ \
+ ftp://ftp.ru.postgresql.org/pub/mirrors/pgsql/ \
+ ftp://ftp2.ru.postgresql.org/pub/databases/postgresql/ \
+ ftp://ftp3.ru.postgresql.org/pub/mirror/postgresql/pub/ \
+ ftp://ftp7.ru.postgresql.org/pub/mirror/postgresql/ \
+ ftp://ftp2.sk.postgresql.org/pub/postgresql/ \
+ ftp://ftp5.es.postgresql.org/mirror/postgresql/ \
+ ftp://ftp.se.postgresql.org/pub/databases/relational/postgresql/ \
+ ftp://ftp2.ch.postgresql.org/pub/postgresql/ \
+ ftp://ftp.tw.postgresql.org/pub/postgresql/ \
+ ftp://ftp3.tw.postgresql.org/pub/Unix/Database/postgresql/ \
+ ftp://ftp5.tw.postgresql.org/pub/Unix/Database/PostgreSQL/ \
+ ftp://ftp6.tr.postgresql.org/postgresql/ \
+ ftp://ftp2.uk.postgresql.org/sites/ftp.postgresql.org/ \
+ ftp://ftp4.uk.postgresql.org/sites/ftp.postgresql.org/ \
+ ftp://ftp8.uk.postgresql.org/sites/ftp.postgresql.org/ \
+ ftp://ftp.us.postgresql.org/pub/mirrors/postgresql/ \
+ ftp://ftp3.us.postgresql.org/pub/postgresql/ \
+ ftp://ftp5.us.postgresql.org/pub/PostgreSQL/ \
+ ftp://ftp8.us.postgresql.org/postgresql/ \
+ ftp://ftp9.us.postgresql.org/pub/mirrors/postgresql/ \
+ ftp://ftp10.us.postgresql.org/pub/postgresql/ \
+ ftp://ftp22.us.postgresql.org/mirrors/ftp.postgresql.org/ \
+ ftp://ftp24.us.postgresql.org/postgresql/
+
+# Default to fetching from a .us mirror for the sake of the main NetBSD
+# ftp server.
+#
+PGSQL_MIRRORS_SORT?= .us
+
+# Craft a MASTER_SORT_REGEX that understands the location of the country
+# code in the FTP server name for the PostgreSQL mirror sites.
+#
+MASTER_SORT_REGEX+= ${PGSQL_MIRRORS_SORT:S/./\\./g:C/.*/:\/\/[^[\/]*&\/ :\/\/[^\/]*&\\./}
diff --git a/databases/postgresql90/PLIST b/databases/postgresql90/PLIST
new file mode 100644
index 00000000000..0f07ca55fcd
--- /dev/null
+++ b/databases/postgresql90/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $
+@comment this plist intentionally left empty
diff --git a/databases/postgresql90/distinfo b/databases/postgresql90/distinfo
new file mode 100644
index 00000000000..2c33b3a53d2
--- /dev/null
+++ b/databases/postgresql90/distinfo
@@ -0,0 +1,15 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $
+
+SHA1 (postgresql-9.0.0.tar.bz2) = ed2f83cd1a83c40dcbe0ba19ee3ba2a7faa0de3d
+RMD160 (postgresql-9.0.0.tar.bz2) = a6c25636254277029977768be2a73496fc87848a
+Size (postgresql-9.0.0.tar.bz2) = 13753207 bytes
+SHA1 (patch-aa) = c7e5aaff1c47d2e33df7692a412ef984c77ffcc0
+SHA1 (patch-ab) = 6adfc53e325abe69582f1c7971f56144c697e9c1
+SHA1 (patch-ac) = 76ddd3015d93b19cdd6000eaffc4f53cbd4965b5
+SHA1 (patch-ad) = 64b24d389470ddb980b7a2bdb95e59a599812dfd
+SHA1 (patch-af) = a73769cf05223d2ee06249c9e69c85038c2cd936
+SHA1 (patch-ag) = 85dac95e40efc16270885087f868aeb76e1b9214
+SHA1 (patch-ah) = 25102dce1b9b22385353af23500636fb18e3bf64
+SHA1 (patch-ai) = 0d6f536f7593e362ec216eafa73c718ad6bed8fc
+SHA1 (patch-an) = 787689c3b35ce94c5186eec47240c2b9545f72a1
+SHA1 (patch-ao) = 4d7c40d107d4c13c63ef2908d9a02be319863657
diff --git a/databases/postgresql90/files/GNUmakefile.libpq b/databases/postgresql90/files/GNUmakefile.libpq
new file mode 100644
index 00000000000..f75a94faaf0
--- /dev/null
+++ b/databases/postgresql90/files/GNUmakefile.libpq
@@ -0,0 +1,20 @@
+# $NetBSD: GNUmakefile.libpq,v 1.1.1.1 2010/09/21 07:50:46 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/postgresql90/files/Makefile.custom b/databases/postgresql90/files/Makefile.custom
new file mode 100644
index 00000000000..d2ee4223714
--- /dev/null
+++ b/databases/postgresql90/files/Makefile.custom
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile.custom,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $
+#
+# This file is included at the end of Makefile.global, which is included
+# by every sub-Makefile in the build tree. Makefiles for shared
+# libraries include Makefile.global then Makefile.shlib.
+#
+
+# Override any OS-specific locations for where to put SQL man pages.
+sqlmansect = 7
+
+# Override installation paths to avoid logic in Makefile.global.
+includedir = $(prefix)/include
+libdir = $(exec_prefix)/lib
+pkglibdir = $(libdir)/postgresql
+pkgincludedir = $(includedir)/postgresql
+
+# INSTALLED_LIBPQ is passed in from the environment and tells the build
+# system how to link to an installed libpq.*.
+#
+ifdef INSTALLED_LIBPQ
+libpq = -lpq
+else
+ifdef LIBTOOL
+libpq = $(libpq_builddir)/libpq.la
+endif
+ifdef PGFILEDESC
+libpq = -L$(libpq_builddir)/.libs -lpq
+endif
+endif
+
+# In pkgsrc, libpython is always present as a shared library.
+shared_libpython = yes
+
+# $(libpq_builddir)/libpq.a is used in several places as a dependency,
+# but if we're building with libtool, then we don't actually want to
+# create that file since it will mess up the re-linking process.
+# Declare it to be phony to prevent GNU make from thinking it's a
+# target.
+#
+ifdef LIBTOOL
+.PHONY: $(libpq_builddir)/libpq.a
+endif
diff --git a/databases/postgresql90/files/Makefile.libtool b/databases/postgresql90/files/Makefile.libtool
new file mode 100644
index 00000000000..bf3f6d6e7df
--- /dev/null
+++ b/databases/postgresql90/files/Makefile.libtool
@@ -0,0 +1,144 @@
+#-------------------------------------------------------------------------
+#
+# Makefile.libtool
+# Common rules for buildling libtool archives
+#
+# IDENTIFICATION
+# $NetBSD: Makefile.libtool,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $
+#
+#-------------------------------------------------------------------------
+
+##
+## Hacks/workarounds for makefiles in certain directories
+##
+
+# The following directories are building loadable shared modules, not
+# shared libraries.
+#
+ifneq (,$(findstring src/backend/utils/mb/conversion_procs/,$(subdir)))
+shmodule = yes
+else
+ifneq (,$(findstring src/backend/snowball,$(subdir)))
+shmodule = yes
+else
+ifneq (,$(findstring src/pl/,$(subdir)))
+shmodule = yes
+else
+ifneq (,$(findstring contrib/adminpack,$(subdir)))
+shmodule = yes
+else
+ifneq (,$(findstring contrib/pgcrypto,$(subdir)))
+shmodule = yes
+else
+ifneq (,$(findstring contrib/dblink,$(subdir)))
+shmodule = yes
+else
+shmodule = no
+endif
+endif
+endif
+endif
+endif
+endif
+
+# Fix dependencies in some makefiles that assume the target matches
+# %.o so that when built for libtool, the target matches the corresponding
+# %.lo.
+#
+ifeq ($(subdir), src/interfaces/ecpg/ecpglib)
+path.lo: path.c $(top_builddir)/src/port/pg_config_paths.h
+endif
+
+ifeq ($(subdir), src/interfaces/libpq)
+fe-connect.lo: fe-connect.c $(top_builddir)/src/port/pg_config_paths.h
+endif
+
+
+##
+## VARIABLE DEFINITIONS
+##
+
+# Loadable shared modules are named differently from shared libraries
+# and are installed into $(pkglibdir).
+#
+ifeq ($(shmodule),yes)
+ltlib = $(NAME)$(DLSUFFIX)
+ltmodule = -module
+rpathdir = $(pkglibdir)
+else
+ltlib = lib$(NAME)$(DLSUFFIX)
+ltmodule =
+endif
+
+DLSUFFIX = .la
+SO_MAJOR_VERSION?=0
+SO_MINOR_VERSION?=0
+
+LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(CPPFLAGS)
+LTLINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(ltmodule) -rpath $(rpathdir) -version-info $(SO_MAJOR_VERSION):$(SO_MINOR_VERSION)
+LTOBJS = $(OBJS:%.o=%.lo)
+
+# Define INSTALL_SHLIB and shlib for the benefit of Makefiles for
+# loadable modules that have their own target for installing the
+# module.
+#
+INSTALL_LTLIB = $(LIBTOOL) --mode=install $(INSTALL)
+INSTALL_STLIB = $(INSTALL_LTLIB)
+INSTALL_SHLIB = $(INSTALL_LTLIB)
+shlib = $(ltlib)
+
+%.lo : %.c
+ $(LTCOMPILE) -c $< -o $@
+
+
+##
+## BUILD
+##
+
+.PHONY: all-lib all-static-lib all-shared-lib all-la-lib
+all-lib all-static-lib all-shared-lib: all-la-lib
+
+all-la-lib: $(ltlib)
+
+$(ltlib): $(LTOBJS)
+ $(LTLINK) -o $@ $(LTOBJS) $(SHLIB_LINK)
+
+
+##
+## INSTALL
+##
+
+.PHONY: install-lib install-lib-static install-lib-shared installdirs-lib install-lib-la
+install-lib install-static-lib install-shared-lib: install-lib-la
+
+install-lib-la: $(ltlib)
+ifeq ($(shmodule),yes)
+ $(INSTALL_LTLIB) $< $(DESTDIR)$(pkglibdir)/$(shlib)
+else
+ $(INSTALL_LTLIB) $< $(DESTDIR)$(libdir)/$(ltlib)
+endif
+
+installdirs-lib:
+ifeq ($(shmodule),yes)
+ $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'
+else
+ $(MKDIR_P) '$(DESTDIR)$(libdir)'
+endif
+
+
+##
+## UNINSTALL
+##
+
+.PHONY: uninstall-lib
+uninstall-lib:
+ $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(ltlib)
+
+
+##
+## CLEAN
+##
+
+.PHONY: clean-lib
+clean-lib:
+ $(LIBTOOL) --mode=clean rm -f $(ltlib) $(LTOBJS)
diff --git a/databases/postgresql90/files/dynloader-ltdl.h b/databases/postgresql90/files/dynloader-ltdl.h
new file mode 100644
index 00000000000..570bb916621
--- /dev/null
+++ b/databases/postgresql90/files/dynloader-ltdl.h
@@ -0,0 +1,17 @@
+/* $NetBSD: dynloader-ltdl.h,v 1.1.1.1 2010/09/21 07:50:46 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/postgresql90/options.mk b/databases/postgresql90/options.mk
new file mode 100644
index 00000000000..e5625508fb4
--- /dev/null
+++ b/databases/postgresql90/options.mk
@@ -0,0 +1,36 @@
+# $NetBSD: options.mk,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $
+
+PKG_SUPPORTED_OPTIONS+= # empty
+
+.include "../../mk/bsd.options.mk"
+
+###
+### 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:Mkrb5)
+. include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ARGS+= --with-krb5
+.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
diff --git a/databases/postgresql90/patches/patch-aa b/databases/postgresql90/patches/patch-aa
new file mode 100644
index 00000000000..407788bca45
--- /dev/null
+++ b/databases/postgresql90/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $
+
+--- config/perl.m4.orig 2010-02-23 18:35:06.000000000 +0000
++++ config/perl.m4
+@@ -57,9 +57,7 @@ AC_DEFUN([PGAC_CHECK_PERL_CONFIGS],
+ AC_DEFUN([PGAC_CHECK_PERL_EMBED_LDFLAGS],
+ [AC_REQUIRE([PGAC_PATH_PERL])
+ AC_MSG_CHECKING(for flags to link embedded Perl)
+-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`
+ AC_SUBST(perl_embed_ldflags)dnl
+ if test -z "$perl_embed_ldflags" ; then
+ AC_MSG_RESULT(no)
diff --git a/databases/postgresql90/patches/patch-ab b/databases/postgresql90/patches/patch-ab
new file mode 100644
index 00000000000..daef8f5f644
--- /dev/null
+++ b/databases/postgresql90/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $
+
+--- configure.orig 2010-08-27 03:04:37.000000000 +0000
++++ configure
+@@ -2192,6 +2192,7 @@ case $host_os in
+ darwin*) template=darwin ;;
+ dgux*) template=dgux ;;
+ freebsd*) template=freebsd ;;
++ dragonfly*) template=dragonfly ;;
+ hpux*) template=hpux ;;
+ irix*) template=irix ;;
+ linux*|gnu*|k*bsd*-gnu)
+@@ -6925,9 +6926,7 @@ $as_echo "$perl_useshrplib" >&6; }
+
+ { $as_echo "$as_me:$LINENO: checking for flags to link embedded Perl" >&5
+ $as_echo_n "checking for flags to link embedded Perl... " >&6; }
+-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`
+ if test -z "$perl_embed_ldflags" ; then
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+ $as_echo "no" >&6; }
diff --git a/databases/postgresql90/patches/patch-ac b/databases/postgresql90/patches/patch-ac
new file mode 100644
index 00000000000..d5b19907bfe
--- /dev/null
+++ b/databases/postgresql90/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $
+
+--- src/backend/Makefile.orig 2010-07-05 18:54:37.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
diff --git a/databases/postgresql90/patches/patch-ad b/databases/postgresql90/patches/patch-ad
new file mode 100644
index 00000000000..fd6ebf67a56
--- /dev/null
+++ b/databases/postgresql90/patches/patch-ad
@@ -0,0 +1,21 @@
+$NetBSD: patch-ad,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $
+
+--- src/pl/plperl/GNUmakefile.orig 2010-09-21 07:39:30.000000000 +0000
++++ src/pl/plperl/GNUmakefile
+@@ -54,7 +54,6 @@ PSQLDIR = $(bindir)
+
+ include $(top_srcdir)/src/Makefile.shlib
+
+-plperl.o: perlchunks.h plperl_opmask.h
+
+ plperl_opmask.h: plperl_opmask.pl
+ $(PERL) $< $@
+@@ -62,7 +61,7 @@ plperl_opmask.h: plperl_opmask.pl
+ perlchunks.h: $(PERLCHUNKS)
+ $(PERL) $(srcdir)/text2macro.pl --strip='^(\#.*|\s*)$$' $^ > $@
+
+-all: all-lib
++all: perlchunks.h plperl_opmask.h all-lib
+
+ SPI.c: SPI.xs
+ $(PERL) $(perl_privlibexp)/ExtUtils/xsubpp -typemap $(perl_privlibexp)/ExtUtils/typemap $< >$@
diff --git a/databases/postgresql90/patches/patch-af b/databases/postgresql90/patches/patch-af
new file mode 100644
index 00000000000..a5e87e12d8b
--- /dev/null
+++ b/databases/postgresql90/patches/patch-af
@@ -0,0 +1,31 @@
+$NetBSD: patch-af,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $
+
+--- src/timezone/localtime.c.orig 2009-06-11 16:49:15.000000000 +0200
++++ src/timezone/localtime.c
+@@ -80,20 +80,20 @@ static pg_time_t detzcode64(const char *
+ static int differ_by_repeat(pg_time_t t1, pg_time_t t0);
+ static const char *getzname(const char *strp);
+ static const char *getqzname(const char *strp, int delim);
+-static const char *getnum(const char *strp, int *nump, int min, int max);
++static const char *getnum(const char *strp, int *nump, const int min, const int max);
+ static const char *getsecs(const char *strp, long *secsp);
+ static const char *getoffset(const char *strp, long *offsetp);
+ static const char *getrule(const char *strp, struct rule * rulep);
+ static void gmtload(struct state * sp);
+-static struct pg_tm *gmtsub(const pg_time_t *timep, long offset,
++static struct pg_tm *gmtsub(const pg_time_t *timep, const long offset,
+ struct pg_tm * tmp);
+-static struct pg_tm *localsub(const pg_time_t *timep, long offset,
++static struct pg_tm *localsub(const pg_time_t *timep, const long offset,
+ struct pg_tm * tmp, const pg_tz *tz);
+ static int increment_overflow(int *number, int delta);
+-static pg_time_t transtime(pg_time_t janfirst, int year,
+- const struct rule * rulep, long offset);
++static pg_time_t transtime(pg_time_t janfirst, const int year,
++ const struct rule * rulep, const long offset);
+ static int typesequiv(const struct state * sp, int a, int b);
+-static struct pg_tm *timesub(const pg_time_t *timep, long offset,
++static struct pg_tm *timesub(const pg_time_t *timep, const long offset,
+ const struct state * sp, struct pg_tm * tmp);
+
+ /* GMT timezone */
diff --git a/databases/postgresql90/patches/patch-ag b/databases/postgresql90/patches/patch-ag
new file mode 100644
index 00000000000..61edf481ecc
--- /dev/null
+++ b/databases/postgresql90/patches/patch-ag
@@ -0,0 +1,15 @@
+$NetBSD: patch-ag,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $
+
+--- src/timezone/private.h.orig 2009-06-11 16:49:15.000000000 +0200
++++ src/timezone/private.h
+@@ -51,8 +51,8 @@ extern int unlink(const char *filename);
+ extern char *icalloc(int nelem, int elsize);
+ extern char *icatalloc(char *old, const char *new);
+ extern char *icpyalloc(const char *string);
+-extern char *imalloc(int n);
+-extern void *irealloc(void *pointer, int size);
++extern char *imalloc(const int n);
++extern void *irealloc(void *pointer, const int size);
+ extern void icfree(char *pointer);
+ extern void ifree(char *pointer);
+ extern const char *scheck(const char *string, const char *format);
diff --git a/databases/postgresql90/patches/patch-ah b/databases/postgresql90/patches/patch-ah
new file mode 100644
index 00000000000..78fd6c4069a
--- /dev/null
+++ b/databases/postgresql90/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $
+
+--- src/timezone/strftime.c.orig 2009-06-11 16:49:15.000000000 +0200
++++ src/timezone/strftime.c
+@@ -89,7 +89,7 @@ static const struct lc_time_T C_time_loc
+ };
+
+ static char *_add(const char *, char *, const char *);
+-static char *_conv(int, const char *, char *, const char *);
++static char *_conv(const int, const char *, char *, const char *);
+ static char *_fmt(const char *, const struct pg_tm *, char *,
+ const char *, int *);
+ static char *_yconv(const int, const int, const int, const int,
diff --git a/databases/postgresql90/patches/patch-ai b/databases/postgresql90/patches/patch-ai
new file mode 100644
index 00000000000..93b08f191c9
--- /dev/null
+++ b/databases/postgresql90/patches/patch-ai
@@ -0,0 +1,78 @@
+$NetBSD: patch-ai,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $
+
+--- src/timezone/zic.c.orig 2010-03-16 07:17:04.000000000 +0000
++++ src/timezone/zic.c
+@@ -120,51 +120,51 @@ struct zone
+
+ extern int link(const char *fromname, const char *toname);
+ static void addtt(const pg_time_t starttime, int type);
+-static int addtype(long gmtoff, const char *abbr, int isdst,
+- int ttisstd, int ttisgmt);
+-static void leapadd(const pg_time_t t, int positive, int rolling, int count);
++static int addtype(const long gmtoff, const char *abbr, const int isdst,
++ const int ttisstd, const int ttisgmt);
++static void leapadd(const pg_time_t t, const int positive, const int rolling, int count);
+ static void adjleap(void);
+ static void associate(void);
+ static int ciequal(const char *ap, const char *bp);
+-static void convert(long val, char *buf);
++static void convert(const long val, char *buf);
+ static void dolink(const char *fromfile, const char *tofile);
+ static void doabbr(char *abbr, const char *format,
+- const char *letters, int isdst, int doquotes);
+-static void eat(const char *name, int num);
+-static void eats(const char *name, int num,
+- const char *rname, int rnum);
+-static long eitol(int i);
++ const char *letters, const int isdst, int doquotes);
++static void eat(const char *name, const int num);
++static void eats(const char *name, const int num,
++ const char *rname, const int rnum);
++static long eitol(const int i);
+ static void error(const char *message);
+ static char **getfields(char *buf);
+ static long gethms(const char *string, const char *errstrng,
+- int signable);
++ const int signable);
+ static void infile(const char *filename);
+-static void inleap(char **fields, int nfields);
+-static void inlink(char **fields, int nfields);
+-static void inrule(char **fields, int nfields);
+-static int inzcont(char **fields, int nfields);
+-static int inzone(char **fields, int nfields);
+-static int inzsub(char **fields, int nfields, int iscont);
++static void inleap(char **fields, const int nfields);
++static void inlink(char **fields, const int nfields);
++static void inrule(char **fields, const int nfields);
++static int inzcont(char **fields, const int nfields);
++static int inzone(char **fields, const int nfields);
++static int inzsub(char **fields, const int nfields, const int iscont);
+ static int itsabbr(const char *abbr, const char *word);
+ static int itsdir(const char *name);
+ static int lowerit(int c);
+ static char *memcheck(char *tocheck);
+ static int mkdirs(char *filename);
+ static void newabbr(const char *abbr);
+-static long oadd(long t1, long t2);
+-static void outzone(const struct zone * zp, int ntzones);
+-static void puttzcode(long code, FILE *fp);
++static long oadd(const long t1, const long t2);
++static void outzone(const struct zone * zp, const int ntzones);
++static void puttzcode(const long code, FILE *fp);
+ static int rcomp(const void *leftp, const void *rightp);
+-static pg_time_t rpytime(const struct rule * rp, int wantedy);
++static pg_time_t rpytime(const struct rule * rp, const int wantedy);
+ static void rulesub(struct rule * rp,
+ const char *loyearp, const char *hiyearp,
+ const char *typep, const char *monthp,
+ const char *dayp, const char *timep);
+ static void setboundaries(void);
+-static pg_time_t tadd(const pg_time_t t1, long t2);
++static pg_time_t tadd(const pg_time_t t1, const long t2);
+ static void usage(FILE *stream, int status);
+ static void writezone(const char *name, const char *string);
+-static int yearistype(int year, const char *type);
++static int yearistype(const int year, const char *type);
+
+ static int charcnt;
+ static int errors;
diff --git a/databases/postgresql90/patches/patch-an b/databases/postgresql90/patches/patch-an
new file mode 100644
index 00000000000..82b09d223f1
--- /dev/null
+++ b/databases/postgresql90/patches/patch-an
@@ -0,0 +1,13 @@
+$NetBSD: patch-an,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $
+
+--- src/interfaces/ecpg/test/Makefile.regress.orig 2010-07-05 18:54:38.000000000 +0000
++++ src/interfaces/ecpg/test/Makefile.regress
+@@ -8,7 +8,7 @@ override LIBS := -lecpg -lpgtypes $(filt
+ ECPG = ../../preproc/ecpg --regression -I$(srcdir)/../../include
+
+ %: %.c
+- $(CC) $(CPPFLAGS) $(CFLAGS) $^ $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@
++ ${LIBTOOL} --mode=link $(CC) $(CPPFLAGS) $(CFLAGS) $^ $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@
+
+ %.c: %.pgc ../regression.h
+ $(ECPG) -o $@ -I$(srcdir) $<
diff --git a/databases/postgresql90/patches/patch-ao b/databases/postgresql90/patches/patch-ao
new file mode 100644
index 00000000000..ee686c80cff
--- /dev/null
+++ b/databases/postgresql90/patches/patch-ao
@@ -0,0 +1,13 @@
+$NetBSD: patch-ao,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $
+
+--- contrib/dblink/dblink.c.orig 2010-07-06 19:18:54.000000000 +0000
++++ contrib/dblink/dblink.c
+@@ -59,7 +59,7 @@
+ #include "utils/array.h"
+ #include "utils/builtins.h"
+ #include "utils/dynahash.h"
+-#include "utils/fmgroids.h"
++#include "postgresql/server/utils/fmgroids.h"
+ #include "utils/hsearch.h"
+ #include "utils/lsyscache.h"
+ #include "utils/memutils.h"