summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2006-03-20 14:45:49 +0000
committeruebayasi <uebayasi>2006-03-20 14:45:49 +0000
commit7e0795777da540ef2d3767e04a4b7899e9bb4446 (patch)
tree01f97ba1ec4e22f842ff2ee3d5772cd73553d32a /databases
parent6ba7aa1298b94a0feaa3bb665901c300762d3ffa (diff)
downloadpkgsrc-7e0795777da540ef2d3767e04a4b7899e9bb4446.tar.gz
Initial import of PostgreSQL 8.1.3, from pkgsrc-wip.
This is an overview of new features in 8.1.0 against 8.0.x. 8.1.3 includes many bug fixes since 8.1.0. Please read documentation of the detailed changes and procedure of data migration. Overview Major changes in this release: Improve concurrent access to the shared buffer cache (Tom) Access to the shared buffer cache was identified as a significant scalability problem, particularly on multi-CPU systems. In this release, the way that locking is done in the buffer manager has been overhauled to reduce lock contention and improve scalability. The buffer manager has also been changed to use a "clock sweep" replacement policy. Allow index scans to use an intermediate in-memory bitmap (Tom) In previous releases, only a single index could be used to do lookups on a table. With this feature, if a query has "WHERE tab.col1 = 4 and tab.col2 = 9", and there is no multicolumn index on col1 and col2, but there is an index on col1 and another on col2, it is possible to search both indexes and combine the results in memory, then do heap fetches for only the rows matching both the col1 and col2 restrictions. This is very useful in environments that have a lot of unstructured queries where it is impossible to create indexes that match all possible access conditions. Bitmap scans are useful even with a single index, as they reduce the amount of random access needed; a bitmap index scan is efficient for retrieving fairly large fractions of the complete table, whereas plain index scans are not. Add two-phase commit (Heikki Linnakangas, Alvaro, Tom) Two-phase commit allows transactions to be "prepared" on several computers, and once all computers have successfully prepared their transactions (none failed), all transactions can be committed. Even if a machine crashes after a prepare, the prepared transaction can be committed after the machine is restarted. New syntax includes "PREPARE TRANSACTION" and "COMMIT/ROLLBACK PREPARED". A new system view pg_prepared_xacts has also been added. Create a new role system that replaces users and groups (Stephen Frost) Roles are a combination of users and groups. Like users, they can have login capability, and like groups, a role can have other roles as members. Roles basically remove the distinction between users and groups. For example, a role can: + Have login capability (optionally) + Own objects + Hold access permissions for database objects + Inherit permissions from other roles it is a member of Once a user logs into a role, she obtains capabilities of the login role plus any inherited roles, and can use "SET ROLE" to switch to other roles she is a member of. This feature is a generalization of the SQL standard's concept of roles. This change also replaces pg_shadow and pg_group by new role-capable catalogs pg_authid and pg_auth_members. The old tables are redefined as read-only views on the new role tables. Automatically use indexes for MIN() and MAX() (Tom) In previous releases, the only way to use an index for MIN() or MAX() was to rewrite the query as "SELECT col FROM tab ORDER BY col LIMIT 1". Index usage now happens automatically. Move /contrib/pg_autovacuum into the main server (Alvaro) Integrating autovacuum into the server allows it to be automatically started and stopped in sync with the database server, and allows autovacuum to be configured from "postgresql.conf". Add shared row level locks using SELECT ... FOR SHARE (Alvaro) While PostgreSQL's MVCC locking allows "SELECT" to never be blocked by writers and therefore does not need shared row locks for typical operations, shared locks are useful for applications that require shared row locking. In particular this reduces the locking requirements imposed by referential integrity checks. Add dependencies on shared objects, specifically roles (Alvaro) This extension of the dependency mechanism prevents roles from being dropped while there are still database objects they own. Formerly it was possible to accidentally "orphan" objects by deleting their owner. While this could be recovered from, it was messy and unpleasant. Improve performance for partitioned tables (Simon) The new constraint_exclusion configuration parameter avoids lookups on child tables where constraints indicate that no matching rows exist in the child table. This allows for a basic type of table partitioning. If child tables store separate key ranges and this is enforced using appropriate "CHECK" constraints, the optimizer will skip child table accesses when the constraint guarantees no matching rows exist in the child table.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql81-client/DESCR9
-rw-r--r--databases/postgresql81-client/Makefile101
-rw-r--r--databases/postgresql81-client/PLIST1419
-rw-r--r--databases/postgresql81-client/buildlink3.mk33
-rw-r--r--databases/postgresql81-plperl/DESCR5
-rw-r--r--databases/postgresql81-plperl/MESSAGE7
-rw-r--r--databases/postgresql81-plperl/Makefile22
-rw-r--r--databases/postgresql81-plperl/PLIST2
-rw-r--r--databases/postgresql81-plpython/DESCR9
-rw-r--r--databases/postgresql81-plpython/MESSAGE17
-rw-r--r--databases/postgresql81-plpython/Makefile21
-rw-r--r--databases/postgresql81-plpython/PLIST2
-rw-r--r--databases/postgresql81-pltcl/DESCR4
-rw-r--r--databases/postgresql81-pltcl/MESSAGE7
-rw-r--r--databases/postgresql81-pltcl/Makefile23
-rw-r--r--databases/postgresql81-pltcl/PLIST6
-rw-r--r--databases/postgresql81-server/DEINSTALL20
-rw-r--r--databases/postgresql81-server/DESCR9
-rw-r--r--databases/postgresql81-server/MESSAGE19
-rw-r--r--databases/postgresql81-server/Makefile101
-rw-r--r--databases/postgresql81-server/PLIST640
-rw-r--r--databases/postgresql81-server/files/pgsql.sh144
-rw-r--r--databases/postgresql81/DESCR9
-rw-r--r--databases/postgresql81/Makefile19
-rw-r--r--databases/postgresql81/Makefile.common155
-rw-r--r--databases/postgresql81/Makefile.mirrors101
-rw-r--r--databases/postgresql81/PLIST2
-rw-r--r--databases/postgresql81/distinfo14
-rw-r--r--databases/postgresql81/files/GNUmakefile.libpq20
-rw-r--r--databases/postgresql81/files/Makefile.custom39
-rw-r--r--databases/postgresql81/files/Makefile.libtool120
-rw-r--r--databases/postgresql81/files/dynloader-ltdl.h17
-rw-r--r--databases/postgresql81/options.mk28
-rw-r--r--databases/postgresql81/patches/patch-aa14
-rw-r--r--databases/postgresql81/patches/patch-ab23
-rw-r--r--databases/postgresql81/patches/patch-ac15
-rw-r--r--databases/postgresql81/patches/patch-ad79
-rw-r--r--databases/postgresql81/patches/patch-ae45
-rw-r--r--databases/postgresql81/patches/patch-af30
-rw-r--r--databases/postgresql81/patches/patch-ag15
-rw-r--r--databases/postgresql81/patches/patch-ah13
-rw-r--r--databases/postgresql81/patches/patch-ai80
42 files changed, 3458 insertions, 0 deletions
diff --git a/databases/postgresql81-client/DESCR b/databases/postgresql81-client/DESCR
new file mode 100644
index 00000000000..a485664e6f1
--- /dev/null
+++ b/databases/postgresql81-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/postgresql81-client/Makefile b/databases/postgresql81-client/Makefile
new file mode 100644
index 00000000000..4267ed47085
--- /dev/null
+++ b/databases/postgresql81-client/Makefile
@@ -0,0 +1,101 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/03/20 14:45:50 uebayasi Exp $
+
+PKGNAME= postgresql81-client-${BASE_VERS}
+COMMENT= PostgreSQL database client programs
+
+.include "../../wip/postgresql81/Makefile.common"
+
+USE_TOOLS+= gzip tar
+USE_LIBTOOL= yes
+CONFIGURE_ARGS+= --with-openssl
+CONFIGURE_ARGS+= --with-readline
+CONFIGURE_ARGS+= --with-zlib
+
+CONFLICTS+= postgresql81-lib-*
+CONFLICTS+= postgresql81-docs-*
+
+# 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= ${WRKSRC}/src/include
+INSTALL_DIRS+= ${WRKSRC}/src/interfaces
+INSTALL_DIRS+= ${WRKSRC}/src/bin
+INSTALL_DIRS+= ${WRKSRC}/doc
+
+BUILD_DIRS= ${INSTALL_DIRS}
+
+# Without this, the Darwin build fails (related to -bundle_loader).
+BUILD_DIRS+= ${WRKSRC}/src/backend
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql81-client
+.include "../../wip/postgresql81/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-configure:
+ ${TOUCH} ${WRKSRC}/src/template/dragonfly
+ ${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.c \
+ ${WRKSRC}/src/backend/port/dynloader/dragonfly.c
+ ${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.h \
+ ${WRKSRC}/src/backend/port/dynloader/dragonfly.h
+ ${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.h \
+ ${WRKSRC}/src/backend/port/dynloader/dragonfly.h
+ ${CP} ${WRKSRC}/src/include/port/freebsd.h \
+ ${WRKSRC}/src/include/port/dragonfly.h
+ ${CP} ${WRKSRC}/src/makefiles/Makefile.freebsd \
+ ${WRKSRC}/src/makefiles/Makefile.dragonfly
+
+pre-build:
+ ${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} \
+ cd ${WRKSRC}/src/backend && \
+ ${SETENV} ${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 ${PG_DOC_DIR}/$$file; \
+ done
+ ${CP} -R ${WRKSRC}/doc/TODO.detail ${PG_DOC_DIR}
+ ${CHOWN} -R ${DOCOWN}:${DOCGRP} ${PG_DOC_DIR}/TODO.detail
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql81-client/PLIST b/databases/postgresql81-client/PLIST
new file mode 100644
index 00000000000..086530dc4a2
--- /dev/null
+++ b/databases/postgresql81-client/PLIST
@@ -0,0 +1,1419 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/20 14:45:51 uebayasi Exp $
+${PG_SUBPREFIX}bin/clusterdb
+${PG_SUBPREFIX}bin/createdb
+${PG_SUBPREFIX}bin/createlang
+${PG_SUBPREFIX}bin/createuser
+${PG_SUBPREFIX}bin/dropdb
+${PG_SUBPREFIX}bin/droplang
+${PG_SUBPREFIX}bin/dropuser
+${PG_SUBPREFIX}bin/ecpg
+${PG_SUBPREFIX}bin/initdb
+${PG_SUBPREFIX}bin/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_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/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/iqual.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/relscan.h
+${PG_SUBPREFIX}include/postgresql/server/access/rmgr.h
+${PG_SUBPREFIX}include/postgresql/server/access/rtree.h
+${PG_SUBPREFIX}include/postgresql/server/access/rtscan.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_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/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/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/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/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/beos.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/qnx4.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/strdup.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/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_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/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}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_QNX4
+${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/pg_dump
+${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/update
+${PG_SUBPREFIX}share/doc/postgresql/TODO.detail/wal
+${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/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/backup-file.html
+${PG_SUBPREFIX}share/doc/postgresql/html/backup-online.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-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-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.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/connect-estab.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/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-oid.html
+${PG_SUBPREFIX}share/doc/postgresql/html/datatype-pseudo.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-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-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/diskusage.html
+${PG_SUBPREFIX}share/doc/postgresql/html/dml-delete.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-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/ecpg-commands.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-include.html
+${PG_SUBPREFIX}share/doc/postgresql/html/ecpg-library.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-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-projects.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-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-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/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-recovery.html
+${PG_SUBPREFIX}share/doc/postgresql/html/gist.html
+${PG_SUBPREFIX}share/doc/postgresql/html/history.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-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-applicable-roles.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-schemata.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-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-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-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/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-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-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-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/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-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-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.html
+${PG_SUBPREFIX}share/doc/postgresql/html/nls-programmer.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-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-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-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-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/postmaster-shutdown.html
+${PG_SUBPREFIX}share/doc/postgresql/html/postmaster-start.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.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-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.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-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-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-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.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.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/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/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-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-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-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.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.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-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-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.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-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.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-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/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-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-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.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.html
+${PG_SUBPREFIX}share/doc/postgresql/html/xtypes.html
+${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}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}
diff --git a/databases/postgresql81-client/buildlink3.mk b/databases/postgresql81-client/buildlink3.mk
new file mode 100644
index 00000000000..4c1df83cb70
--- /dev/null
+++ b/databases/postgresql81-client/buildlink3.mk
@@ -0,0 +1,33 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/03/20 14:45:50 uebayasi Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+POSTGRESQL81_CLIENT_BUILDLINK3_MK:= ${POSTGRESQL81_CLIENT_BUILDLINK3_MK}+
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= postgresql81-client
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npostgresql81-client}
+BUILDLINK_PACKAGES+= postgresql81-client
+
+.if !empty(POSTGRESQL81_CLIENT_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.postgresql81-client+= postgresql81-client>=8.1.0
+BUILDLINK_PKGSRCDIR.postgresql81-client?= ../../wip/postgresql81-client
+
+. if defined(PG_SUBPREFIX) && !empty(PG_SUBPREFIX)
+BUILDLINK_INCDIRS.postgresql81-client?= ${PG_SUBPREFIX}/include
+BUILDLINK_LIBDIRS.postgresql81-client?= ${PG_SUBPREFIX}/lib
+. endif
+
+# This variable contains the libraries need to link most clients.
+BUILDLINK_LDADD.postgresql81-client= -lpq ${BUILDLINK_LDADD.gettext}
+
+BUILDLINK_FILES.postgresql81-client+= bin/pg_config
+.endif # POSTGRESQL81_CLIENT_BUILDLINK3_MK
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/databases/postgresql81-plperl/DESCR b/databases/postgresql81-plperl/DESCR
new file mode 100644
index 00000000000..9057591c0ba
--- /dev/null
+++ b/databases/postgresql81-plperl/DESCR
@@ -0,0 +1,5 @@
+PL/Perl allows you to write functions in the Perl programming language
+that may be used in SQL queries as if they were built into Postgres.
+The PL/Perl intepreter is a full Perl interpreter. However, certain
+operations have been disabled in order to maintain the security of the
+system.
diff --git a/databases/postgresql81-plperl/MESSAGE b/databases/postgresql81-plperl/MESSAGE
new file mode 100644
index 00000000000..34c32bab76d
--- /dev/null
+++ b/databases/postgresql81-plperl/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2006/03/20 14:45:51 uebayasi Exp $
+
+Please see the PL/Perl section of the PostgreSQL Programmer's Guide
+(databases/postgresql-docs) for information on programming with
+${PKGNAME}.
+===========================================================================
diff --git a/databases/postgresql81-plperl/Makefile b/databases/postgresql81-plperl/Makefile
new file mode 100644
index 00000000000..b28979540fd
--- /dev/null
+++ b/databases/postgresql81-plperl/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/03/20 14:45:51 uebayasi Exp $
+
+PKGNAME= postgresql81-plperl-${BASE_VERS}
+COMMENT= PL/Perl procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql81-server>=${BASE_VERS}:../../wip/postgresql81-server
+
+.include "../../wip/postgresql81/Makefile.common"
+
+PERL5_CONFIGURE= NO
+CONFIGURE_ARGS+= --with-perl
+
+BUILD_DIRS= ${WRKSRC}/src/pl/plperl
+MAKEFILE= GNUmakefile
+
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+
+.include "../../wip/postgresql81-client/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql81-plperl/PLIST b/databases/postgresql81-plperl/PLIST
new file mode 100644
index 00000000000..1732a4c714e
--- /dev/null
+++ b/databases/postgresql81-plperl/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/20 14:45:51 uebayasi Exp $
+${PG_SUBPREFIX}lib/postgresql/plperl.la
diff --git a/databases/postgresql81-plpython/DESCR b/databases/postgresql81-plpython/DESCR
new file mode 100644
index 00000000000..142bb15309d
--- /dev/null
+++ b/databases/postgresql81-plpython/DESCR
@@ -0,0 +1,9 @@
+PL/Python allows you to write functions in the Python programming
+language that may be used in SQL queries as if they were built into
+Postgres. The PL/Python intepreter is a full Python interpreter.
+
+PL/Python is currently only available as an "untrusted" language
+(meaning it does not offer any way of restricting what users can do
+in it). It has therefore been named "plpythonu". The trusted variant
+plpython may become available again in future, if a new secure execution
+mechanism is developed in Python.
diff --git a/databases/postgresql81-plpython/MESSAGE b/databases/postgresql81-plpython/MESSAGE
new file mode 100644
index 00000000000..de7e7b09ad3
--- /dev/null
+++ b/databases/postgresql81-plpython/MESSAGE
@@ -0,0 +1,17 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2006/03/20 14:45:51 uebayasi Exp $
+
+Please see the PL/Python section of the PostgreSQL Programmer's Guide
+(databases/postgresql-docs) for information on programming with
+${PKGNAME}.
+
+Note that PL/Python is unrestricted language, meaning it does not
+offer any way of restricting what users can do in it. Any DB user with
+access to PL/Python can run arbitrary Python code under privileges
+of the PostgreSQL server process.
+
+To enable PL/Python for database <dbname>, run following:
+
+createlang plpythonu <dbname>
+
+===========================================================================
diff --git a/databases/postgresql81-plpython/Makefile b/databases/postgresql81-plpython/Makefile
new file mode 100644
index 00000000000..cd74f9d118f
--- /dev/null
+++ b/databases/postgresql81-plpython/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/03/20 14:45:51 uebayasi Exp $
+
+PKGNAME= postgresql81-plpython-${BASE_VERS}
+COMMENT= PL/Python procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql81-server>=${BASE_VERS}:../../wip/postgresql81-server
+
+.include "../../wip/postgresql81/Makefile.common"
+
+CONFIGURE_ARGS+= --with-python
+CONFIGURE_ENV+= PYTHON="${PYTHONBIN}"
+
+BUILD_DIRS= ${WRKSRC}/src/pl/plpython
+
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+
+.include "../../wip/postgresql81-client/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql81-plpython/PLIST b/databases/postgresql81-plpython/PLIST
new file mode 100644
index 00000000000..9b28139f80f
--- /dev/null
+++ b/databases/postgresql81-plpython/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/20 14:45:51 uebayasi Exp $
+${PG_SUBPREFIX}lib/postgresql/plpython.la
diff --git a/databases/postgresql81-pltcl/DESCR b/databases/postgresql81-pltcl/DESCR
new file mode 100644
index 00000000000..e1aca2980b9
--- /dev/null
+++ b/databases/postgresql81-pltcl/DESCR
@@ -0,0 +1,4 @@
+PL/Tcl is a dynamic loadable extension for the PostgreSQL database system
+that enables the Tcl language to be used to create functions and
+trigger-procedures. It offers most of the capabilities a function
+writer has in the C language.
diff --git a/databases/postgresql81-pltcl/MESSAGE b/databases/postgresql81-pltcl/MESSAGE
new file mode 100644
index 00000000000..eafdd2ec1dc
--- /dev/null
+++ b/databases/postgresql81-pltcl/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2006/03/20 14:45:51 uebayasi Exp $
+
+Please see the PL/Tcl section of the PostgreSQL Programmer's Guide
+(databases/postgresql-docs) for information on programming with
+${PKGNAME}.
+===========================================================================
diff --git a/databases/postgresql81-pltcl/Makefile b/databases/postgresql81-pltcl/Makefile
new file mode 100644
index 00000000000..f374a9c7c25
--- /dev/null
+++ b/databases/postgresql81-pltcl/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/03/20 14:45:51 uebayasi Exp $
+
+PKGNAME= postgresql81-pltcl-${BASE_VERS}
+COMMENT= PL/Tcl procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql81-server>=${BASE_VERS}:../../wip/postgresql81-server
+
+.include "../../wip/postgresql81/Makefile.common"
+
+CONFIGURE_ARGS+= --with-tcl
+CONFIGURE_ARGS+= --with-tclconfig="${BUILDLINK_PREFIX.tcl}/lib"
+CONFIGURE_ENV+= TCLSH="${TCLSH}"
+TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
+
+BUILD_DIRS= ${WRKSRC}/src/pl/tcl
+
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+
+.include "../../wip/postgresql81-client/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql81-pltcl/PLIST b/databases/postgresql81-pltcl/PLIST
new file mode 100644
index 00000000000..ab21d9dffb6
--- /dev/null
+++ b/databases/postgresql81-pltcl/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/20 14:45:51 uebayasi Exp $
+${PG_SUBPREFIX}bin/pltcl_delmod
+${PG_SUBPREFIX}bin/pltcl_listmod
+${PG_SUBPREFIX}bin/pltcl_loadmod
+${PG_SUBPREFIX}lib/postgresql/pltcl.la
+${PG_SUBPREFIX}share/postgresql/unknown.pltcl
diff --git a/databases/postgresql81-server/DEINSTALL b/databases/postgresql81-server/DEINSTALL
new file mode 100644
index 00000000000..68245f5adfa
--- /dev/null
+++ b/databases/postgresql81-server/DEINSTALL
@@ -0,0 +1,20 @@
+# $NetBSD: DEINSTALL,v 1.1.1.1 2006/03/20 14:45:51 uebayasi 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/postgresql81-server/DESCR b/databases/postgresql81-server/DESCR
new file mode 100644
index 00000000000..68bb2b05748
--- /dev/null
+++ b/databases/postgresql81-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/postgresql81-server/MESSAGE b/databases/postgresql81-server/MESSAGE
new file mode 100644
index 00000000000..1b7d89676bc
--- /dev/null
+++ b/databases/postgresql81-server/MESSAGE
@@ -0,0 +1,19 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2006/03/20 14:45:51 uebayasi 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.1 accepts TCP/IP connections on localhost address
+by default.
+
+===========================================================================
diff --git a/databases/postgresql81-server/Makefile b/databases/postgresql81-server/Makefile
new file mode 100644
index 00000000000..a1023c091fb
--- /dev/null
+++ b/databases/postgresql81-server/Makefile
@@ -0,0 +1,101 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/03/20 14:45:51 uebayasi Exp $
+
+PKGNAME= postgresql81-server-${BASE_VERS}
+COMMENT= PostgreSQL database server programs
+
+# mips has no TAS implementation
+NOT_FOR_PLATFORM= *-*-mips
+
+.include "../../wip/postgresql81/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= ${WRKSRC}/src/backend
+BUILD_DIRS+= ${WRKSRC}/src/backend/utils/mb/conversion_procs
+BUILD_DIRS+= ${WRKSRC}/src/timezone
+BUILD_DIRS+= ${WRKSRC}/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.postgresql81-server
+PKG_SUPPORTED_OPTIONS= pam
+.include "../../wip/postgresql81/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_USERS= ${PGUSER}:${PGGROUP}::PostgreSQL\ database\ administrator:${PGHOME}:${SH}
+PKG_GROUPS= ${PGGROUP}
+
+RCD_SCRIPTS= pgsql
+
+.include "../../wip/postgresql81-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-configure:
+ ${TOUCH} ${WRKSRC}/src/template/dragonfly
+ ${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.c \
+ ${WRKSRC}/src/backend/port/dynloader/dragonfly.c
+ ${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.h \
+ ${WRKSRC}/src/backend/port/dynloader/dragonfly.h
+ ${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.h \
+ ${WRKSRC}/src/backend/port/dynloader/dragonfly.h
+ ${CP} ${WRKSRC}/src/include/port/freebsd.h \
+ ${WRKSRC}/src/include/port/dragonfly.h
+ ${CP} ${WRKSRC}/src/makefiles/Makefile.freebsd \
+ ${WRKSRC}/src/makefiles/Makefile.dragonfly
+
+pre-build:
+ ${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} \
+ cd ${WRKSRC}/src/backend && \
+ ${SETENV} ${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 && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql81-server/PLIST b/databases/postgresql81-server/PLIST
new file mode 100644
index 00000000000..1be46d9a31d
--- /dev/null
+++ b/databases/postgresql81-server/PLIST
@@ -0,0 +1,640 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/20 14:45:52 uebayasi 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_win1250.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_win1252.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_win1256.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_win1258.la
+${PG_SUBPREFIX}lib/postgresql/utf8_and_win874.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/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/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/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/Vevay
+${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/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/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/Helsinki
+${PG_SUBPREFIX}share/postgresql/timezone/Europe/Istanbul
+${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/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/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/SystemV/AST4
+${PG_SUBPREFIX}share/postgresql/timezone/SystemV/AST4ADT
+${PG_SUBPREFIX}share/postgresql/timezone/SystemV/CST6
+${PG_SUBPREFIX}share/postgresql/timezone/SystemV/CST6CDT
+${PG_SUBPREFIX}share/postgresql/timezone/SystemV/EST5
+${PG_SUBPREFIX}share/postgresql/timezone/SystemV/EST5EDT
+${PG_SUBPREFIX}share/postgresql/timezone/SystemV/HST10
+${PG_SUBPREFIX}share/postgresql/timezone/SystemV/MST7
+${PG_SUBPREFIX}share/postgresql/timezone/SystemV/MST7MDT
+${PG_SUBPREFIX}share/postgresql/timezone/SystemV/PST8
+${PG_SUBPREFIX}share/postgresql/timezone/SystemV/PST8PDT
+${PG_SUBPREFIX}share/postgresql/timezone/SystemV/YST9
+${PG_SUBPREFIX}share/postgresql/timezone/SystemV/YST9YDT
+${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
+@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/postgresql81-server/files/pgsql.sh b/databases/postgresql81-server/files/pgsql.sh
new file mode 100644
index 00000000000..87621bb2490
--- /dev/null
+++ b/databases/postgresql81-server/files/pgsql.sh
@@ -0,0 +1,144 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: pgsql.sh,v 1.1.1.1 2006/03/20 14:45:52 uebayasi 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/postgresql81/DESCR b/databases/postgresql81/DESCR
new file mode 100644
index 00000000000..9f6b5b5b0f9
--- /dev/null
+++ b/databases/postgresql81/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/postgresql81/Makefile b/databases/postgresql81/Makefile
new file mode 100644
index 00000000000..3238cf90425
--- /dev/null
+++ b/databases/postgresql81/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/03/20 14:45:49 uebayasi Exp $
+
+PKGNAME= postgresql81-${BASE_VERS}
+COMMENT= Robust, next generation, object-relational DBMS
+
+DEPENDS+= postgresql81-client>=${BASE_VERS}:../../wip/postgresql81-client
+DEPENDS+= postgresql81-server>=${BASE_VERS}:../../wip/postgresql81-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/postgresql81/Makefile.common b/databases/postgresql81/Makefile.common
new file mode 100644
index 00000000000..5841aef6b5a
--- /dev/null
+++ b/databases/postgresql81/Makefile.common
@@ -0,0 +1,155 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2006/03/20 14:45:49 uebayasi 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 "../../wip/postgresql81/Makefile.mirrors"
+
+DISTNAME?= postgresql-${DIST_VERS}
+CATEGORIES+= databases
+MASTER_SITES?= ${PGSQL_MIRRORS:=source/v${DIST_VERS}/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER?= jlam@NetBSD.org
+HOMEPAGE?= http://www.postgresql.org/
+
+CONFLICTS+= postgresql-[0-9]* postgresql73-* postgresql74-* postgresql80-*
+
+DISTINFO_FILE?= ${.CURDIR}/../postgresql81/distinfo
+COMMON_FILESDIR?= ${.CURDIR}/../postgresql81/files
+PATCHDIR?= ${.CURDIR}/../postgresql81/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-postgresql81 when updating version
+#
+DIST_VERS?= 8.1.3
+BASE_VERS?= ${DIST_VERS}
+
+BUILDLINK_DEPENDS.postgresql81-client+= postgresql81-client>=${BASE_VERS}
+
+GNU_CONFIGURE= yes
+BUILD_USES_MSGFMT= yes
+USE_TOOLS+= bison gmake lex
+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
+
+# 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/postgresql81/Makefile.mirrors b/databases/postgresql81/Makefile.mirrors
new file mode 100644
index 00000000000..392333a4119
--- /dev/null
+++ b/databases/postgresql81/Makefile.mirrors
@@ -0,0 +1,101 @@
+# $NetBSD: Makefile.mirrors,v 1.1.1.1 2006/03/20 14:45:49 uebayasi 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/postgresql81/PLIST b/databases/postgresql81/PLIST
new file mode 100644
index 00000000000..2ed40359349
--- /dev/null
+++ b/databases/postgresql81/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/20 14:45:49 uebayasi Exp $
+@comment this plist intentionally left empty
diff --git a/databases/postgresql81/distinfo b/databases/postgresql81/distinfo
new file mode 100644
index 00000000000..a720d62d70e
--- /dev/null
+++ b/databases/postgresql81/distinfo
@@ -0,0 +1,14 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/03/20 14:45:49 uebayasi Exp $
+
+SHA1 (postgresql-8.1.3.tar.bz2) = eed3f7de11e472fb7bf44865a62c18bc6ca9a3b3
+RMD160 (postgresql-8.1.3.tar.bz2) = b9b1461516e2388de41a7892e05d285fa659d87c
+Size (postgresql-8.1.3.tar.bz2) = 11588289 bytes
+SHA1 (patch-aa) = a7112ce2e9fc28f638afcf2e196d3cdc0f4c254d
+SHA1 (patch-ab) = 8d09f4e274aeb4ac2b15db73e7801376a5627d27
+SHA1 (patch-ac) = cbd302a60d43171854c37171b57ee7bbf1194ad9
+SHA1 (patch-ad) = 51243fecc142d20e5353b8043e24f38007aa38d9
+SHA1 (patch-ae) = 8b3e47320dfe05d94b769c9b079fd7ca6d26f5d6
+SHA1 (patch-af) = 89cb9318946cb7c34ad79dbae107ce66bd1c5022
+SHA1 (patch-ag) = 402d5d211af99efdfa35677299c97e91e14ed85d
+SHA1 (patch-ah) = 10ff8958ff2085fb03d1661a361e218ae5869b06
+SHA1 (patch-ai) = 04820f37d7147576a6a9ab7d82e4682c61573330
diff --git a/databases/postgresql81/files/GNUmakefile.libpq b/databases/postgresql81/files/GNUmakefile.libpq
new file mode 100644
index 00000000000..9b9a560f0b7
--- /dev/null
+++ b/databases/postgresql81/files/GNUmakefile.libpq
@@ -0,0 +1,20 @@
+# $NetBSD: GNUmakefile.libpq,v 1.1.1.1 2006/03/20 14:45:49 uebayasi 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/postgresql81/files/Makefile.custom b/databases/postgresql81/files/Makefile.custom
new file mode 100644
index 00000000000..db523bcd7f1
--- /dev/null
+++ b/databases/postgresql81/files/Makefile.custom
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile.custom,v 1.1.1.1 2006/03/20 14:45:49 uebayasi 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 = -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/postgresql81/files/Makefile.libtool b/databases/postgresql81/files/Makefile.libtool
new file mode 100644
index 00000000000..014be1075a9
--- /dev/null
+++ b/databases/postgresql81/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/03/20 14:45:49 uebayasi 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/postgresql81/files/dynloader-ltdl.h b/databases/postgresql81/files/dynloader-ltdl.h
new file mode 100644
index 00000000000..5266576a0e0
--- /dev/null
+++ b/databases/postgresql81/files/dynloader-ltdl.h
@@ -0,0 +1,17 @@
+/* $NetBSD: dynloader-ltdl.h,v 1.1.1.1 2006/03/20 14:45:49 uebayasi 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/postgresql81/options.mk b/databases/postgresql81/options.mk
new file mode 100644
index 00000000000..511ef82ff08
--- /dev/null
+++ b/databases/postgresql81/options.mk
@@ -0,0 +1,28 @@
+# $NetBSD: options.mk,v 1.1.1.1 2006/03/20 14:45:49 uebayasi Exp $
+
+PKG_SUPPORTED_OPTIONS+= pgsql-hier-query
+
+.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
+
+###
+### Support for hierarchical queries with Oracle-like CONNECT BY syntax.
+### See http://gppl.moonbone.ru/README.html for details. Note that use of
+### this patch is discouraged by PostgreSQL developers because it is
+### considered somewhat buggy and incomplete.
+###
+.if !empty(PKG_OPTIONS:Mpgsql-hier-query)
+PATCH_SITES= http://gppl.moonbone.ru/
+PATCHFILES= hier-Pg8.0.3-0.5.5.diff.gz
+PATCH_DIST_STRIP= -p1
+PLIST_SUBST+= PG_HIER=
+.else
+PLIST_SUBST+= PG_HIER="@comment "
+.endif
diff --git a/databases/postgresql81/patches/patch-aa b/databases/postgresql81/patches/patch-aa
new file mode 100644
index 00000000000..8ec7a9f9150
--- /dev/null
+++ b/databases/postgresql81/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/03/20 14:45:49 uebayasi 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/postgresql81/patches/patch-ab b/databases/postgresql81/patches/patch-ab
new file mode 100644
index 00000000000..d94d20c65c1
--- /dev/null
+++ b/databases/postgresql81/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/03/20 14:45:49 uebayasi Exp $
+
+--- configure.orig 2005-11-05 13:01:38.000000000 +0900
++++ configure
+@@ -1501,6 +1501,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)
+@@ -4587,9 +4588,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/postgresql81/patches/patch-ac b/databases/postgresql81/patches/patch-ac
new file mode 100644
index 00000000000..44817fa239b
--- /dev/null
+++ b/databases/postgresql81/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2006/03/20 14:45:49 uebayasi 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/postgresql81/patches/patch-ad b/databases/postgresql81/patches/patch-ad
new file mode 100644
index 00000000000..a0e4fa1043a
--- /dev/null
+++ b/databases/postgresql81/patches/patch-ad
@@ -0,0 +1,79 @@
+$NetBSD: patch-ad,v 1.1.1.1 2006/03/20 14:45:49 uebayasi Exp $
+
+--- src/backend/port/dynloader/netbsd.c.orig 2005-07-07 01:55:58.000000000 +0900
++++ src/backend/port/dynloader/netbsd.c
+@@ -44,65 +44,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/postgresql81/patches/patch-ae b/databases/postgresql81/patches/patch-ae
new file mode 100644
index 00000000000..e9d9eec8b3f
--- /dev/null
+++ b/databases/postgresql81/patches/patch-ae
@@ -0,0 +1,45 @@
+$NetBSD: patch-ae,v 1.1.1.1 2006/03/20 14:45:49 uebayasi 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/postgresql81/patches/patch-af b/databases/postgresql81/patches/patch-af
new file mode 100644
index 00000000000..fb6bab5b756
--- /dev/null
+++ b/databases/postgresql81/patches/patch-af
@@ -0,0 +1,30 @@
+$NetBSD: patch-af,v 1.1.1.1 2006/03/20 14:45:49 uebayasi 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/postgresql81/patches/patch-ag b/databases/postgresql81/patches/patch-ag
new file mode 100644
index 00000000000..dd5ab6f0886
--- /dev/null
+++ b/databases/postgresql81/patches/patch-ag
@@ -0,0 +1,15 @@
+$NetBSD: patch-ag,v 1.1.1.1 2006/03/20 14:45:49 uebayasi 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/postgresql81/patches/patch-ah b/databases/postgresql81/patches/patch-ah
new file mode 100644
index 00000000000..5ac57bf1cc2
--- /dev/null
+++ b/databases/postgresql81/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1.1.1 2006/03/20 14:45:49 uebayasi Exp $
+
+--- src/timezone/strftime.c.orig 2005-10-15 11:49:51.000000000 +0900
++++ src/timezone/strftime.c
+@@ -90,7 +90,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/postgresql81/patches/patch-ai b/databases/postgresql81/patches/patch-ai
new file mode 100644
index 00000000000..e95f5c01fa7
--- /dev/null
+++ b/databases/postgresql81/patches/patch-ai
@@ -0,0 +1,80 @@
+$NetBSD: patch-ai,v 1.1.1.1 2006/03/20 14:45:50 uebayasi Exp $
+
+--- src/timezone/zic.c.orig 2005-10-15 11:49:51.000000000 +0900
++++ src/timezone/zic.c
+@@ -101,52 +101,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;