summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2006-12-09 15:34:13 +0000
committeradam <adam@pkgsrc.org>2006-12-09 15:34:13 +0000
commit4114b9ec4faafb281204b43ea9bf11c859cd45e4 (patch)
tree23d35fae2cbc526b75353b476806d5fe4a3ec1fb
parentb203a8d567b8304825662f2f72fd8522d284b650 (diff)
downloadpkgsrc-4114b9ec4faafb281204b43ea9bf11c859cd45e4.tar.gz
Changes 8.2.0:
* Query language enhancements including "INSERT/UPDATE/DELETE RETURNING", multirow VALUES lists, and optional target-table alias in "UPDATE"/"DELETE" * Index creation without blocking concurrent "INSERT"/"UPDATE"/"DELETE" operations * Many query optimization improvements, including support for reordering outer joins * Improved sorting performance with lower memory usage * More efficient locking with better concurrency * More efficient vacuuming * Easier administration of warm standby servers * New FILLFACTOR support for tables and indexes * Monitoring, logging, and performance tuning additions * More control over creating and dropping objects * Table inheritance relationships can be defined for and removed from pre-existing tables * "COPY TO" can copy the output of an arbitrary "SELECT" statement * Array improvements, including nulls in arrays * Aggregate-function improvements, including multiple-input aggregates and SQL:2003 statistical functions * Many "contrib/" improvements
-rw-r--r--databases/postgresql82-client/DESCR9
-rw-r--r--databases/postgresql82-client/Makefile90
-rw-r--r--databases/postgresql82-client/PLIST1526
-rw-r--r--databases/postgresql82-client/buildlink3.mk34
-rw-r--r--databases/postgresql82-server/DEINSTALL20
-rw-r--r--databases/postgresql82-server/DESCR9
-rw-r--r--databases/postgresql82-server/MESSAGE19
-rw-r--r--databases/postgresql82-server/Makefile93
-rw-r--r--databases/postgresql82-server/PLIST649
-rw-r--r--databases/postgresql82-server/files/pgsql.sh144
-rw-r--r--databases/postgresql82/DESCR9
-rw-r--r--databases/postgresql82/Makefile19
-rw-r--r--databases/postgresql82/Makefile.common175
-rw-r--r--databases/postgresql82/Makefile.mirrors101
-rw-r--r--databases/postgresql82/PLIST2
-rw-r--r--databases/postgresql82/distinfo19
-rw-r--r--databases/postgresql82/files/GNUmakefile.libpq20
-rw-r--r--databases/postgresql82/files/Makefile.custom42
-rw-r--r--databases/postgresql82/files/Makefile.libtool120
-rw-r--r--databases/postgresql82/files/dynloader-ltdl.h17
-rw-r--r--databases/postgresql82/options.mk13
-rw-r--r--databases/postgresql82/patches/patch-aa14
-rw-r--r--databases/postgresql82/patches/patch-ab23
-rw-r--r--databases/postgresql82/patches/patch-ac15
-rw-r--r--databases/postgresql82/patches/patch-ad79
-rw-r--r--databases/postgresql82/patches/patch-ae45
-rw-r--r--databases/postgresql82/patches/patch-af30
-rw-r--r--databases/postgresql82/patches/patch-ag15
-rw-r--r--databases/postgresql82/patches/patch-ah13
-rw-r--r--databases/postgresql82/patches/patch-ai80
-rw-r--r--databases/postgresql82/patches/patch-aj30
-rw-r--r--databases/postgresql82/patches/patch-ak30
-rw-r--r--databases/postgresql82/patches/patch-al29
-rw-r--r--databases/postgresql82/patches/patch-am39
-rw-r--r--databases/postgresql82/patches/patch-an13
35 files changed, 3585 insertions, 0 deletions
diff --git a/databases/postgresql82-client/DESCR b/databases/postgresql82-client/DESCR
new file mode 100644
index 00000000000..a485664e6f1
--- /dev/null
+++ b/databases/postgresql82-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/postgresql82-client/Makefile b/databases/postgresql82-client/Makefile
new file mode 100644
index 00000000000..25bea98e8d6
--- /dev/null
+++ b/databases/postgresql82-client/Makefile
@@ -0,0 +1,90 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/12/09 15:34:59 adam Exp $
+
+PKGNAME= postgresql82-client-${BASE_VERS}
+COMMENT= PostgreSQL database client programs
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../databases/postgresql82/Makefile.common"
+
+USE_TOOLS+= gzip tar
+USE_LIBTOOL= yes
+CONFIGURE_ARGS+= --with-openssl
+CONFIGURE_ARGS+= --with-readline
+CONFIGURE_ARGS+= --with-zlib
+
+CONFLICTS+= postgresql82-lib-[0-9]*
+CONFLICTS+= postgresql82-docs-[0-9]*
+
+# 1. The thread-safety test in ${WRSRC}/src/tools/thread does not pass on
+# NetBSD (missing strerror_r) or DragonFly.
+# 2. configure with --enable-thread-safety fails on OpenBSD.
+#
+.if ${OPSYS} == "NetBSD" || ${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
+
+INSTALL_DIRS= src/include
+INSTALL_DIRS+= src/interfaces
+INSTALL_DIRS+= src/bin
+INSTALL_DIRS+= doc
+
+BUILD_DIRS= ${INSTALL_DIRS}
+
+# Without this, the Darwin build fails (related to -bundle_loader).
+BUILD_DIRS+= src/backend
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql82-client
+.include "../../databases/postgresql82/options.mk"
+
+.for _file_ in pg_service.conf psqlrc
+CONF_FILES+= ${PG_DATA_DIR}/${_file_}.sample ${PG_ETC_DIR}/${_file_}
+.endfor
+.if !empty(PG_SUBPREFIX)
+PLIST_SUBST+= PG_DIRRM_SUBPREFIX="@dirrm ${PG_SUBPREFIX}"
+.else
+PLIST_SUBST+= PG_DIRRM_SUBPREFIX="@comment empty line"
+.endif
+
+# 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"
+
+# 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
+
+pre-build:
+ ${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} \
+ cd ${WRKSRC}/src/backend && \
+ env ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} \
+ ../../src/include/parser/parse.h \
+ ../../src/include/utils/fmgroids.h
+
+post-install:
+ 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
+ cp -R ${WRKSRC}/doc/TODO.detail ${DESTDIR}${PG_DOC_DIR}
+ chown -R ${DOCOWN}:${DOCGRP} ${DESTDIR}${PG_DOC_DIR}/TODO.detail
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql82-client/PLIST b/databases/postgresql82-client/PLIST
new file mode 100644
index 00000000000..cbd4b2b700e
--- /dev/null
+++ b/databases/postgresql82-client/PLIST
@@ -0,0 +1,1526 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/12/09 15:35:02 adam Exp $
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/af/LC_MESSAGES/libpq.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/initdb.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/libpq.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/pg_config.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/pg_ctl.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/pg_dump.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/pg_resetxlog.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/pgscripts.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/psql.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/de/LC_MESSAGES/initdb.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/de/LC_MESSAGES/libpq.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/de/LC_MESSAGES/pg_config.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/de/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/de/LC_MESSAGES/pg_ctl.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/de/LC_MESSAGES/pg_dump.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/de/LC_MESSAGES/pg_resetxlog.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/de/LC_MESSAGES/pgscripts.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/de/LC_MESSAGES/psql.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/es/LC_MESSAGES/initdb.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/es/LC_MESSAGES/libpq.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/es/LC_MESSAGES/pg_config.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/es/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/es/LC_MESSAGES/pg_ctl.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/es/LC_MESSAGES/pg_dump.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/es/LC_MESSAGES/pg_resetxlog.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/es/LC_MESSAGES/pgscripts.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/es/LC_MESSAGES/psql.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/fa/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/fa/LC_MESSAGES/psql.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/initdb.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/libpq.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/pg_config.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/pg_ctl.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/pg_dump.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/pg_resetxlog.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/pgscripts.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/psql.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/hr/LC_MESSAGES/libpq.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/pg_resetxlog.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/psql.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/it/LC_MESSAGES/initdb.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/it/LC_MESSAGES/libpq.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/it/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/it/LC_MESSAGES/pg_dump.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/it/LC_MESSAGES/pg_resetxlog.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/it/LC_MESSAGES/pgscripts.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/it/LC_MESSAGES/psql.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/initdb.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/libpq.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/pg_config.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/pg_ctl.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/pg_dump.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/pg_resetxlog.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/pgscripts.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/psql.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/nb/LC_MESSAGES/libpq.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/nb/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/nb/LC_MESSAGES/pg_dump.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/nb/LC_MESSAGES/pg_resetxlog.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/nb/LC_MESSAGES/psql.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/initdb.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/libpq.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/pg_config.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/initdb.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/libpq.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/pg_config.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/pg_ctl.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/pg_dump.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/pg_resetxlog.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/pgscripts.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/psql.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/initdb.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/pg_config.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/pg_ctl.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/pg_dump.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/pg_resetxlog.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/pgscripts.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/psql.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/initdb.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/libpq.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/pg_config.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/pg_ctl.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/pg_dump.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/pg_resetxlog.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/pgscripts.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/psql.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/initdb.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/libpq.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/pg_ctl.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/pg_dump.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/pg_resetxlog.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/pgscripts.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/psql.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/initdb.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/libpq.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/pg_config.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/pg_ctl.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/pg_dump.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/pg_resetxlog.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/pgscripts.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/psql.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/initdb.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/libpq.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/pg_config.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/pg_ctl.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/pg_dump.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/pg_resetxlog.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/pgscripts.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/psql.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/initdb.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/libpq.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/pg_config.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/pg_ctl.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/pg_dump.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/pg_resetxlog.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/pgscripts.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/psql.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/initdb.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/libpq.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/pg_config.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/pg_ctl.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/pg_dump.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/pg_resetxlog.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/pgscripts.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/psql.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/initdb.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/libpq.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/pg_config.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/pg_controldata.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/pg_ctl.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/pg_dump.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/pg_resetxlog.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/pgscripts.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/psql.mo
+${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/ipcclean
+${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-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/sqlda.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/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/transam.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/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/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_autovacuum.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_database.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_index.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_inherits.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_listener.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_pltemplate.h
+${PG_SUBPREFIX}include/postgresql/server/catalog/pg_proc.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_type.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/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/version.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/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/nodeMaterial.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeMergejoin.h
+${PG_SUBPREFIX}include/postgresql/server/executor/nodeNestloop.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/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/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/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/gramparse.h
+${PG_SUBPREFIX}include/postgresql/server/parser/keywords.h
+${PG_SUBPREFIX}include/postgresql/server/parser/parse.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_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_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/parser.h
+${PG_SUBPREFIX}include/postgresql/server/parser/parsetree.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/postgres.h
+${PG_SUBPREFIX}include/postgresql/server/postgres_ext.h
+${PG_SUBPREFIX}include/postgresql/server/postgres_fe.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/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/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/ipc.h
+${PG_SUBPREFIX}include/postgresql/server/storage/item.h
+${PG_SUBPREFIX}include/postgresql/server/storage/itemid.h
+${PG_SUBPREFIX}include/postgresql/server/storage/itempos.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/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/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/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/builtins.h
+${PG_SUBPREFIX}include/postgresql/server/utils/cash.h
+${PG_SUBPREFIX}include/postgresql/server/utils/catcache.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/flatfiles.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/portal.h
+${PG_SUBPREFIX}include/postgresql/server/utils/ps_status.h
+${PG_SUBPREFIX}include/postgresql/server/utils/rel.h
+${PG_SUBPREFIX}include/postgresql/server/utils/relcache.h
+${PG_SUBPREFIX}include/postgresql/server/utils/resowner.h
+${PG_SUBPREFIX}include/postgresql/server/utils/selfuncs.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/varbit.h
+${PG_SUBPREFIX}include/sql3types.h
+${PG_SUBPREFIX}include/sqlca.h
+${PG_SUBPREFIX}lib/libecpg.la
+${PG_SUBPREFIX}lib/libecpg_compat.la
+${PG_SUBPREFIX}lib/libpgtypes.la
+${PG_SUBPREFIX}lib/libpq.la
+${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/ipcclean.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/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_domain.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_operator.7
+${PG_SUBPREFIX}man/man7/alter_operator_class.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_table.7
+${PG_SUBPREFIX}man/man7/alter_tablespace.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/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_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_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_table.7
+${PG_SUBPREFIX}man/man7/create_table_as.7
+${PG_SUBPREFIX}man/man7/create_tablespace.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_view.7
+${PG_SUBPREFIX}man/man7/deallocate.7
+${PG_SUBPREFIX}man/man7/declare.7
+${PG_SUBPREFIX}man/man7/delete.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_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_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_table.7
+${PG_SUBPREFIX}man/man7/drop_tablespace.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_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/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}share/doc/postgresql/FAQ
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_AIX
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_CYGWIN
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_DEV
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_HPUX
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_IRIX
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_MINGW
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_SCO
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_Solaris
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_brazilian
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_chinese
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_czech
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_farsi
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_french
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_german
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_hungarian
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_japanese
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_polish
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_russian
+${PG_SUBPREFIX}share/doc/postgresql/FAQ_turkish
+${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/TODO.detail/README
+${PG_SUBPREFIX}share/doc/postgresql/TODO.detail/locale
+${PG_SUBPREFIX}share/doc/postgresql/TODO.detail/merge
+${PG_SUBPREFIX}share/doc/postgresql/TODO.detail/pg_upgrade
+${PG_SUBPREFIX}share/doc/postgresql/TODO.detail/pitr
+${PG_SUBPREFIX}share/doc/postgresql/TODO.detail/psql
+${PG_SUBPREFIX}share/doc/postgresql/TODO.detail/thread
+${PG_SUBPREFIX}share/doc/postgresql/TODO.detail/timezone
+${PG_SUBPREFIX}share/doc/postgresql/TODO.detail/wal
+${PG_SUBPREFIX}share/doc/postgresql/TODO.detail/walcontrol
+${PG_SUBPREFIX}share/doc/postgresql/TODO.detail/win32intr
+${PG_SUBPREFIX}share/doc/postgresql/bug.template
+${PG_SUBPREFIX}share/doc/postgresql/html/LEGALNOTICE.html
+${PG_SUBPREFIX}share/doc/postgresql/html/admin.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-ipcclean.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/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/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/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-autovacuum.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-depend.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-description.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.html
+${PG_SUBPREFIX}share/doc/postgresql/html/catalog-pg-listener.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-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-type.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/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/creating-cluster.html
+${PG_SUBPREFIX}share/doc/postgresql/html/cvs-tree.html
+${PG_SUBPREFIX}share/doc/postgresql/html/cvs.html
+${PG_SUBPREFIX}share/doc/postgresql/html/cvsup.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-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-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-keywords.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datetime-units-history.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/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/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-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-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.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/high-availability.html
+${PG_SUBPREFIX}share/doc/postgresql/html/history.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-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-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-triggers.html
+${PG_SUBPREFIX}share/doc/postgresql/html/infoschema-usage-privileges.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.html
+${PG_SUBPREFIX}share/doc/postgresql/html/installation.html
+${PG_SUBPREFIX}share/doc/postgresql/html/internals.html
+${PG_SUBPREFIX}share/doc/postgresql/html/intro-whatis.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-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/locale.html
+${PG_SUBPREFIX}share/doc/postgresql/html/locking-indexes.html
+${PG_SUBPREFIX}share/doc/postgresql/html/logfile-maintenance.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/notation.html
+${PG_SUBPREFIX}share/doc/postgresql/html/overview.html
+${PG_SUBPREFIX}share/doc/postgresql/html/parser-stage.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/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-data.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plperl-database.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-missing.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.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-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-database.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpython-funcs.html
+${PG_SUBPREFIX}share/doc/postgresql/html/plpython-trigger.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/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.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.html
+${PG_SUBPREFIX}share/doc/postgresql/html/query-path.html
+${PG_SUBPREFIX}share/doc/postgresql/html/querytree.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-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-2.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-2.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-2.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-2.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.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2.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/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/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.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.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.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-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-alterdomain.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-alteropclass.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alteroperator.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-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-altertype.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-alteruser.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-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-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-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-createtype.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-createuser.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-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-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-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-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-droptype.html
+${PG_SUBPREFIX}share/doc/postgresql/html/sql-dropuser.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-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/storage-file-layout.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.html
+${PG_SUBPREFIX}share/doc/postgresql/html/stylesheet.css
+${PG_SUBPREFIX}share/doc/postgresql/html/supported-platforms.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/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.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/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/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.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-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.html
+${PG_SUBPREFIX}share/doc/postgresql/html/x71105.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/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
+${PG_SUBPREFIX}share/postgresql/pg_service.conf.sample
+${PG_SUBPREFIX}share/postgresql/psqlrc.sample
+@dirrm ${PG_SUBPREFIX}share/postgresql
+@dirrm ${PG_SUBPREFIX}share/doc/postgresql/html
+@dirrm ${PG_SUBPREFIX}share/doc/postgresql/TODO.detail
+@dirrm ${PG_SUBPREFIX}share/doc/postgresql
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/utils
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/tcop
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/storage
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/rewrite
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/regex
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/port/win32/sys
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/port/win32/netinet
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/port/win32/arpa
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/port/win32
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/port
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/parser
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/optimizer
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/nodes
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/mb
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/libpq
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/lib
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/executor
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/commands
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/catalog
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/bootstrap
+@dirrm ${PG_SUBPREFIX}include/postgresql/server/access
+@dirrm ${PG_SUBPREFIX}include/postgresql/server
+@dirrm ${PG_SUBPREFIX}include/postgresql/internal/libpq
+@dirrm ${PG_SUBPREFIX}include/postgresql/internal
+@dirrm ${PG_SUBPREFIX}include/postgresql/informix/esql
+@dirrm ${PG_SUBPREFIX}include/postgresql/informix
+@dirrm ${PG_SUBPREFIX}include/postgresql
+@dirrm ${PG_SUBPREFIX}include/libpq
+${PG_DIRRM_SUBPREFIX}
+${PG_SUBPREFIX}share/locale/nb/LC_MESSAGES/pg_config.mo
diff --git a/databases/postgresql82-client/buildlink3.mk b/databases/postgresql82-client/buildlink3.mk
new file mode 100644
index 00000000000..4fdbf7c6aec
--- /dev/null
+++ b/databases/postgresql82-client/buildlink3.mk
@@ -0,0 +1,34 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/12/09 15:35:02 adam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+POSTGRESQL82_CLIENT_BUILDLINK3_MK:= ${POSTGRESQL82_CLIENT_BUILDLINK3_MK}+
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= postgresql82-client
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npostgresql82-client}
+BUILDLINK_PACKAGES+= postgresql82-client
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}postgresql82-client
+
+.if !empty(POSTGRESQL82_CLIENT_BUILDLINK3_MK:M+)
+BUILDLINK_API_DEPENDS.postgresql82-client+= postgresql82-client>=8.2.0
+BUILDLINK_PKGSRCDIR.postgresql82-client?= ../../databases/postgresql82-client
+
+. if defined(PG_SUBPREFIX) && !empty(PG_SUBPREFIX)
+BUILDLINK_INCDIRS.postgresql82-client?= ${PG_SUBPREFIX}/include
+BUILDLINK_LIBDIRS.postgresql82-client?= ${PG_SUBPREFIX}/lib
+. endif
+
+# This variable contains the libraries need to link most clients.
+BUILDLINK_LDADD.postgresql82-client= -lpq ${BUILDLINK_LDADD.gettext}
+
+BUILDLINK_FILES.postgresql82-client+= bin/pg_config
+.endif # POSTGRESQL82_CLIENT_BUILDLINK3_MK
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/databases/postgresql82-server/DEINSTALL b/databases/postgresql82-server/DEINSTALL
new file mode 100644
index 00000000000..e80f33247f1
--- /dev/null
+++ b/databases/postgresql82-server/DEINSTALL
@@ -0,0 +1,20 @@
+# $NetBSD: DEINSTALL,v 1.1.1.1 2006/12/09 15:34:40 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/postgresql82-server/DESCR b/databases/postgresql82-server/DESCR
new file mode 100644
index 00000000000..68bb2b05748
--- /dev/null
+++ b/databases/postgresql82-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/postgresql82-server/MESSAGE b/databases/postgresql82-server/MESSAGE
new file mode 100644
index 00000000000..f2c5c15c558
--- /dev/null
+++ b/databases/postgresql82-server/MESSAGE
@@ -0,0 +1,19 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2006/12/09 15:34:40 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 8.2 accepts TCP/IP connections on localhost address
+by default.
+
+===========================================================================
diff --git a/databases/postgresql82-server/Makefile b/databases/postgresql82-server/Makefile
new file mode 100644
index 00000000000..44376a0bdef
--- /dev/null
+++ b/databases/postgresql82-server/Makefile
@@ -0,0 +1,93 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/12/09 15:34:40 adam Exp $
+
+PKGNAME= postgresql82-server-${BASE_VERS}
+COMMENT= PostgreSQL database server programs
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+# mips has no TAS implementation
+NOT_FOR_PLATFORM= *-*-mips
+
+.include "../../databases/postgresql82/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/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.postgresql82-server
+PKG_SUPPORTED_OPTIONS= pam
+.include "../../databases/postgresql82/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+= PGUSER PGGROUP PGHOME
+
+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/postgresql82-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:
+ ${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} \
+ cd ${WRKSRC}/src/backend && \
+ env ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} \
+ ../../src/include/parser/parse.h \
+ ../../src/include/utils/fmgroids.h
+ ${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} \
+ cd ${WRKSRC}/src/port && \
+ env ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql82-server/PLIST b/databases/postgresql82-server/PLIST
new file mode 100644
index 00000000000..763526c091d
--- /dev/null
+++ b/databases/postgresql82-server/PLIST
@@ -0,0 +1,649 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/12/09 15:34:40 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/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_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_uhc.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_win.la
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/af/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/de/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/es/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/hr/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/it/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/nb/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/postgres.mo
+${PG_SUBPREFIX}share/examples/rc.d/pgsql
+${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/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/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/San_Juan
+${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/Atka
+${PG_SUBPREFIX}share/postgresql/timezone/America/Atikokan
+${PG_SUBPREFIX}share/postgresql/timezone/America/Bahia
+${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/Vevay
+${PG_SUBPREFIX}share/postgresql/timezone/America/Indiana/Vincennes
+${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/Martinique
+${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/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/Rio_Branco
+${PG_SUBPREFIX}share/postgresql/timezone/America/Rosario
+${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_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/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/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/Katmandu
+${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/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/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/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/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/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/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
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezonesets
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/US
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/SystemV
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/Pacific
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/Mideast
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/Mexico
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/Indian
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/Europe
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/Etc
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/Chile
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/Canada
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/Brazil
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/Australia
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/Atlantic
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/Asia
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/Arctic
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/Antarctica
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/America/North_Dakota
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/America/Kentucky
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/America/Indiana
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/America/Argentina
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/America
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone/Africa
+@dirrm ${PG_SUBPREFIX}share/postgresql/timezone
+@comment in postgresql-client: @dirrm ${PG_SUBPREFIX}share/postgresql
+@dirrm ${PG_SUBPREFIX}lib/postgresql
diff --git a/databases/postgresql82-server/files/pgsql.sh b/databases/postgresql82-server/files/pgsql.sh
new file mode 100644
index 00000000000..0389342ab88
--- /dev/null
+++ b/databases/postgresql82-server/files/pgsql.sh
@@ -0,0 +1,144 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: pgsql.sh,v 1.1.1.1 2006/12/09 15:34:40 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"
+
+ 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
+
+ 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/postgresql82/DESCR b/databases/postgresql82/DESCR
new file mode 100644
index 00000000000..9f6b5b5b0f9
--- /dev/null
+++ b/databases/postgresql82/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/postgresql82/Makefile b/databases/postgresql82/Makefile
new file mode 100644
index 00000000000..2dded510ebe
--- /dev/null
+++ b/databases/postgresql82/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+
+PKGNAME= postgresql82-${BASE_VERS}
+COMMENT= Robust, next generation, object-relational DBMS
+
+DEPENDS+= postgresql82-client>=${BASE_VERS}:../../databases/postgresql82-client
+DEPENDS+= postgresql82-server>=${BASE_VERS}:../../databases/postgresql82-server
+
+.include "Makefile.common"
+
+EXTRACT_ONLY= # empty
+NO_CHECKSUM= yes
+NO_CONFIGURE= yes
+NO_BUILD= yes
+
+do-install: # empty
+do-patch: # empty
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql82/Makefile.common b/databases/postgresql82/Makefile.common
new file mode 100644
index 00000000000..158bf5365e1
--- /dev/null
+++ b/databases/postgresql82/Makefile.common
@@ -0,0 +1,175 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+#
+# This Makefile fragment is included by all PostgreSQL packages built from
+# the main sources of the PostgreSQL distribution except jdbc-postgresql.
+#
+# The PostgreSQL package naming scheme, aside from the obvious piecewise
+# packages, is as follows:
+#
+# <lang>-postgresql client-side interface to PostgreSQL
+# postgresql-<lang> server-side module for PostgreSQL backend
+
+.include "../../databases/postgresql82/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-[0-9]*
+CONFLICTS+= postgresql74-[0-9]*
+CONFLICTS+= postgresql80-[0-9]*
+CONFLICTS+= postgresql81-[0-9]*
+
+DISTINFO_FILE?= ${.CURDIR}/../postgresql82/distinfo
+COMMON_FILESDIR?= ${.CURDIR}/../postgresql82/files
+PATCHDIR?= ${.CURDIR}/../postgresql82/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-postgresql82 when updating version
+#
+DIST_VERS?= 8.2.0
+BASE_VERS?= ${DIST_VERS}
+
+BUILDLINK_API_DEPENDS.postgresql82-client+= postgresql82-client>=${BASE_VERS}
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= bison gmake lex msgfmt
+PKG_SYSCONFSUBDIR= postgresql
+
+# in 7.4.x/8.0.x, this is done by autoconf stuff which has leading whitespace
+USE_PKGLOCALEDIR= yes
+SUBST_CLASSES+= pglocale
+SUBST_FILES.pglocale= configure config/programs.m4
+SUBST_STAGE.pglocale= pre-configure
+SUBST_SED.pglocale= -e 's|\( localedir[ :]*=\).*|\1${PG_LOCALE_DIR}|'
+
+.include "../../mk/bsd.prefs.mk"
+
+PGSQL_TEMPLATE.SunOS= solaris
+PGSQL_TEMPLATE.IRIX= irix5
+.if !defined(PGSQL_TEMPLATE.${OPSYS})
+PGSQL_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_PREFIX= ${PG_PREFIX}
+CONFIGURE_ARGS+= --sysconfdir=${PG_ETC_DIR}
+CONFIGURE_ARGS+= --datadir=${PG_DATA_DIR}
+CONFIGURE_ARGS+= --with-docdir=${PG_DOC_DIR}
+CONFIGURE_ARGS+= --with-template=${PGSQL_TEMPLATE.${OPSYS}}
+CONFIGURE_ARGS+= --without-readline
+CONFIGURE_ARGS+= --without-zlib
+CONFIGURE_ARGS+= --enable-nls
+
+CONFIGURE_ARGS+= --without-java
+CONFIGURE_ARGS+= --without-perl
+CONFIGURE_ARGS+= --without-python
+CONFIGURE_ARGS+= --without-tcl
+
+# Enable Rendezvous on Mac OS X
+.if ${OPSYS} == "Darwin"
+CONFIGURE_ARGS+= --with-rendezvous
+.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"
+
+post-extract:
+ if ${TEST} -d ${WRKSRC}/src; then \
+ rm -f ${WRKSRC}/src/Makefile.custom; \
+ cp -f ${COMMON_FILESDIR}/Makefile.custom \
+ ${WRKSRC}/src/Makefile.custom; \
+ rm -f ${WRKSRC}/src/Makefile.shlib; \
+ cp -f ${COMMON_FILESDIR}/Makefile.libtool \
+ ${WRKSRC}/src/Makefile.shlib; \
+ fi
+ if ${TEST} -d ${WRKSRC}/src/interfaces/libpq; then \
+ rm -f ${WRKSRC}/src/interfaces/libpq/GNUmakefile; \
+ cp -f ${COMMON_FILESDIR}/GNUmakefile.libpq \
+ ${WRKSRC}/src/interfaces/libpq/GNUmakefile; \
+ fi
+ if ${TEST} -d ${WRKSRC}/src/interfaces/libpgtcl; then \
+ rm -f ${WRKSRC}/src/interfaces/libpgtcl/GNUmakefile; \
+ cp -f ${COMMON_FILESDIR}/GNUmakefile.libpgtcl \
+ ${WRKSRC}/src/interfaces/libpgtcl/GNUmakefile; \
+ fi
+.if !empty(USE_LIBLTDL:M[yY][eE][sS])
+ if ${TEST} -d ${WRKSRC}/src/backend/port/dynloader; then \
+ template=${PGSQL_TEMPLATE.${OPSYS}:Q}; \
+ rm -f ${WRKSRC}/src/backend/port/dynloader/$$template.[ch]; \
+ cp -f ${COMMON_FILESDIR}/dynloader-ltdl.h \
+ ${WRKSRC}/src/backend/port/dynloader/$$template.h; \
+ ${ECHO} "static int dummy = 0;" \
+ >${WRKSRC}/src/backend/port/dynloader/$$template.c
+ fi
+.endif
+ if ${TEST} -d ${WRKSRC}/src/template; then \
+ touch ${WRKSRC}/src/template/dragonfly; \
+ fi
+ if ${TEST} -d ${WRKSRC}/src/backend/port/dynloader; then \
+ 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; \
+ fi
+ if ${TEST} -d ${WRKSRC}/src/include/port; then \
+ cp ${WRKSRC}/src/include/port/freebsd.h \
+ ${WRKSRC}/src/include/port/dragonfly.h; \
+ fi
+ if ${TEST} -d ${WRKSRC}/src/makefiles; then \
+ cp ${WRKSRC}/src/makefiles/Makefile.freebsd \
+ ${WRKSRC}/src/makefiles/Makefile.dragonfly; \
+ fi
+
+# 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/postgresql82/Makefile.mirrors b/databases/postgresql82/Makefile.mirrors
new file mode 100644
index 00000000000..19f9ac892cc
--- /dev/null
+++ b/databases/postgresql82/Makefile.mirrors
@@ -0,0 +1,101 @@
+# $NetBSD: Makefile.mirrors,v 1.1.1.1 2006/12/09 15:34:13 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/postgresql82/PLIST b/databases/postgresql82/PLIST
new file mode 100644
index 00000000000..20b389c4bc1
--- /dev/null
+++ b/databases/postgresql82/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+@comment this plist intentionally left empty
diff --git a/databases/postgresql82/distinfo b/databases/postgresql82/distinfo
new file mode 100644
index 00000000000..6ded177f358
--- /dev/null
+++ b/databases/postgresql82/distinfo
@@ -0,0 +1,19 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+
+SHA1 (postgresql-8.2.0.tar.bz2) = 377034c155ebc6a063a1d54069d1a56da4d11f93
+RMD160 (postgresql-8.2.0.tar.bz2) = 2627ffd2ec46ba85fa0edc339fdeaf9359121a9b
+Size (postgresql-8.2.0.tar.bz2) = 12459207 bytes
+SHA1 (patch-aa) = a7112ce2e9fc28f638afcf2e196d3cdc0f4c254d
+SHA1 (patch-ab) = c602b4c381c730368c19fb5ab765c69c7b5573bb
+SHA1 (patch-ac) = cbd302a60d43171854c37171b57ee7bbf1194ad9
+SHA1 (patch-ad) = ce322ef8b279e1e25b4ed018ab975a25e82a69a1
+SHA1 (patch-ae) = 8b3e47320dfe05d94b769c9b079fd7ca6d26f5d6
+SHA1 (patch-af) = 89cb9318946cb7c34ad79dbae107ce66bd1c5022
+SHA1 (patch-ag) = 402d5d211af99efdfa35677299c97e91e14ed85d
+SHA1 (patch-ah) = 3640573195f66a46c37d9fca2648d6be39f5593b
+SHA1 (patch-ai) = 6f7f5c1182ded751650e0ae7858c5784dfa96987
+SHA1 (patch-aj) = 0ffb4c0aa8a32a61cd753d0e7cf67fdc5ae94195
+SHA1 (patch-ak) = 3009e020dc5f9397846dd3339c2bdd15269bb332
+SHA1 (patch-al) = 32818ae8de92ef66d839d4891f4f686db732f7b6
+SHA1 (patch-am) = 507252fc50ce59e1d6f596367f12338a8892bfd2
+SHA1 (patch-an) = ca4caddde9ea68e4f8648f5abf9369e407874702
diff --git a/databases/postgresql82/files/GNUmakefile.libpq b/databases/postgresql82/files/GNUmakefile.libpq
new file mode 100644
index 00000000000..e9496d173dd
--- /dev/null
+++ b/databases/postgresql82/files/GNUmakefile.libpq
@@ -0,0 +1,20 @@
+# $NetBSD: GNUmakefile.libpq,v 1.1.1.1 2006/12/09 15:34:13 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/postgresql82/files/Makefile.custom b/databases/postgresql82/files/Makefile.custom
new file mode 100644
index 00000000000..8940a095016
--- /dev/null
+++ b/databases/postgresql82/files/Makefile.custom
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile.custom,v 1.1.1.1 2006/12/09 15:34:13 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/postgresql82/files/Makefile.libtool b/databases/postgresql82/files/Makefile.libtool
new file mode 100644
index 00000000000..32490195a5a
--- /dev/null
+++ b/databases/postgresql82/files/Makefile.libtool
@@ -0,0 +1,120 @@
+#-------------------------------------------------------------------------
+#
+# Makefile.libtool
+# Common rules for buildling libtool archives
+#
+# IDENTIFICATION
+# $NetBSD: Makefile.libtool,v 1.1.1.1 2006/12/09 15:34:13 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/pl/,$(subdir)))
+shmodule = yes
+else
+shmodule = no
+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
+
+ifeq ($(subdir), src/pl/plpgsql/src)
+pl_gram.lo pl_handler.lo pl_comp.lo pl_exec.lo pl_funcs.lo: plpgsql.h $(srcdir)/pl.tab.h
+pl_gram.lo: $(srcdir)/pl_scan.c
+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
+
+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 install-lib-la
+install-lib install-static-lib install-shared-lib: install-lib-la
+
+install-lib-la: $(ltlib)
+ $(INSTALL_LTLIB) $< $(DESTDIR)$(libdir)/$(ltlib)
+
+
+##
+## 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/postgresql82/files/dynloader-ltdl.h b/databases/postgresql82/files/dynloader-ltdl.h
new file mode 100644
index 00000000000..807552db4af
--- /dev/null
+++ b/databases/postgresql82/files/dynloader-ltdl.h
@@ -0,0 +1,17 @@
+/* $NetBSD: dynloader-ltdl.h,v 1.1.1.1 2006/12/09 15:34:13 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/postgresql82/options.mk b/databases/postgresql82/options.mk
new file mode 100644
index 00000000000..d540b779953
--- /dev/null
+++ b/databases/postgresql82/options.mk
@@ -0,0 +1,13 @@
+# $NetBSD: options.mk,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+
+PKG_SUPPORTED_OPTIONS+= # empty
+
+.include "../../mk/bsd.options.mk"
+
+###
+### 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/postgresql82/patches/patch-aa b/databases/postgresql82/patches/patch-aa
new file mode 100644
index 00000000000..f50877d2737
--- /dev/null
+++ b/databases/postgresql82/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+
+--- config/perl.m4.orig 2003-11-30 04:51:17.000000000 +0900
++++ config/perl.m4
+@@ -28,8 +28,6 @@ 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 "s/^X//;s%$pgac_tmp2%%"`
++perl_embed_ldflags=`$PERL -MExtUtils::Embed -e ldopts`
+ AC_SUBST(perl_embed_ldflags)dnl
+ AC_MSG_RESULT([$perl_embed_ldflags])])
diff --git a/databases/postgresql82/patches/patch-ab b/databases/postgresql82/patches/patch-ab
new file mode 100644
index 00000000000..4b781eab3cc
--- /dev/null
+++ b/databases/postgresql82/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+
+--- configure.orig 2006-12-02 09:36:39.000000000 +0100
++++ configure
+@@ -1504,6 +1504,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)
+@@ -4899,9 +4900,7 @@ echo "${ECHO_T}$perl_useshrplib" >&6
+
+ echo "$as_me:$LINENO: checking for flags to link embedded Perl" >&5
+ echo $ECHO_N "checking for flags to link embedded Perl... $ECHO_C" >&6
+-pgac_tmp1=`$PERL -MExtUtils::Embed -e ldopts`
+-pgac_tmp2=`$PERL -MConfig -e 'print $Config{ccdlflags}'`
+-perl_embed_ldflags=`echo X"$pgac_tmp1" | sed "s/^X//;s%$pgac_tmp2%%"`
++perl_embed_ldflags=`$PERL -MExtUtils::Embed -e ldopts`
+ echo "$as_me:$LINENO: result: $perl_embed_ldflags" >&5
+ echo "${ECHO_T}$perl_embed_ldflags" >&6
+ fi
diff --git a/databases/postgresql82/patches/patch-ac b/databases/postgresql82/patches/patch-ac
new file mode 100644
index 00000000000..e64abac7451
--- /dev/null
+++ b/databases/postgresql82/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+
+--- src/backend/Makefile.orig 2005-10-28 05:45:29.000000000 +0900
++++ src/backend/Makefile
+@@ -13,6 +13,10 @@ subdir = src/backend
+ top_builddir = ../..
+ include $(top_builddir)/src/Makefile.global
+
++CFLAGS+= $(DL_CFLAGS)
++LDFLAGS+= $(DL_LDFLAGS)
++LIBS+= $(DL_LIBS)
++
+ DIRS := access bootstrap catalog parser commands executor lib libpq \
+ main nodes optimizer port postmaster regex rewrite \
+ storage tcop utils $(top_builddir)/src/timezone
diff --git a/databases/postgresql82/patches/patch-ad b/databases/postgresql82/patches/patch-ad
new file mode 100644
index 00000000000..f44ecac0695
--- /dev/null
+++ b/databases/postgresql82/patches/patch-ad
@@ -0,0 +1,79 @@
+$NetBSD: patch-ad,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+
+--- src/backend/port/dynloader/netbsd.c.orig 2006-03-11 05:38:31.000000000 +0100
++++ src/backend/port/dynloader/netbsd.c
+@@ -46,65 +46,30 @@ static char sccsid[] = "@(#)dl.c 5.4 (Be
+
+ #include "dynloader.h"
+
+-static char error_message[BUFSIZ];
++#ifndef HAVE_DLOPEN
+
+ char *
+-BSD44_derived_dlerror(void)
++pg_dlerror(void)
+ {
+- static char ret[BUFSIZ];
+-
+- strcpy(ret, error_message);
+- error_message[0] = 0;
+- return (ret[0] == 0) ? NULL : ret;
++ return "dynaloader unsupported";
+ }
+
+ void *
+-BSD44_derived_dlopen(const char *file, int num)
++pg_dlopen(const char *file, int num)
+ {
+-#if defined(__mips__)
+- snprintf(error_message, sizeof(error_message),
+- "dlopen (%s) not supported", file);
++ elog(ERROR, "dynamic load not supported");
+ return NULL;
+-#else
+- void *vp;
+-
+- if ((vp = dlopen((char *) file, num)) == NULL)
+- snprintf(error_message, sizeof(error_message),
+- "dlopen (%s) failed: %s", file, dlerror());
+- return vp;
+-#endif
+ }
+
+ void *
+-BSD44_derived_dlsym(void *handle, const char *name)
++pg_dlsym(void *handle, const char *name)
+ {
+-#if defined(__mips__)
+- snprintf(error_message, sizeof(error_message),
+- "dlsym (%s) failed", name);
+ return NULL;
+-#elif defined(__ELF__)
+- return dlsym(handle, name);
+-#else
+- void *vp;
+- char buf[BUFSIZ];
+-
+- if (*name != '_')
+- {
+- snprintf(buf, sizeof(buf), "_%s", name);
+- name = buf;
+- }
+- if ((vp = dlsym(handle, (char *) name)) == NULL)
+- snprintf(error_message, sizeof(error_message),
+- "dlsym (%s) failed", name);
+- return vp;
+-#endif
+ }
+
+ void
+-BSD44_derived_dlclose(void *handle)
++pg_dlclose(void *handle)
+ {
+-#if defined(__mips__)
+-#else
+- dlclose(handle);
+-#endif
+ }
++
++#endif /* ! HAVE_DLOPEN */
diff --git a/databases/postgresql82/patches/patch-ae b/databases/postgresql82/patches/patch-ae
new file mode 100644
index 00000000000..5c0bb2f65d4
--- /dev/null
+++ b/databases/postgresql82/patches/patch-ae
@@ -0,0 +1,45 @@
+$NetBSD: patch-ae,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+
+--- src/backend/port/dynloader/netbsd.h.orig 2005-01-01 07:00:32.000000000 +0900
++++ src/backend/port/dynloader/netbsd.h
+@@ -21,19 +21,7 @@
+
+ #include "utils/dynamic_loader.h"
+
+-/*
+- * Dynamic Loader on NetBSD 1.0.
+- *
+- * this dynamic loader uses the system dynamic loading interface for shared
+- * libraries (ie. dlopen/dlsym/dlclose). The user must specify a shared
+- * library as the file to be dynamically loaded.
+- *
+- * agc - I know this is all a bit crufty, but it does work, is fairly
+- * portable, and works (the stipulation that the d.l. function must
+- * begin with an underscore is fairly tricky, and some versions of
+- * NetBSD (like 1.0, and 1.0A pre June 1995) have no dlerror.)
+- */
+-
++#ifdef HAVE_DLOPEN
+ /*
+ * In some older systems, the RTLD_NOW flag isn't defined and the mode
+ * argument to dlopen must always be 1. The RTLD_GLOBAL flag is wanted
+@@ -47,14 +35,11 @@
+ #define RTLD_GLOBAL 0
+ #endif
+
+-#define pg_dlopen(f) BSD44_derived_dlopen((f), RTLD_NOW | RTLD_GLOBAL)
+-#define pg_dlsym BSD44_derived_dlsym
+-#define pg_dlclose BSD44_derived_dlclose
+-#define pg_dlerror BSD44_derived_dlerror
++#define pg_dlopen(f) dlopen((f), RTLD_NOW | RTLD_GLOBAL)
++#define pg_dlsym dlsym
++#define pg_dlclose dlclose
++#define pg_dlerror dlerror
+
+-char *BSD44_derived_dlerror(void);
+-void *BSD44_derived_dlopen(const char *filename, int num);
+-void *BSD44_derived_dlsym(void *handle, const char *name);
+-void BSD44_derived_dlclose(void *handle);
++#endif /* HAVE_DLOPEN */
+
+ #endif /* PORT_PROTOS_H */
diff --git a/databases/postgresql82/patches/patch-af b/databases/postgresql82/patches/patch-af
new file mode 100644
index 00000000000..7a40cc9c0ee
--- /dev/null
+++ b/databases/postgresql82/patches/patch-af
@@ -0,0 +1,30 @@
+$NetBSD: patch-af,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+
+--- src/timezone/localtime.c.orig 2005-10-15 11:49:51.000000000 +0900
++++ src/timezone/localtime.c
+@@ -77,18 +77,18 @@ struct rule
+
+ static long detzcode(const char *codep);
+ static const char *getzname(const char *strp);
+-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 void gmtsub(const pg_time_t *timep, long offset, struct pg_tm * tmp);
+-static void localsub(const pg_time_t *timep, long offset, struct pg_tm * tmp, const pg_tz *tz);
+-static void timesub(const pg_time_t *timep, long offset,
++static void gmtsub(const pg_time_t *timep, const long offset, struct pg_tm * tmp);
++static void localsub(const pg_time_t *timep, const long offset, struct pg_tm * tmp, const pg_tz *tz);
++static void timesub(const pg_time_t *timep, const long offset,
+ const struct state * sp, struct pg_tm * tmp);
+-static pg_time_t transtime(pg_time_t janfirst, int year,
+- const struct rule * rulep, long offset);
+-int tzparse(const char *name, struct state * sp, int lastditch);
++static pg_time_t transtime(const pg_time_t janfirst, const int year,
++ const struct rule * rulep, const long offset);
++int tzparse(const char *name, struct state * sp, const int lastditch);
+
+ /* GMT timezone */
+ static struct state gmtmem;
diff --git a/databases/postgresql82/patches/patch-ag b/databases/postgresql82/patches/patch-ag
new file mode 100644
index 00000000000..f568ecd8a94
--- /dev/null
+++ b/databases/postgresql82/patches/patch-ag
@@ -0,0 +1,15 @@
+$NetBSD: patch-ag,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+
+--- src/timezone/private.h.orig 2005-02-23 13:34:21.000000000 +0900
++++ src/timezone/private.h
+@@ -66,8 +66,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 char *scheck(const char *string, const char *format);
diff --git a/databases/postgresql82/patches/patch-ah b/databases/postgresql82/patches/patch-ah
new file mode 100644
index 00000000000..1990d32ca32
--- /dev/null
+++ b/databases/postgresql82/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+
+--- src/timezone/strftime.c.orig 2006-07-14 16:52:27.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 *);
+
diff --git a/databases/postgresql82/patches/patch-ai b/databases/postgresql82/patches/patch-ai
new file mode 100644
index 00000000000..d7042d1e14d
--- /dev/null
+++ b/databases/postgresql82/patches/patch-ai
@@ -0,0 +1,80 @@
+$NetBSD: patch-ai,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+
+--- src/timezone/zic.c.orig 2006-10-24 17:11:03.000000000 +0200
++++ src/timezone/zic.c
+@@ -104,52 +104,52 @@ struct zone
+ };
+
+ extern int link(const char *fromname, const char *toname);
+-static void addtt(pg_time_t starttime, int type);
+-static int addtype(long gmtoff, const char *abbr, int isdst,
+- int ttisstd, int ttisgmt);
+-static void leapadd(pg_time_t t, int positive, int rolling, int count);
++static void addtt(const pg_time_t starttime, int type);
++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);
+-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);
++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(pg_time_t t1, long t2);
++static pg_time_t tadd(const pg_time_t t1, const long t2);
+ static void usage(void);
+ static void writezone(const char *name);
+-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/postgresql82/patches/patch-aj b/databases/postgresql82/patches/patch-aj
new file mode 100644
index 00000000000..b7d83d94ff2
--- /dev/null
+++ b/databases/postgresql82/patches/patch-aj
@@ -0,0 +1,30 @@
+$NetBSD: patch-aj,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+
+--- contrib/tsearch2/snowball/Makefile.orig 2006-01-27 17:32:31.000000000 +0100
++++ contrib/tsearch2/snowball/Makefile
+@@ -1,6 +1,6 @@
+ # $PostgreSQL: pgsql/contrib/tsearch2/snowball/Makefile,v 1.9 2006/01/27 16:32:31 teodor Exp $
+
+-SUBOBJS = english_stem.o api.o russian_stem.o russian_stem_UTF8.o utilities.o
++SUBOBJS = english_stem.lo api.lo russian_stem.lo russian_stem_UTF8.lo utilities.lo
+
+ EXTRA_CLEAN = SUBSYS.o $(SUBOBJS)
+
+@@ -14,13 +14,14 @@ subdir = contrib/tsearch2/snowball
+ top_builddir = ../../..
+ include $(top_builddir)/src/Makefile.global
+ include $(top_srcdir)/contrib/contrib-global.mk
++include $(top_srcdir)/src/Makefile.shlib
+ endif
+
+ override CFLAGS += $(CFLAGS_SL)
+
+-all: SUBSYS.o
++all: libSUBSYS.la
+
+-SUBSYS.o: $(SUBOBJS)
+- $(LD) $(LDREL) $(LDOUT) $@ $^
++libSUBSYS.la: $(SUBOBJS)
++ libtool --mode=link ${CC} -o libSUBSYS.la ${SUBOBJS}
+
+
diff --git a/databases/postgresql82/patches/patch-ak b/databases/postgresql82/patches/patch-ak
new file mode 100644
index 00000000000..220f22025d5
--- /dev/null
+++ b/databases/postgresql82/patches/patch-ak
@@ -0,0 +1,30 @@
+$NetBSD: patch-ak,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+
+--- contrib/tsearch2/ispell/Makefile.orig 2006-10-25 12:46:42.000000000 +0000
++++ contrib/tsearch2/ispell/Makefile
+@@ -1,6 +1,6 @@
+ # $PostgreSQL: pgsql/contrib/tsearch2/ispell/Makefile,v 1.9 2005/10/18 01:30:48 tgl Exp $
+
+-SUBOBJS = spell.o regis.o
++SUBOBJS = spell.lo regis.lo
+
+ EXTRA_CLEAN = SUBSYS.o $(SUBOBJS)
+
+@@ -14,13 +14,12 @@ subdir = contrib/tsearch2/ispell
+ top_builddir = ../../..
+ include $(top_builddir)/src/Makefile.global
+ include $(top_srcdir)/contrib/contrib-global.mk
++include $(top_srcdir)/src/Makefile.shlib
+ endif
+
+ override CFLAGS += $(CFLAGS_SL)
+
+-all: SUBSYS.o
+-
+-SUBSYS.o: $(SUBOBJS)
+- $(LD) $(LDREL) $(LDOUT) $@ $^
+-
++all: libSUBSYS.la
+
++libSUBSYS.la: $(SUBOBJS)
++ libtool --mode=link ${CC} -o libSUBSYS.la ${SUBOBJS}
diff --git a/databases/postgresql82/patches/patch-al b/databases/postgresql82/patches/patch-al
new file mode 100644
index 00000000000..9598e09ccb3
--- /dev/null
+++ b/databases/postgresql82/patches/patch-al
@@ -0,0 +1,29 @@
+$NetBSD: patch-al,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+
+--- contrib/tsearch2/wordparser/Makefile.orig 2005-11-21 13:27:57.000000000 +0100
++++ contrib/tsearch2/wordparser/Makefile
+@@ -1,6 +1,6 @@
+ # $PostgreSQL: pgsql/contrib/tsearch2/wordparser/Makefile,v 1.9 2005/11/21 12:27:57 teodor Exp $
+
+-SUBOBJS = parser.o deflex.o
++SUBOBJS = parser.lo deflex.lo
+
+ EXTRA_CLEAN = SUBSYS.o $(SUBOBJS)
+
+@@ -14,13 +14,14 @@ subdir = contrib/tsearch2/wordparser
+ top_builddir = ../../..
+ include $(top_builddir)/src/Makefile.global
+ include $(top_srcdir)/contrib/contrib-global.mk
++include $(top_srcdir)/src/Makefile.shlib
+ endif
+
+ override CFLAGS += $(CFLAGS_SL)
+
+ all: SUBSYS.o
+
+-SUBSYS.o: $(SUBOBJS)
+- $(LD) $(LDREL) $(LDOUT) $@ $^
++libSUBSYS.la: $(SUBOBJS)
++ libtool --mode=link ${CC} -o libSUBSYS.la ${SUBOBJS}
+
+
diff --git a/databases/postgresql82/patches/patch-am b/databases/postgresql82/patches/patch-am
new file mode 100644
index 00000000000..ede92aa57ef
--- /dev/null
+++ b/databases/postgresql82/patches/patch-am
@@ -0,0 +1,39 @@
+$NetBSD: patch-am,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+
+--- contrib/tsearch2/Makefile.orig 2006-09-11 17:14:46.000000000 +0200
++++ contrib/tsearch2/Makefile
+@@ -10,7 +10,7 @@ OBJS = dict_ex.o dict.o snmap.o stopword
+ ts_locale.o ts_lexize.o ginidx.o
+
+ SUBDIRS := snowball ispell wordparser
+-SUBDIROBJS := $(SUBDIRS:%=%/SUBSYS.o)
++SUBDIROBJS := $(SUBDIRS:%=%/libSUBSYS.la)
+
+ OBJS += $(SUBDIROBJS)
+
+@@ -22,7 +22,7 @@ DOCS = README.tsearch2
+ REGRESS = tsearch2
+
+ SHLIB_LINK += $(filter -lm, $(LIBS))
+-
++shmodule=yes
+
+ ifdef USE_PGXS
+ PGXS := $(shell pg_config --pgxs)
+@@ -32,6 +32,7 @@ subdir = contrib/tsearch2
+ top_builddir = ../..
+ include $(top_builddir)/src/Makefile.global
+ include $(top_srcdir)/contrib/contrib-global.mk
++include $(top_builddir)/src/Makefile.shlib
+ endif
+
+
+@@ -40,7 +41,7 @@ $(SUBDIROBJS): $(SUBDIRS:%=%-recursive)
+ .PHONY: $(SUBDIRS:%=%-recursive)
+
+ $(SUBDIRS:%=%-recursive):
+- $(MAKE) -C $(subst -recursive,,$@) SUBSYS.o
++ $(MAKE) -C $(subst -recursive,,$@) libSUBSYS.la
+
+ tsearch2.sql: tsearch.sql.in
+ sed -e 's,MODULE_PATHNAME,$$libdir/$(MODULE_big),g' $< >$@
diff --git a/databases/postgresql82/patches/patch-an b/databases/postgresql82/patches/patch-an
new file mode 100644
index 00000000000..dd842510198
--- /dev/null
+++ b/databases/postgresql82/patches/patch-an
@@ -0,0 +1,13 @@
+$NetBSD: patch-an,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+
+--- src/interfaces/ecpg/test/Makefile.regress.orig 2006-10-22 22:13:37.000000000 +0200
++++ src/interfaces/ecpg/test/Makefile.regress
+@@ -8,7 +8,7 @@ override LIBS := -lecpg -lpgtypes $(libp
+ ECPG = ../../preproc/ecpg -I$(srcdir)/../../include
+
+ %: %.c
+- $(CC) $(CPPFLAGS) $(CFLAGS) $^ $(LDFLAGS) $(LIBS) -o $@
++ ${LIBTOOL} --mode=link $(CC) $(CPPFLAGS) $(CFLAGS) $^ $(LDFLAGS) $(LIBS) -o $@
+
+ %.c: %.pgc ../regression.h
+ $(ECPG) -o $@ -I$(srcdir) $<