1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Welcome new release of the world's most advanced open source database:

PostgreSQL 8.2.0

Complete release notes are available at
http://www.postgresql.org/docs/current/static/release-8-2.html
This commit is contained in:
Palle Girgensohn 2006-12-06 16:50:34 +00:00
parent ae0d8f440c
commit 5b1dcdfc6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179046
91 changed files with 4251 additions and 3860 deletions

View File

@ -152,6 +152,7 @@ PGSQL73_LIBVER= 3
PGSQL74_LIBVER= 3
PGSQL80_LIBVER= 4
PGSQL81_LIBVER= 4
PGSQL82_LIBVER= 5
# Setting/finding PostgreSQL version we want.
.if exists(${LOCALBASE}/bin/pg_config)

View File

@ -388,6 +388,8 @@
SUBDIR += postgresql80-server
SUBDIR += postgresql81-client
SUBDIR += postgresql81-server
SUBDIR += postgresql82-client
SUBDIR += postgresql82-server
SUBDIR += postgresql_autodoc
SUBDIR += puredb
SUBDIR += pxlib

View File

@ -0,0 +1,22 @@
# New ports collection makefile for: PostgreSQL-client
# Date created: Wed Nov 2 00:13:57 CET 2005
# Whom: Palle Girgensohn <girgen@FreeBSD.org>
#
# $FreeBSD$
#
# To depend on postgresql-client, set USE_PGSQL=yes.
# See Mk/bsd.databases.mk for more info
PORTNAME= postgresql
PKGNAMESUFFIX= -client
PORTREVISION= 0
COMMENT= PostgreSQL database (client)
MASTERDIR= ${.CURDIR}/../postgresql82-server
BUILD_DIRS= config src/include src/interfaces src/bin doc src/makefiles
CLIENT_ONLY= yes
INSTALLS_SHLIB= yes
.include "${MASTERDIR}/Makefile"

View File

@ -6,28 +6,27 @@
#
PORTNAME?= postgresql
PKGNAMESUFFIX?= -server
PORTVERSION?= 8.1.4
PORTREVISION?= 1
PORTVERSION?= 8.2.0
PORTREVISION?= 0
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= source/v${PORTVERSION}
PKGNAMESUFFIX?= -server
DISTFILES?= postgresql-base-${PORTVERSION}${EXTRACT_SUFX} \
postgresql-opt-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER?= girgen@FreeBSD.org
COMMENT?= The most advanced open-source database available anywhere
CONFLICTS?= ${PORTNAME}-client-7.[0-9]* \
${PORTNAME}${PKGNAMESUFFIX}-7.[0-9]* \
${PORTNAME}-client-8.0.* \
${PORTNAME}${PKGNAMESUFFIX}-8.0.*
BROKEN= work in progress
CONFLICTS?= ${PORTNAME}-client-7.* \
${PORTNAME}${PKGNAMESUFFIX}-7.* \
${PORTNAME}-client-8.[0-13-9]* \
${PORTNAME}${PKGNAMESUFFIX}-8.[0-13-9]*
WRKSRC= ${WRKDIR}/postgresql-${PORTVERSION}
DIST_SUBDIR= postgresql
UNIQUENAME?= ${PORTNAME}81
UNIQUENAME?= ${PORTNAME}82
LATEST_LINK?= ${PKGNAMEPREFIX}${UNIQUENAME}${PKGNAMESUFFIX}
PKGINSTALL?= ${PKGDIR}/pkg-install${PKGNAMESUFFIX}
@ -47,14 +46,14 @@ CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
PLIST= ${PKGDIR}/pkg-plist${PKGNAMESUFFIX}
BUILD_DIRS?= src/port src/timezone src/backend src/backend/utils/mb/conversion_procs \
src/pl src/utils
src/pl config
INSTALL_DIRS?= ${BUILD_DIRS}
PKGMESSAGE= ${WRKDIR}/.pkg-message${PKGNAMESUFFIX}
.if !defined(CLIENT_ONLY) && !defined(SLAVE_ONLY)
SERVER_ONLY= yes
USE_RC_SUBR= yes
RCSCRIPT= ${PREFIX}/etc/rc.d/010.pgsql.sh
USE_RC_SUBR= postgresql
SUB_FILES+= dot.cshrc dot.profile
USE_PGSQL= yes
WANT_PGSQL_VER= ${PORTVERSION:C/([0-9][0-9]*)\.([0-9][0-9]*).*/\1\2/g}
.endif
@ -76,7 +75,7 @@ CONFIGURE_ARGS+=--with-openssl
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
BROKEN= "Coredump during build on alpha 4.x"
BROKEN= Coredump during build on alpha 4.x
.endif
.if !defined(SLAVE_ONLY)
@ -95,7 +94,7 @@ OPTIONS+= TESTS "Allows the use of a \"check\" target (server)" off
OPTIONS+= DEBUG "Builds with debugging symbols" off
# See http://people.freebsd.org/~girgen/postgresql-icu/README.html for more info
OPTIONS+= ICU "Use ICU for unicode collation (server)" off
#OPTIONS+= ICU "Use ICU for unicode collation (server)" off
# See http://gppl.moonbone.ru/ for more info
#OPTIONS+= HIER "Builds with query hierarchy (server)" off
@ -104,22 +103,26 @@ OPTIONS+= ICU "Use ICU for unicode collation (server)" off
# (requires dump/restore if modified.)
OPTIONS+= INTDATE "Builds with 64-bit date/time type (server)" off
. if defined(SERVER_ONLY) && defined(WITH_HIER)
#PATCH_SITES+= http://gppl.moonbone.ru/:hier801054
#PATCHFILES+= hier-Pg8.0.1-0.5.4.diff.gz:hier801054
#USE_BISON= yes
. endif
# . if (defined(SERVER_ONLY) && defined(WITH_HIER)) || make(makesum)
# PATCH_SITES+= http://gppl.moonbone.ru/:hier812055
# PATCHFILES+= hier-Pg8.1.2-0.5.5.diff.gz:hier812055
# USE_BISON= yes
# . endif
. if defined(SERVER_ONLY) && defined(WITH_ICU)
USE_AUTOTOOLS= autoconf:259
CONFIGURE_ARGS+=--with-icu
LIB_DEPENDS= icudata:${PORTSDIR}/devel/icu
PATCH_SITES+= http://people.freebsd.org/~girgen/postgresql-icu/:icu
PATCHFILES+= pg-814-icu-xx-2006-09-25.diff.gz:icu
. endif
# . if (defined(SERVER_ONLY) && defined(WITH_ICU)) || make(makesum)
# USE_AUTOTOOLS= autoconf:259
# CONFIGURE_ARGS+=--with-icu
# LIB_DEPENDS= icudata:${PORTSDIR}/devel/icu
# PATCH_SITES+= http://people.freebsd.org/~girgen/postgresql-icu/:icu
# PATCHFILES+= pg-814-icu-xx-2006-09-25.diff.gz:icu
# . endif
PATCH_DIST_STRIP=-p1
. ifmake makesum
DISTFILES+= postgresql-docs-${PORTVERSION}${EXTRACT_SUFX}
. endif
. if defined(SERVER_ONLY) && defined(WITH_PAM)
CONFIGURE_ARGS+=--with-pam
. endif
@ -173,12 +176,12 @@ CONFIGURE_ARGS+=--with-krb5
# Postgresql apps will not link properly when libpq is linked with base heimdal in /usr,
# so we always use the heimdal port. See
# http://lists.freebsd.org/pipermail/freebsd-stable/2005-October/018809.html
LIB_DEPENDS+= krb5.20:${PORTSDIR}/security/heimdal
LIB_DEPENDS+= krb5.21:${PORTSDIR}/security/heimdal
CONFIGURE_ARGS+=--with-krb5
. endif
. endif
. if defined(SERVER_ONLY) && defined(WITH_TESTS)
. if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || make(makesum)
DISTFILES+= postgresql-test-${PORTVERSION}${EXTRACT_SUFX}
EXTRA_PATCHES= ${FILESDIR}/regresspatch-src-test-regress-pgregress-sh
. endif
@ -221,13 +224,13 @@ MAN7= abort.7 alter_aggregate.7 alter_conversion.7 alter_database.7 \
drop_aggregate.7 drop_cast.7 drop_conversion.7 \
drop_database.7 drop_domain.7 drop_function.7 \
drop_group.7 drop_index.7 drop_language.7 \
drop_operator.7 drop_operator_class.7 drop_role.7 \
drop_rule.7 \
drop_operator.7 drop_operator_class.7 drop_owned.7 \
drop_role.7 drop_rule.7 \
drop_schema.7 drop_sequence.7 drop_table.7 drop_trigger.7 \
drop_type.7 drop_user.7 drop_view.7 end.7 execute.7 \
explain.7 fetch.7 grant.7 insert.7 listen.7 load.7 \
lock.7 move.7 notify.7 prepare.7 prepare_transaction.7 \
reindex.7 reset.7 \
reassign_owned.7 reindex.7 reset.7 \
revoke.7 rollback.7 rollback_prepared.7 select.7 \
select_into.7 set.7 \
set_constraints.7 set_role.7 set_transaction.7 show.7 \
@ -236,7 +239,7 @@ MAN7= abort.7 alter_aggregate.7 alter_conversion.7 alter_database.7 \
alter_operator.7 alter_tablespace.7 alter_type.7 \
create_tablespace.7 drop_tablespace.7 \
release_savepoint.7 rollback_to_savepoint.7 \
savepoint.7
savepoint.7 values.7
.endif
.if defined(SERVER_ONLY)
@ -260,11 +263,9 @@ do-build:
cd ${WRKSRC}/$${dir} && ${SETENV} ${MAKE_ENV} ${GMAKE}; \
done
. if exists(${MASTERDIR}/pkg-message${PKGNAMESUFFIX})
post-build:
@ ${SED} "s|/usr/local|${PREFIX}|g" \
< ${MASTERDIR}/pkg-message${PKGNAMESUFFIX} \
> ${PKGMESSAGE}
. if exists(${FILESDIR}/pkg-message${PKGNAMESUFFIX}.in)
SUB_FILES+= pkg-message${PKGNAMESUFFIX}
PKGMESSAGE= ${WRKSRC}/pkg-message${PKGNAMESUFFIX}
. endif
.endif
@ -283,20 +284,13 @@ do-install:
. if defined(SERVER_ONLY)
@ ${MKDIR} ${PREFIX}/share/postgresql
. for i in profile cshrc
@ ${SED} "s|%%PREFIX%%|${PREFIX}|g" \
< ${FILESDIR}/dot.$i.in \
> ${PREFIX}/share/postgresql/dot.$i.dist; \
${CP} ${PREFIX}/share/postgresql/dot.$i.dist ~pgsql/; \
${INSTALL_DATA} ${WRKDIR}/dot.$i ${PREFIX}/share/postgresql/dot.$i.dist; \
${INSTALL_DATA} -o pgsql -g pgsql ${WRKDIR}/dot.$i ~pgsql/dot.$i.dist ; \
if [ ! -f ~pgsql/.$i ]; then \
${CP} ${PREFIX}/share/postgresql/dot.$i.dist ~pgsql/.$i; \
${CP} -p ~pgsql/dot.$i.dist ~pgsql/.$i; \
fi
. endfor
@ ${SED} -e "s|%%PREFIX%%|${PREFIX}|g; s|%%RC_SUBR%%|${RC_SUBR}|g" \
< ${FILESDIR}/pgsql.sh.tmpl \
> ${RCSCRIPT} ;\
${CHMOD} 555 ${RCSCRIPT} ;\
${CHOWN} root:pgsql ${RCSCRIPT} ;\
${CHOWN} -R pgsql:pgsql ~pgsql/. ;\
@ ${CHOWN} -R pgsql:pgsql ~pgsql/. ;\
${MKDIR} ${PREFIX}/etc/periodic/daily ;\
${INSTALL_SCRIPT} ${FILESDIR}/502.pgsql \
${PREFIX}/etc/periodic/daily

View File

@ -1,15 +1,15 @@
MD5 (postgresql/postgresql-base-8.1.4.tar.bz2) = 7ba24eaa31237eb8713782508de4dec7
SHA256 (postgresql/postgresql-base-8.1.4.tar.bz2) = 3d5e6cf4aa1593730c61676ffc4e3acbed73c0e13fb246035e54e4cf83fa60e1
SIZE (postgresql/postgresql-base-8.1.4.tar.bz2) = 8040435
MD5 (postgresql/postgresql-docs-8.1.4.tar.bz2) = 5edc420b949a22d9960fc72609a24af3
SHA256 (postgresql/postgresql-docs-8.1.4.tar.bz2) = 1578423df71962e22fe94b1123db680983d4e2f82e5bbb4913d96d9f6265de7f
SIZE (postgresql/postgresql-docs-8.1.4.tar.bz2) = 2485052
MD5 (postgresql/postgresql-opt-8.1.4.tar.bz2) = 6aad690bd918086cc3fbf673b74e65e6
SHA256 (postgresql/postgresql-opt-8.1.4.tar.bz2) = 5a6d27e303ad9b073f91e51658b13cfeb153e3d886af5e5c1093ea315e15738c
SIZE (postgresql/postgresql-opt-8.1.4.tar.bz2) = 144696
MD5 (postgresql/postgresql-test-8.1.4.tar.bz2) = a4918ec95fd589f8b1eeb0e3d704045c
SHA256 (postgresql/postgresql-test-8.1.4.tar.bz2) = b7449222f9f4c3340d6d065914d10df1d4a8b13d63c967c9e65190812325b8d9
SIZE (postgresql/postgresql-test-8.1.4.tar.bz2) = 946868
MD5 (postgresql/postgresql-base-8.2.0.tar.bz2) = c827602068e8d3ba20d575c87d102932
SHA256 (postgresql/postgresql-base-8.2.0.tar.bz2) = 26544b843761b5acc4c3452ac3403e67cbe5d4a486583242bb6f4c77810b4284
SIZE (postgresql/postgresql-base-8.2.0.tar.bz2) = 8483588
MD5 (postgresql/postgresql-opt-8.2.0.tar.bz2) = d0bf0284ae3ae6ea56f6b08427f7ab9a
SHA256 (postgresql/postgresql-opt-8.2.0.tar.bz2) = 06a016bf72a33061c4f297f15d32b8aadd742bfe54256573e59bb7916ec3df29
SIZE (postgresql/postgresql-opt-8.2.0.tar.bz2) = 167666
MD5 (postgresql/postgresql-docs-8.2.0.tar.bz2) = 4221311dc619659344b8e03ddbaa249b
SHA256 (postgresql/postgresql-docs-8.2.0.tar.bz2) = 30096acf2d6c0bf5937571625de2d477586f0e5989ee8d56c58868bc738d4f2e
SIZE (postgresql/postgresql-docs-8.2.0.tar.bz2) = 2744490
MD5 (postgresql/postgresql-test-8.2.0.tar.bz2) = 0269ab5b70f9b677a97a856c3e46a5f5
SHA256 (postgresql/postgresql-test-8.2.0.tar.bz2) = 695c82bb987fb0fcc09c059b7da914164fd1577d5ab8873d7371ec398e47dff5
SIZE (postgresql/postgresql-test-8.2.0.tar.bz2) = 985281
MD5 (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 2eb31538f3ee367767aeacd95b11d623
SHA256 (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 8dea05bdbc2b78426b159f628b693f69da17b930fe4882e166d5e8a3e698b7d9
SIZE (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 3987

View File

@ -1,5 +1,5 @@
--- src/backend/utils/misc/postgresql.conf.sample~ Tue Nov 8 00:45:49 2005
+++ src/backend/utils/misc/postgresql.conf.sample Tue Nov 8 00:47:16 2005
--- src/backend/utils/misc/postgresql.conf.sample.orig Sun May 21 22:11:02 2006
+++ src/backend/utils/misc/postgresql.conf.sample Tue Nov 7 17:23:50 2006
@@ -206,6 +206,7 @@
# - Where to Log -
@ -16,3 +16,12 @@
#silent_mode = off # DO NOT USE without syslog or
# redirect_stderr
@@ -339,6 +341,8 @@
#---------------------------------------------------------------------------
# AUTOVACUUM PARAMETERS
#---------------------------------------------------------------------------
+
+autovacuum = on
#autovacuum = off # enable autovacuum subprocess?
#autovacuum_naptime = 60 # time between autovacuum runs, in secs

View File

@ -1,3 +1,3 @@
The PostgreSQL contrib utilities have been installed. Please see
/usr/local/share/doc/postgresql/contrib/README
%%PREFIX%%/share/doc/postgresql/contrib/README
for more information.

View File

@ -0,0 +1,70 @@
For procedural languages and postgresql functions, please note that
you might have to update them when updating the server.
If you have many tables and many clients running, consider raising
kern.maxfiles using sysctl(8), or reconfigure your kernel
appropriately.
The port is set up to use autovacuum for new databases, but you might
also want to vacuum and perhaps backup your database regularly. There
is a periodic script, %%PREFIX%%/etc/periodic/daily/502.pgsql, that
you may find useful. You can use it to backup and perfom vacuum on all
databases nightly. Per default, it perfoms `vacuum analyze'. See the
script for instructions. For autovacuum settings, please review
~pgsql/data/postgresql.conf.
To allow many simultaneous connections to your PostgreSQL server, you
should raise the SystemV shared memory limits in your kernel. Here are
example values for allowing up to 180 clients (configurations in
postgresql.conf also needed, of course):
options SYSVSHM
options SYSVSEM
options SYSVMSG
options SHMMAXPGS=65536
options SEMMNI=40
options SEMMNS=240
options SEMUME=40
options SEMMNU=120
If you plan to access your PostgreSQL server using ODBC, please
consider running the SQL script %%PREFIX%%/share/postgresql/odbc.sql
to get the functions required for ODBC compliance.
Please note that if you use the rc script,
%%PREFIX%%/etc/rc.conf/postgresql, to initialize the database, unicode
(UTF-8) will be used to store character data by default. Set
postgresql_initdb_flags or use login.conf settings described below to
alter this behaviour. See the start rc script for more info.
To set limits, environment stuff like locale and collation and other
things, you can set up a class in /etc/login.conf before initializing
the database. Add something similar to this to /etc/login.conf:
---
postgres:\
:lang=en_US.UTF-8:\
:setenv=LC_COLLATE=C:\
:tc=default:
---
and run `cap_mkdb /etc/login.conf'.
Then add 'postgresql_class="postgres"' to /etc/rc.conf.
======================================================================
To initialize the database, run
%%PREFIX%%/etc/rc.d/postgresql initdb
You can then start PostgreSQL by running:
%%PREFIX%%/etc/rc.d/postgresql start
For postmaster settings, see ~pgsql/data/postgresql.conf
NB. FreeBSD's PostgreSQL port logs to syslog by default
See ~pgsql/data/postgresql.conf for more info
======================================================================
To run PostgreSQL at startup, add
'postgresql_enable="YES"' to /etc/rc.conf

View File

@ -12,6 +12,10 @@
# # optional
# postgresql_data="%%PREFIX%%/pgsql/data"
# postgresql_flags="-w -s -m fast"
# postgresql_initdb_flags="--encoding=utf-8 --lc_collate=C"
# postgresql_class="default"
#
# See %%PREFIX%%/share/doc/postgresql/README-server for more info
#
# This scripts takes one of the following commands:
#
@ -32,6 +36,7 @@ postgresql_flags=${postgresql_flags:-"-w -s -m fast"}
postgresql_user=pgsql
eval postgresql_data=${postgresql_data:-"~${postgresql_user}/data"}
postgresql_class=${postgresql_class:-"default"}
postgresql_initdb_flags=${postgresql_initdb_flags:-"--encoding=utf-8 --lc_collate=C"}
name=postgresql
rcvar=`set_rcvar`

View File

@ -1,49 +0,0 @@
For procedural languages and postgresql functions, please note that
you might have to update them when updating the server.
If you have many tables and many clients running, consider raising
kern.maxfiles using sysctl(8), or reconfigure your kernel
appropriately.
You should vacuum and backup your database regularly. There is a
periodic script, ${LOCALBASE}/etc/periodic/daily/502.pgsql, that you
may find useful. Per default, it perfoms vacuum on all databases
nightly. See the script for instructions.
To allow many simultaneous connections to your PostgreSQL server, you
should raise the SystemV shared memory limits in your kernel. Here are
example values for allowing up to 180 clients (configurations in
postgresql.conf also needed, of course):
options SYSVSHM
options SYSVSEM
options SYSVMSG
options SHMMAXPGS=65536
options SEMMNI=40
options SEMMNS=240
options SEMUME=40
options SEMMNU=120
If you plan to access your PostgreSQL server using ODBC, please
consider running the SQL script /usr/local/share/postgresql/odbc.sql
to get the functions required for ODBC compliance.
======================================================================
To initialize the database, run
/usr/local/etc/rc.d/010.pgsql.sh initdb
You can then start PostgreSQL by running:
/usr/local/etc/rc.d/010.pgsql.sh start
For postmaster settings, see ~pgsql/data/postgresql.conf
NB. FreeBSD's PostgreSQL port now by default logs to syslog
See ~pgsql/data/postgresql.conf for more info
======================================================================
To run PostgreSQL at startup, add
'postgresql_enable="YES"' to /etc/rc.conf

View File

@ -18,9 +18,11 @@ bin/pg_restore
bin/psql
bin/reindexdb
bin/vacuumdb
include/ecpg_config.h
include/postgresql/server/access/attnum.h
include/postgresql/server/access/clog.h
include/postgresql/server/access/genam.h
include/postgresql/server/access/gin.h
include/postgresql/server/access/gist.h
include/postgresql/server/access/gist_private.h
include/postgresql/server/access/gistscan.h
@ -28,15 +30,13 @@ include/postgresql/server/access/hash.h
include/postgresql/server/access/heapam.h
include/postgresql/server/access/hio.h
include/postgresql/server/access/htup.h
include/postgresql/server/access/iqual.h
include/postgresql/server/access/itup.h
include/postgresql/server/access/multixact.h
include/postgresql/server/access/nbtree.h
include/postgresql/server/access/printtup.h
include/postgresql/server/access/reloptions.h
include/postgresql/server/access/relscan.h
include/postgresql/server/access/rmgr.h
include/postgresql/server/access/rtree.h
include/postgresql/server/access/rtscan.h
include/postgresql/server/access/sdir.h
include/postgresql/server/access/skey.h
include/postgresql/server/access/slru.h
@ -91,10 +91,12 @@ include/postgresql/server/catalog/pg_pltemplate.h
include/postgresql/server/catalog/pg_proc.h
include/postgresql/server/catalog/pg_rewrite.h
include/postgresql/server/catalog/pg_shdepend.h
include/postgresql/server/catalog/pg_shdescription.h
include/postgresql/server/catalog/pg_statistic.h
include/postgresql/server/catalog/pg_tablespace.h
include/postgresql/server/catalog/pg_trigger.h
include/postgresql/server/catalog/pg_type.h
include/postgresql/server/catalog/toasting.h
include/postgresql/server/commands/alter.h
include/postgresql/server/commands/async.h
include/postgresql/server/commands/cluster.h
@ -150,6 +152,7 @@ include/postgresql/server/executor/nodeSubplan.h
include/postgresql/server/executor/nodeSubqueryscan.h
include/postgresql/server/executor/nodeTidscan.h
include/postgresql/server/executor/nodeUnique.h
include/postgresql/server/executor/nodeValuesscan.h
include/postgresql/server/executor/spi.h
include/postgresql/server/executor/spi_priv.h
include/postgresql/server/executor/tstoreReceiver.h
@ -168,6 +171,7 @@ include/postgresql/server/libpq/ip.h
include/postgresql/server/libpq/libpq-be.h
include/postgresql/server/libpq/libpq-fs.h
include/postgresql/server/libpq/libpq.h
include/postgresql/server/libpq/md5.h
include/postgresql/server/libpq/pqcomm.h
include/postgresql/server/libpq/pqformat.h
include/postgresql/server/libpq/pqsignal.h
@ -232,11 +236,11 @@ include/postgresql/server/parser/scansup.h
include/postgresql/server/pg_config.h
include/postgresql/server/pg_config_manual.h
include/postgresql/server/pg_config_os.h
include/postgresql/server/pg_trace.h
include/postgresql/server/pgstat.h
include/postgresql/server/pgtime.h
include/postgresql/server/port.h
include/postgresql/server/port/aix.h
include/postgresql/server/port/beos.h
include/postgresql/server/port/bsdi.h
include/postgresql/server/port/cygwin.h
include/postgresql/server/port/darwin.h
@ -249,7 +253,6 @@ include/postgresql/server/port/netbsd.h
include/postgresql/server/port/nextstep.h
include/postgresql/server/port/openbsd.h
include/postgresql/server/port/osf.h
include/postgresql/server/port/qnx4.h
include/postgresql/server/port/sco.h
include/postgresql/server/port/solaris.h
include/postgresql/server/port/sunos4.h
@ -312,7 +315,6 @@ include/postgresql/server/storage/sinval.h
include/postgresql/server/storage/sinvaladt.h
include/postgresql/server/storage/smgr.h
include/postgresql/server/storage/spin.h
include/postgresql/server/strdup.h
include/postgresql/server/tcop/dest.h
include/postgresql/server/tcop/fastpath.h
include/postgresql/server/tcop/pquery.h
@ -366,6 +368,7 @@ include/postgresql/server/utils/tqual.h
include/postgresql/server/utils/tuplesort.h
include/postgresql/server/utils/tuplestore.h
include/postgresql/server/utils/typcache.h
include/postgresql/server/utils/tzparser.h
include/postgresql/server/utils/varbit.h
@dirrm include/postgresql/server/utils
@dirrm include/postgresql/server/tcop
@ -430,7 +433,7 @@ lib/libecpg_compat.so
lib/libecpg_compat.so.2
lib/libpq.a
lib/libpq.so
lib/libpq.so.4
lib/libpq.so.5
lib/libpgtypes.a
lib/libpgtypes.so
lib/libpgtypes.so.2
@ -511,6 +514,7 @@ share/postgresql/psqlrc.sample
%%GETTEXT%%share/locale/ko/LC_MESSAGES/pgscripts.mo
%%GETTEXT%%share/locale/ko/LC_MESSAGES/psql.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/libpq.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_config.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_controldata.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_dump.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_resetxlog.mo

View File

@ -1,76 +1,74 @@
bin/DBMirror.pl
bin/clean_pending.pl
bin/dbf2pg
bin/fti.pl
bin/oid2name
bin/pgbench
bin/vacuumlo
lib/postgresql/_int.so
lib/postgresql/adminpack.so
lib/postgresql/autoinc.so
lib/postgresql/btree_gist.so
lib/postgresql/pg_buffercache.so
lib/postgresql/chkpass.so
lib/postgresql/cube.so
lib/postgresql/dblink.so
lib/postgresql/earthdistance.so
lib/postgresql/fti.so
lib/postgresql/fuzzystrmatch.so
lib/postgresql/hstore.so
lib/postgresql/insert_username.so
lib/postgresql/int_aggregate.so
lib/postgresql/isbn_issn.so
lib/postgresql/isn.so
lib/postgresql/lo.so
lib/postgresql/ltree.so
lib/postgresql/moddatetime.so
lib/postgresql/pending.so
lib/postgresql/pg_buffercache.so
lib/postgresql/pg_freespacemap.so
lib/postgresql/pg_trgm.so
lib/postgresql/pgcrypto.so
lib/postgresql/pgrowlocks.so
lib/postgresql/pgstattuple.so
lib/postgresql/refint.so
lib/postgresql/seg.so
lib/postgresql/sslinfo.so
lib/postgresql/tablefunc.so
lib/postgresql/timetravel.so
lib/postgresql/tsearch2.so
lib/postgresql/user_locks.so
%%DOCSDIR%%/README-contrib
%%DOCSDIR%%/contrib/README
%%DOCSDIR%%/contrib/README.apachelog
%%DOCSDIR%%/contrib/README.adminpack
%%DOCSDIR%%/contrib/README.btree_gist
%%DOCSDIR%%/contrib/README.chkpass
%%DOCSDIR%%/contrib/README.cube
%%DOCSDIR%%/contrib/README.dbf2pg
%%DOCSDIR%%/contrib/README.dblink
%%DOCSDIR%%/contrib/README.dbmirror
%%DOCSDIR%%/contrib/README.earthdistance
%%DOCSDIR%%/contrib/README.fti
%%DOCSDIR%%/contrib/README.fuzzystrmatch
%%DOCSDIR%%/contrib/README.hstore
%%DOCSDIR%%/contrib/README.int_aggregate
%%DOCSDIR%%/contrib/README.intarray
%%DOCSDIR%%/contrib/README.isbn_issn
%%DOCSDIR%%/contrib/README.isn
%%DOCSDIR%%/contrib/README.lo
%%DOCSDIR%%/contrib/README.ltree
%%DOCSDIR%%/contrib/README.oid2name
%%DOCSDIR%%/contrib/README.pg_buffercache
%%DOCSDIR%%/contrib/README.pg_freespacemap
%%DOCSDIR%%/contrib/README.pg_trgm
%%DOCSDIR%%/contrib/README.pgbench
%%DOCSDIR%%/contrib/README.pgbench_jis
%%DOCSDIR%%/contrib/README.pgcrypto
%%DOCSDIR%%/contrib/README.pgrowlocks
%%DOCSDIR%%/contrib/README.pgrowlocks.euc_jp
%%DOCSDIR%%/contrib/README.pgstattuple
%%DOCSDIR%%/contrib/README.pgstattuple.euc_jp
%%DOCSDIR%%/contrib/README.seg
%%DOCSDIR%%/contrib/README.soundex
%%DOCSDIR%%/contrib/README.spi
%%DOCSDIR%%/contrib/README.sslinfo
%%DOCSDIR%%/contrib/README.tablefunc
%%DOCSDIR%%/contrib/README.tsearch2
%%DOCSDIR%%/contrib/README.user_locks
%%DOCSDIR%%/contrib/README.vacuumlo
%%DOCSDIR%%/contrib/autoinc.example
%%DOCSDIR%%/contrib/insert_username.example
%%DOCSDIR%%/contrib/moddatetime.example
%%DOCSDIR%%/contrib/refint.example
%%DOCSDIR%%/contrib/timetravel.example
share/postgresql/contrib/AddTrigger.sql
share/postgresql/contrib/MirrorSetup.sql
share/postgresql/contrib/_int.sql
share/postgresql/contrib/adminpack.sql
share/postgresql/contrib/autoinc.sql
share/postgresql/contrib/btree_gist.sql
share/postgresql/contrib/chkpass.sql
@ -78,29 +76,52 @@ share/postgresql/contrib/cube.sql
share/postgresql/contrib/dblink.sql
share/postgresql/contrib/earthdistance.sql
share/postgresql/contrib/english.stop
share/postgresql/contrib/fti.sql
share/postgresql/contrib/fuzzystrmatch.sql
share/postgresql/contrib/hstore.sql
share/postgresql/contrib/insert_username.sql
share/postgresql/contrib/int_aggregate.sql
share/postgresql/contrib/isbn_issn.sql
share/postgresql/contrib/isn.sql
share/postgresql/contrib/lo.sql
share/postgresql/contrib/lo_drop.sql
share/postgresql/contrib/lo_test.sql
share/postgresql/contrib/ltree.sql
share/postgresql/contrib/moddatetime.sql
share/postgresql/contrib/pg_buffercache.sql
share/postgresql/contrib/pg_freespacemap.sql
share/postgresql/contrib/pg_trgm.sql
share/postgresql/contrib/pgcrypto.sql
share/postgresql/contrib/pgrowlocks.sql
share/postgresql/contrib/pgstattuple.sql
share/postgresql/contrib/refint.sql
share/postgresql/contrib/russian.stop
share/postgresql/contrib/russian.stop.utf8
share/postgresql/contrib/seg.sql
share/postgresql/contrib/slaveDatabase.conf
share/postgresql/contrib/sslinfo.sql
share/postgresql/contrib/tablefunc.sql
share/postgresql/contrib/thesaurus
share/postgresql/contrib/timetravel.sql
share/postgresql/contrib/tsearch2.sql
share/postgresql/contrib/untsearch2.sql
share/postgresql/contrib/user_locks.sql
share/postgresql/contrib/uninstall__int.sql
share/postgresql/contrib/uninstall_adminpack.sql
share/postgresql/contrib/uninstall_btree_gist.sql
share/postgresql/contrib/uninstall_chkpass.sql
share/postgresql/contrib/uninstall_cube.sql
share/postgresql/contrib/uninstall_dblink.sql
share/postgresql/contrib/uninstall_earthdistance.sql
share/postgresql/contrib/uninstall_fuzzystrmatch.sql
share/postgresql/contrib/uninstall_hstore.sql
share/postgresql/contrib/uninstall_int_aggregate.sql
share/postgresql/contrib/uninstall_isn.sql
share/postgresql/contrib/uninstall_lo.sql
share/postgresql/contrib/uninstall_ltree.sql
share/postgresql/contrib/uninstall_pg_buffercache.sql
share/postgresql/contrib/uninstall_pg_freespacemap.sql
share/postgresql/contrib/uninstall_pg_trgm.sql
share/postgresql/contrib/uninstall_pgcrypto.sql
share/postgresql/contrib/uninstall_pgrowlocks.sql
share/postgresql/contrib/uninstall_pgstattuple.sql
share/postgresql/contrib/uninstall_seg.sql
share/postgresql/contrib/uninstall_sslinfo.sql
share/postgresql/contrib/uninstall_tablefunc.sql
share/postgresql/contrib/uninstall_tsearch2.sql
@dirrmtry share/postgresql/contrib >&2
@dirrmtry share/postgresql >&2
@dirrmtry %%DOCSDIR%%/contrib >&2

File diff suppressed because it is too large Load Diff

View File

@ -6,28 +6,27 @@
#
PORTNAME?= postgresql
PKGNAMESUFFIX?= -server
PORTVERSION?= 8.1.4
PORTREVISION?= 1
PORTVERSION?= 8.2.0
PORTREVISION?= 0
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= source/v${PORTVERSION}
PKGNAMESUFFIX?= -server
DISTFILES?= postgresql-base-${PORTVERSION}${EXTRACT_SUFX} \
postgresql-opt-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER?= girgen@FreeBSD.org
COMMENT?= The most advanced open-source database available anywhere
CONFLICTS?= ${PORTNAME}-client-7.[0-9]* \
${PORTNAME}${PKGNAMESUFFIX}-7.[0-9]* \
${PORTNAME}-client-8.0.* \
${PORTNAME}${PKGNAMESUFFIX}-8.0.*
BROKEN= work in progress
CONFLICTS?= ${PORTNAME}-client-7.* \
${PORTNAME}${PKGNAMESUFFIX}-7.* \
${PORTNAME}-client-8.[0-13-9]* \
${PORTNAME}${PKGNAMESUFFIX}-8.[0-13-9]*
WRKSRC= ${WRKDIR}/postgresql-${PORTVERSION}
DIST_SUBDIR= postgresql
UNIQUENAME?= ${PORTNAME}81
UNIQUENAME?= ${PORTNAME}82
LATEST_LINK?= ${PKGNAMEPREFIX}${UNIQUENAME}${PKGNAMESUFFIX}
PKGINSTALL?= ${PKGDIR}/pkg-install${PKGNAMESUFFIX}
@ -47,14 +46,14 @@ CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
PLIST= ${PKGDIR}/pkg-plist${PKGNAMESUFFIX}
BUILD_DIRS?= src/port src/timezone src/backend src/backend/utils/mb/conversion_procs \
src/pl src/utils
src/pl config
INSTALL_DIRS?= ${BUILD_DIRS}
PKGMESSAGE= ${WRKDIR}/.pkg-message${PKGNAMESUFFIX}
.if !defined(CLIENT_ONLY) && !defined(SLAVE_ONLY)
SERVER_ONLY= yes
USE_RC_SUBR= yes
RCSCRIPT= ${PREFIX}/etc/rc.d/010.pgsql.sh
USE_RC_SUBR= postgresql
SUB_FILES+= dot.cshrc dot.profile
USE_PGSQL= yes
WANT_PGSQL_VER= ${PORTVERSION:C/([0-9][0-9]*)\.([0-9][0-9]*).*/\1\2/g}
.endif
@ -76,7 +75,7 @@ CONFIGURE_ARGS+=--with-openssl
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
BROKEN= "Coredump during build on alpha 4.x"
BROKEN= Coredump during build on alpha 4.x
.endif
.if !defined(SLAVE_ONLY)
@ -95,7 +94,7 @@ OPTIONS+= TESTS "Allows the use of a \"check\" target (server)" off
OPTIONS+= DEBUG "Builds with debugging symbols" off
# See http://people.freebsd.org/~girgen/postgresql-icu/README.html for more info
OPTIONS+= ICU "Use ICU for unicode collation (server)" off
#OPTIONS+= ICU "Use ICU for unicode collation (server)" off
# See http://gppl.moonbone.ru/ for more info
#OPTIONS+= HIER "Builds with query hierarchy (server)" off
@ -104,22 +103,26 @@ OPTIONS+= ICU "Use ICU for unicode collation (server)" off
# (requires dump/restore if modified.)
OPTIONS+= INTDATE "Builds with 64-bit date/time type (server)" off
. if defined(SERVER_ONLY) && defined(WITH_HIER)
#PATCH_SITES+= http://gppl.moonbone.ru/:hier801054
#PATCHFILES+= hier-Pg8.0.1-0.5.4.diff.gz:hier801054
#USE_BISON= yes
. endif
# . if (defined(SERVER_ONLY) && defined(WITH_HIER)) || make(makesum)
# PATCH_SITES+= http://gppl.moonbone.ru/:hier812055
# PATCHFILES+= hier-Pg8.1.2-0.5.5.diff.gz:hier812055
# USE_BISON= yes
# . endif
. if defined(SERVER_ONLY) && defined(WITH_ICU)
USE_AUTOTOOLS= autoconf:259
CONFIGURE_ARGS+=--with-icu
LIB_DEPENDS= icudata:${PORTSDIR}/devel/icu
PATCH_SITES+= http://people.freebsd.org/~girgen/postgresql-icu/:icu
PATCHFILES+= pg-814-icu-xx-2006-09-25.diff.gz:icu
. endif
# . if (defined(SERVER_ONLY) && defined(WITH_ICU)) || make(makesum)
# USE_AUTOTOOLS= autoconf:259
# CONFIGURE_ARGS+=--with-icu
# LIB_DEPENDS= icudata:${PORTSDIR}/devel/icu
# PATCH_SITES+= http://people.freebsd.org/~girgen/postgresql-icu/:icu
# PATCHFILES+= pg-814-icu-xx-2006-09-25.diff.gz:icu
# . endif
PATCH_DIST_STRIP=-p1
. ifmake makesum
DISTFILES+= postgresql-docs-${PORTVERSION}${EXTRACT_SUFX}
. endif
. if defined(SERVER_ONLY) && defined(WITH_PAM)
CONFIGURE_ARGS+=--with-pam
. endif
@ -173,12 +176,12 @@ CONFIGURE_ARGS+=--with-krb5
# Postgresql apps will not link properly when libpq is linked with base heimdal in /usr,
# so we always use the heimdal port. See
# http://lists.freebsd.org/pipermail/freebsd-stable/2005-October/018809.html
LIB_DEPENDS+= krb5.20:${PORTSDIR}/security/heimdal
LIB_DEPENDS+= krb5.21:${PORTSDIR}/security/heimdal
CONFIGURE_ARGS+=--with-krb5
. endif
. endif
. if defined(SERVER_ONLY) && defined(WITH_TESTS)
. if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || make(makesum)
DISTFILES+= postgresql-test-${PORTVERSION}${EXTRACT_SUFX}
EXTRA_PATCHES= ${FILESDIR}/regresspatch-src-test-regress-pgregress-sh
. endif
@ -221,13 +224,13 @@ MAN7= abort.7 alter_aggregate.7 alter_conversion.7 alter_database.7 \
drop_aggregate.7 drop_cast.7 drop_conversion.7 \
drop_database.7 drop_domain.7 drop_function.7 \
drop_group.7 drop_index.7 drop_language.7 \
drop_operator.7 drop_operator_class.7 drop_role.7 \
drop_rule.7 \
drop_operator.7 drop_operator_class.7 drop_owned.7 \
drop_role.7 drop_rule.7 \
drop_schema.7 drop_sequence.7 drop_table.7 drop_trigger.7 \
drop_type.7 drop_user.7 drop_view.7 end.7 execute.7 \
explain.7 fetch.7 grant.7 insert.7 listen.7 load.7 \
lock.7 move.7 notify.7 prepare.7 prepare_transaction.7 \
reindex.7 reset.7 \
reassign_owned.7 reindex.7 reset.7 \
revoke.7 rollback.7 rollback_prepared.7 select.7 \
select_into.7 set.7 \
set_constraints.7 set_role.7 set_transaction.7 show.7 \
@ -236,7 +239,7 @@ MAN7= abort.7 alter_aggregate.7 alter_conversion.7 alter_database.7 \
alter_operator.7 alter_tablespace.7 alter_type.7 \
create_tablespace.7 drop_tablespace.7 \
release_savepoint.7 rollback_to_savepoint.7 \
savepoint.7
savepoint.7 values.7
.endif
.if defined(SERVER_ONLY)
@ -260,11 +263,9 @@ do-build:
cd ${WRKSRC}/$${dir} && ${SETENV} ${MAKE_ENV} ${GMAKE}; \
done
. if exists(${MASTERDIR}/pkg-message${PKGNAMESUFFIX})
post-build:
@ ${SED} "s|/usr/local|${PREFIX}|g" \
< ${MASTERDIR}/pkg-message${PKGNAMESUFFIX} \
> ${PKGMESSAGE}
. if exists(${FILESDIR}/pkg-message${PKGNAMESUFFIX}.in)
SUB_FILES+= pkg-message${PKGNAMESUFFIX}
PKGMESSAGE= ${WRKSRC}/pkg-message${PKGNAMESUFFIX}
. endif
.endif
@ -283,20 +284,13 @@ do-install:
. if defined(SERVER_ONLY)
@ ${MKDIR} ${PREFIX}/share/postgresql
. for i in profile cshrc
@ ${SED} "s|%%PREFIX%%|${PREFIX}|g" \
< ${FILESDIR}/dot.$i.in \
> ${PREFIX}/share/postgresql/dot.$i.dist; \
${CP} ${PREFIX}/share/postgresql/dot.$i.dist ~pgsql/; \
${INSTALL_DATA} ${WRKDIR}/dot.$i ${PREFIX}/share/postgresql/dot.$i.dist; \
${INSTALL_DATA} -o pgsql -g pgsql ${WRKDIR}/dot.$i ~pgsql/dot.$i.dist ; \
if [ ! -f ~pgsql/.$i ]; then \
${CP} ${PREFIX}/share/postgresql/dot.$i.dist ~pgsql/.$i; \
${CP} -p ~pgsql/dot.$i.dist ~pgsql/.$i; \
fi
. endfor
@ ${SED} -e "s|%%PREFIX%%|${PREFIX}|g; s|%%RC_SUBR%%|${RC_SUBR}|g" \
< ${FILESDIR}/pgsql.sh.tmpl \
> ${RCSCRIPT} ;\
${CHMOD} 555 ${RCSCRIPT} ;\
${CHOWN} root:pgsql ${RCSCRIPT} ;\
${CHOWN} -R pgsql:pgsql ~pgsql/. ;\
@ ${CHOWN} -R pgsql:pgsql ~pgsql/. ;\
${MKDIR} ${PREFIX}/etc/periodic/daily ;\
${INSTALL_SCRIPT} ${FILESDIR}/502.pgsql \
${PREFIX}/etc/periodic/daily

View File

@ -1,15 +1,15 @@
MD5 (postgresql/postgresql-base-8.1.4.tar.bz2) = 7ba24eaa31237eb8713782508de4dec7
SHA256 (postgresql/postgresql-base-8.1.4.tar.bz2) = 3d5e6cf4aa1593730c61676ffc4e3acbed73c0e13fb246035e54e4cf83fa60e1
SIZE (postgresql/postgresql-base-8.1.4.tar.bz2) = 8040435
MD5 (postgresql/postgresql-docs-8.1.4.tar.bz2) = 5edc420b949a22d9960fc72609a24af3
SHA256 (postgresql/postgresql-docs-8.1.4.tar.bz2) = 1578423df71962e22fe94b1123db680983d4e2f82e5bbb4913d96d9f6265de7f
SIZE (postgresql/postgresql-docs-8.1.4.tar.bz2) = 2485052
MD5 (postgresql/postgresql-opt-8.1.4.tar.bz2) = 6aad690bd918086cc3fbf673b74e65e6
SHA256 (postgresql/postgresql-opt-8.1.4.tar.bz2) = 5a6d27e303ad9b073f91e51658b13cfeb153e3d886af5e5c1093ea315e15738c
SIZE (postgresql/postgresql-opt-8.1.4.tar.bz2) = 144696
MD5 (postgresql/postgresql-test-8.1.4.tar.bz2) = a4918ec95fd589f8b1eeb0e3d704045c
SHA256 (postgresql/postgresql-test-8.1.4.tar.bz2) = b7449222f9f4c3340d6d065914d10df1d4a8b13d63c967c9e65190812325b8d9
SIZE (postgresql/postgresql-test-8.1.4.tar.bz2) = 946868
MD5 (postgresql/postgresql-base-8.2.0.tar.bz2) = c827602068e8d3ba20d575c87d102932
SHA256 (postgresql/postgresql-base-8.2.0.tar.bz2) = 26544b843761b5acc4c3452ac3403e67cbe5d4a486583242bb6f4c77810b4284
SIZE (postgresql/postgresql-base-8.2.0.tar.bz2) = 8483588
MD5 (postgresql/postgresql-opt-8.2.0.tar.bz2) = d0bf0284ae3ae6ea56f6b08427f7ab9a
SHA256 (postgresql/postgresql-opt-8.2.0.tar.bz2) = 06a016bf72a33061c4f297f15d32b8aadd742bfe54256573e59bb7916ec3df29
SIZE (postgresql/postgresql-opt-8.2.0.tar.bz2) = 167666
MD5 (postgresql/postgresql-docs-8.2.0.tar.bz2) = 4221311dc619659344b8e03ddbaa249b
SHA256 (postgresql/postgresql-docs-8.2.0.tar.bz2) = 30096acf2d6c0bf5937571625de2d477586f0e5989ee8d56c58868bc738d4f2e
SIZE (postgresql/postgresql-docs-8.2.0.tar.bz2) = 2744490
MD5 (postgresql/postgresql-test-8.2.0.tar.bz2) = 0269ab5b70f9b677a97a856c3e46a5f5
SHA256 (postgresql/postgresql-test-8.2.0.tar.bz2) = 695c82bb987fb0fcc09c059b7da914164fd1577d5ab8873d7371ec398e47dff5
SIZE (postgresql/postgresql-test-8.2.0.tar.bz2) = 985281
MD5 (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 2eb31538f3ee367767aeacd95b11d623
SHA256 (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 8dea05bdbc2b78426b159f628b693f69da17b930fe4882e166d5e8a3e698b7d9
SIZE (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 3987

View File

@ -1,5 +1,5 @@
--- src/backend/utils/misc/postgresql.conf.sample~ Tue Nov 8 00:45:49 2005
+++ src/backend/utils/misc/postgresql.conf.sample Tue Nov 8 00:47:16 2005
--- src/backend/utils/misc/postgresql.conf.sample.orig Sun May 21 22:11:02 2006
+++ src/backend/utils/misc/postgresql.conf.sample Tue Nov 7 17:23:50 2006
@@ -206,6 +206,7 @@
# - Where to Log -
@ -16,3 +16,12 @@
#silent_mode = off # DO NOT USE without syslog or
# redirect_stderr
@@ -339,6 +341,8 @@
#---------------------------------------------------------------------------
# AUTOVACUUM PARAMETERS
#---------------------------------------------------------------------------
+
+autovacuum = on
#autovacuum = off # enable autovacuum subprocess?
#autovacuum_naptime = 60 # time between autovacuum runs, in secs

View File

@ -1,3 +1,3 @@
The PostgreSQL contrib utilities have been installed. Please see
/usr/local/share/doc/postgresql/contrib/README
%%PREFIX%%/share/doc/postgresql/contrib/README
for more information.

View File

@ -0,0 +1,70 @@
For procedural languages and postgresql functions, please note that
you might have to update them when updating the server.
If you have many tables and many clients running, consider raising
kern.maxfiles using sysctl(8), or reconfigure your kernel
appropriately.
The port is set up to use autovacuum for new databases, but you might
also want to vacuum and perhaps backup your database regularly. There
is a periodic script, %%PREFIX%%/etc/periodic/daily/502.pgsql, that
you may find useful. You can use it to backup and perfom vacuum on all
databases nightly. Per default, it perfoms `vacuum analyze'. See the
script for instructions. For autovacuum settings, please review
~pgsql/data/postgresql.conf.
To allow many simultaneous connections to your PostgreSQL server, you
should raise the SystemV shared memory limits in your kernel. Here are
example values for allowing up to 180 clients (configurations in
postgresql.conf also needed, of course):
options SYSVSHM
options SYSVSEM
options SYSVMSG
options SHMMAXPGS=65536
options SEMMNI=40
options SEMMNS=240
options SEMUME=40
options SEMMNU=120
If you plan to access your PostgreSQL server using ODBC, please
consider running the SQL script %%PREFIX%%/share/postgresql/odbc.sql
to get the functions required for ODBC compliance.
Please note that if you use the rc script,
%%PREFIX%%/etc/rc.conf/postgresql, to initialize the database, unicode
(UTF-8) will be used to store character data by default. Set
postgresql_initdb_flags or use login.conf settings described below to
alter this behaviour. See the start rc script for more info.
To set limits, environment stuff like locale and collation and other
things, you can set up a class in /etc/login.conf before initializing
the database. Add something similar to this to /etc/login.conf:
---
postgres:\
:lang=en_US.UTF-8:\
:setenv=LC_COLLATE=C:\
:tc=default:
---
and run `cap_mkdb /etc/login.conf'.
Then add 'postgresql_class="postgres"' to /etc/rc.conf.
======================================================================
To initialize the database, run
%%PREFIX%%/etc/rc.d/postgresql initdb
You can then start PostgreSQL by running:
%%PREFIX%%/etc/rc.d/postgresql start
For postmaster settings, see ~pgsql/data/postgresql.conf
NB. FreeBSD's PostgreSQL port logs to syslog by default
See ~pgsql/data/postgresql.conf for more info
======================================================================
To run PostgreSQL at startup, add
'postgresql_enable="YES"' to /etc/rc.conf

View File

@ -12,6 +12,10 @@
# # optional
# postgresql_data="%%PREFIX%%/pgsql/data"
# postgresql_flags="-w -s -m fast"
# postgresql_initdb_flags="--encoding=utf-8 --lc_collate=C"
# postgresql_class="default"
#
# See %%PREFIX%%/share/doc/postgresql/README-server for more info
#
# This scripts takes one of the following commands:
#
@ -32,6 +36,7 @@ postgresql_flags=${postgresql_flags:-"-w -s -m fast"}
postgresql_user=pgsql
eval postgresql_data=${postgresql_data:-"~${postgresql_user}/data"}
postgresql_class=${postgresql_class:-"default"}
postgresql_initdb_flags=${postgresql_initdb_flags:-"--encoding=utf-8 --lc_collate=C"}
name=postgresql
rcvar=`set_rcvar`

View File

@ -1,49 +0,0 @@
For procedural languages and postgresql functions, please note that
you might have to update them when updating the server.
If you have many tables and many clients running, consider raising
kern.maxfiles using sysctl(8), or reconfigure your kernel
appropriately.
You should vacuum and backup your database regularly. There is a
periodic script, ${LOCALBASE}/etc/periodic/daily/502.pgsql, that you
may find useful. Per default, it perfoms vacuum on all databases
nightly. See the script for instructions.
To allow many simultaneous connections to your PostgreSQL server, you
should raise the SystemV shared memory limits in your kernel. Here are
example values for allowing up to 180 clients (configurations in
postgresql.conf also needed, of course):
options SYSVSHM
options SYSVSEM
options SYSVMSG
options SHMMAXPGS=65536
options SEMMNI=40
options SEMMNS=240
options SEMUME=40
options SEMMNU=120
If you plan to access your PostgreSQL server using ODBC, please
consider running the SQL script /usr/local/share/postgresql/odbc.sql
to get the functions required for ODBC compliance.
======================================================================
To initialize the database, run
/usr/local/etc/rc.d/010.pgsql.sh initdb
You can then start PostgreSQL by running:
/usr/local/etc/rc.d/010.pgsql.sh start
For postmaster settings, see ~pgsql/data/postgresql.conf
NB. FreeBSD's PostgreSQL port now by default logs to syslog
See ~pgsql/data/postgresql.conf for more info
======================================================================
To run PostgreSQL at startup, add
'postgresql_enable="YES"' to /etc/rc.conf

View File

@ -18,9 +18,11 @@ bin/pg_restore
bin/psql
bin/reindexdb
bin/vacuumdb
include/ecpg_config.h
include/postgresql/server/access/attnum.h
include/postgresql/server/access/clog.h
include/postgresql/server/access/genam.h
include/postgresql/server/access/gin.h
include/postgresql/server/access/gist.h
include/postgresql/server/access/gist_private.h
include/postgresql/server/access/gistscan.h
@ -28,15 +30,13 @@ include/postgresql/server/access/hash.h
include/postgresql/server/access/heapam.h
include/postgresql/server/access/hio.h
include/postgresql/server/access/htup.h
include/postgresql/server/access/iqual.h
include/postgresql/server/access/itup.h
include/postgresql/server/access/multixact.h
include/postgresql/server/access/nbtree.h
include/postgresql/server/access/printtup.h
include/postgresql/server/access/reloptions.h
include/postgresql/server/access/relscan.h
include/postgresql/server/access/rmgr.h
include/postgresql/server/access/rtree.h
include/postgresql/server/access/rtscan.h
include/postgresql/server/access/sdir.h
include/postgresql/server/access/skey.h
include/postgresql/server/access/slru.h
@ -91,10 +91,12 @@ include/postgresql/server/catalog/pg_pltemplate.h
include/postgresql/server/catalog/pg_proc.h
include/postgresql/server/catalog/pg_rewrite.h
include/postgresql/server/catalog/pg_shdepend.h
include/postgresql/server/catalog/pg_shdescription.h
include/postgresql/server/catalog/pg_statistic.h
include/postgresql/server/catalog/pg_tablespace.h
include/postgresql/server/catalog/pg_trigger.h
include/postgresql/server/catalog/pg_type.h
include/postgresql/server/catalog/toasting.h
include/postgresql/server/commands/alter.h
include/postgresql/server/commands/async.h
include/postgresql/server/commands/cluster.h
@ -150,6 +152,7 @@ include/postgresql/server/executor/nodeSubplan.h
include/postgresql/server/executor/nodeSubqueryscan.h
include/postgresql/server/executor/nodeTidscan.h
include/postgresql/server/executor/nodeUnique.h
include/postgresql/server/executor/nodeValuesscan.h
include/postgresql/server/executor/spi.h
include/postgresql/server/executor/spi_priv.h
include/postgresql/server/executor/tstoreReceiver.h
@ -168,6 +171,7 @@ include/postgresql/server/libpq/ip.h
include/postgresql/server/libpq/libpq-be.h
include/postgresql/server/libpq/libpq-fs.h
include/postgresql/server/libpq/libpq.h
include/postgresql/server/libpq/md5.h
include/postgresql/server/libpq/pqcomm.h
include/postgresql/server/libpq/pqformat.h
include/postgresql/server/libpq/pqsignal.h
@ -232,11 +236,11 @@ include/postgresql/server/parser/scansup.h
include/postgresql/server/pg_config.h
include/postgresql/server/pg_config_manual.h
include/postgresql/server/pg_config_os.h
include/postgresql/server/pg_trace.h
include/postgresql/server/pgstat.h
include/postgresql/server/pgtime.h
include/postgresql/server/port.h
include/postgresql/server/port/aix.h
include/postgresql/server/port/beos.h
include/postgresql/server/port/bsdi.h
include/postgresql/server/port/cygwin.h
include/postgresql/server/port/darwin.h
@ -249,7 +253,6 @@ include/postgresql/server/port/netbsd.h
include/postgresql/server/port/nextstep.h
include/postgresql/server/port/openbsd.h
include/postgresql/server/port/osf.h
include/postgresql/server/port/qnx4.h
include/postgresql/server/port/sco.h
include/postgresql/server/port/solaris.h
include/postgresql/server/port/sunos4.h
@ -312,7 +315,6 @@ include/postgresql/server/storage/sinval.h
include/postgresql/server/storage/sinvaladt.h
include/postgresql/server/storage/smgr.h
include/postgresql/server/storage/spin.h
include/postgresql/server/strdup.h
include/postgresql/server/tcop/dest.h
include/postgresql/server/tcop/fastpath.h
include/postgresql/server/tcop/pquery.h
@ -366,6 +368,7 @@ include/postgresql/server/utils/tqual.h
include/postgresql/server/utils/tuplesort.h
include/postgresql/server/utils/tuplestore.h
include/postgresql/server/utils/typcache.h
include/postgresql/server/utils/tzparser.h
include/postgresql/server/utils/varbit.h
@dirrm include/postgresql/server/utils
@dirrm include/postgresql/server/tcop
@ -430,7 +433,7 @@ lib/libecpg_compat.so
lib/libecpg_compat.so.2
lib/libpq.a
lib/libpq.so
lib/libpq.so.4
lib/libpq.so.5
lib/libpgtypes.a
lib/libpgtypes.so
lib/libpgtypes.so.2
@ -511,6 +514,7 @@ share/postgresql/psqlrc.sample
%%GETTEXT%%share/locale/ko/LC_MESSAGES/pgscripts.mo
%%GETTEXT%%share/locale/ko/LC_MESSAGES/psql.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/libpq.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_config.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_controldata.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_dump.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_resetxlog.mo

View File

@ -1,76 +1,74 @@
bin/DBMirror.pl
bin/clean_pending.pl
bin/dbf2pg
bin/fti.pl
bin/oid2name
bin/pgbench
bin/vacuumlo
lib/postgresql/_int.so
lib/postgresql/adminpack.so
lib/postgresql/autoinc.so
lib/postgresql/btree_gist.so
lib/postgresql/pg_buffercache.so
lib/postgresql/chkpass.so
lib/postgresql/cube.so
lib/postgresql/dblink.so
lib/postgresql/earthdistance.so
lib/postgresql/fti.so
lib/postgresql/fuzzystrmatch.so
lib/postgresql/hstore.so
lib/postgresql/insert_username.so
lib/postgresql/int_aggregate.so
lib/postgresql/isbn_issn.so
lib/postgresql/isn.so
lib/postgresql/lo.so
lib/postgresql/ltree.so
lib/postgresql/moddatetime.so
lib/postgresql/pending.so
lib/postgresql/pg_buffercache.so
lib/postgresql/pg_freespacemap.so
lib/postgresql/pg_trgm.so
lib/postgresql/pgcrypto.so
lib/postgresql/pgrowlocks.so
lib/postgresql/pgstattuple.so
lib/postgresql/refint.so
lib/postgresql/seg.so
lib/postgresql/sslinfo.so
lib/postgresql/tablefunc.so
lib/postgresql/timetravel.so
lib/postgresql/tsearch2.so
lib/postgresql/user_locks.so
%%DOCSDIR%%/README-contrib
%%DOCSDIR%%/contrib/README
%%DOCSDIR%%/contrib/README.apachelog
%%DOCSDIR%%/contrib/README.adminpack
%%DOCSDIR%%/contrib/README.btree_gist
%%DOCSDIR%%/contrib/README.chkpass
%%DOCSDIR%%/contrib/README.cube
%%DOCSDIR%%/contrib/README.dbf2pg
%%DOCSDIR%%/contrib/README.dblink
%%DOCSDIR%%/contrib/README.dbmirror
%%DOCSDIR%%/contrib/README.earthdistance
%%DOCSDIR%%/contrib/README.fti
%%DOCSDIR%%/contrib/README.fuzzystrmatch
%%DOCSDIR%%/contrib/README.hstore
%%DOCSDIR%%/contrib/README.int_aggregate
%%DOCSDIR%%/contrib/README.intarray
%%DOCSDIR%%/contrib/README.isbn_issn
%%DOCSDIR%%/contrib/README.isn
%%DOCSDIR%%/contrib/README.lo
%%DOCSDIR%%/contrib/README.ltree
%%DOCSDIR%%/contrib/README.oid2name
%%DOCSDIR%%/contrib/README.pg_buffercache
%%DOCSDIR%%/contrib/README.pg_freespacemap
%%DOCSDIR%%/contrib/README.pg_trgm
%%DOCSDIR%%/contrib/README.pgbench
%%DOCSDIR%%/contrib/README.pgbench_jis
%%DOCSDIR%%/contrib/README.pgcrypto
%%DOCSDIR%%/contrib/README.pgrowlocks
%%DOCSDIR%%/contrib/README.pgrowlocks.euc_jp
%%DOCSDIR%%/contrib/README.pgstattuple
%%DOCSDIR%%/contrib/README.pgstattuple.euc_jp
%%DOCSDIR%%/contrib/README.seg
%%DOCSDIR%%/contrib/README.soundex
%%DOCSDIR%%/contrib/README.spi
%%DOCSDIR%%/contrib/README.sslinfo
%%DOCSDIR%%/contrib/README.tablefunc
%%DOCSDIR%%/contrib/README.tsearch2
%%DOCSDIR%%/contrib/README.user_locks
%%DOCSDIR%%/contrib/README.vacuumlo
%%DOCSDIR%%/contrib/autoinc.example
%%DOCSDIR%%/contrib/insert_username.example
%%DOCSDIR%%/contrib/moddatetime.example
%%DOCSDIR%%/contrib/refint.example
%%DOCSDIR%%/contrib/timetravel.example
share/postgresql/contrib/AddTrigger.sql
share/postgresql/contrib/MirrorSetup.sql
share/postgresql/contrib/_int.sql
share/postgresql/contrib/adminpack.sql
share/postgresql/contrib/autoinc.sql
share/postgresql/contrib/btree_gist.sql
share/postgresql/contrib/chkpass.sql
@ -78,29 +76,52 @@ share/postgresql/contrib/cube.sql
share/postgresql/contrib/dblink.sql
share/postgresql/contrib/earthdistance.sql
share/postgresql/contrib/english.stop
share/postgresql/contrib/fti.sql
share/postgresql/contrib/fuzzystrmatch.sql
share/postgresql/contrib/hstore.sql
share/postgresql/contrib/insert_username.sql
share/postgresql/contrib/int_aggregate.sql
share/postgresql/contrib/isbn_issn.sql
share/postgresql/contrib/isn.sql
share/postgresql/contrib/lo.sql
share/postgresql/contrib/lo_drop.sql
share/postgresql/contrib/lo_test.sql
share/postgresql/contrib/ltree.sql
share/postgresql/contrib/moddatetime.sql
share/postgresql/contrib/pg_buffercache.sql
share/postgresql/contrib/pg_freespacemap.sql
share/postgresql/contrib/pg_trgm.sql
share/postgresql/contrib/pgcrypto.sql
share/postgresql/contrib/pgrowlocks.sql
share/postgresql/contrib/pgstattuple.sql
share/postgresql/contrib/refint.sql
share/postgresql/contrib/russian.stop
share/postgresql/contrib/russian.stop.utf8
share/postgresql/contrib/seg.sql
share/postgresql/contrib/slaveDatabase.conf
share/postgresql/contrib/sslinfo.sql
share/postgresql/contrib/tablefunc.sql
share/postgresql/contrib/thesaurus
share/postgresql/contrib/timetravel.sql
share/postgresql/contrib/tsearch2.sql
share/postgresql/contrib/untsearch2.sql
share/postgresql/contrib/user_locks.sql
share/postgresql/contrib/uninstall__int.sql
share/postgresql/contrib/uninstall_adminpack.sql
share/postgresql/contrib/uninstall_btree_gist.sql
share/postgresql/contrib/uninstall_chkpass.sql
share/postgresql/contrib/uninstall_cube.sql
share/postgresql/contrib/uninstall_dblink.sql
share/postgresql/contrib/uninstall_earthdistance.sql
share/postgresql/contrib/uninstall_fuzzystrmatch.sql
share/postgresql/contrib/uninstall_hstore.sql
share/postgresql/contrib/uninstall_int_aggregate.sql
share/postgresql/contrib/uninstall_isn.sql
share/postgresql/contrib/uninstall_lo.sql
share/postgresql/contrib/uninstall_ltree.sql
share/postgresql/contrib/uninstall_pg_buffercache.sql
share/postgresql/contrib/uninstall_pg_freespacemap.sql
share/postgresql/contrib/uninstall_pg_trgm.sql
share/postgresql/contrib/uninstall_pgcrypto.sql
share/postgresql/contrib/uninstall_pgrowlocks.sql
share/postgresql/contrib/uninstall_pgstattuple.sql
share/postgresql/contrib/uninstall_seg.sql
share/postgresql/contrib/uninstall_sslinfo.sql
share/postgresql/contrib/uninstall_tablefunc.sql
share/postgresql/contrib/uninstall_tsearch2.sql
@dirrmtry share/postgresql/contrib >&2
@dirrmtry share/postgresql >&2
@dirrmtry %%DOCSDIR%%/contrib >&2

File diff suppressed because it is too large Load Diff

View File

@ -6,28 +6,27 @@
#
PORTNAME?= postgresql
PKGNAMESUFFIX?= -server
PORTVERSION?= 8.1.4
PORTREVISION?= 1
PORTVERSION?= 8.2.0
PORTREVISION?= 0
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= source/v${PORTVERSION}
PKGNAMESUFFIX?= -server
DISTFILES?= postgresql-base-${PORTVERSION}${EXTRACT_SUFX} \
postgresql-opt-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER?= girgen@FreeBSD.org
COMMENT?= The most advanced open-source database available anywhere
CONFLICTS?= ${PORTNAME}-client-7.[0-9]* \
${PORTNAME}${PKGNAMESUFFIX}-7.[0-9]* \
${PORTNAME}-client-8.0.* \
${PORTNAME}${PKGNAMESUFFIX}-8.0.*
BROKEN= work in progress
CONFLICTS?= ${PORTNAME}-client-7.* \
${PORTNAME}${PKGNAMESUFFIX}-7.* \
${PORTNAME}-client-8.[0-13-9]* \
${PORTNAME}${PKGNAMESUFFIX}-8.[0-13-9]*
WRKSRC= ${WRKDIR}/postgresql-${PORTVERSION}
DIST_SUBDIR= postgresql
UNIQUENAME?= ${PORTNAME}81
UNIQUENAME?= ${PORTNAME}82
LATEST_LINK?= ${PKGNAMEPREFIX}${UNIQUENAME}${PKGNAMESUFFIX}
PKGINSTALL?= ${PKGDIR}/pkg-install${PKGNAMESUFFIX}
@ -47,14 +46,14 @@ CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
PLIST= ${PKGDIR}/pkg-plist${PKGNAMESUFFIX}
BUILD_DIRS?= src/port src/timezone src/backend src/backend/utils/mb/conversion_procs \
src/pl src/utils
src/pl config
INSTALL_DIRS?= ${BUILD_DIRS}
PKGMESSAGE= ${WRKDIR}/.pkg-message${PKGNAMESUFFIX}
.if !defined(CLIENT_ONLY) && !defined(SLAVE_ONLY)
SERVER_ONLY= yes
USE_RC_SUBR= yes
RCSCRIPT= ${PREFIX}/etc/rc.d/010.pgsql.sh
USE_RC_SUBR= postgresql
SUB_FILES+= dot.cshrc dot.profile
USE_PGSQL= yes
WANT_PGSQL_VER= ${PORTVERSION:C/([0-9][0-9]*)\.([0-9][0-9]*).*/\1\2/g}
.endif
@ -76,7 +75,7 @@ CONFIGURE_ARGS+=--with-openssl
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
BROKEN= "Coredump during build on alpha 4.x"
BROKEN= Coredump during build on alpha 4.x
.endif
.if !defined(SLAVE_ONLY)
@ -95,7 +94,7 @@ OPTIONS+= TESTS "Allows the use of a \"check\" target (server)" off
OPTIONS+= DEBUG "Builds with debugging symbols" off
# See http://people.freebsd.org/~girgen/postgresql-icu/README.html for more info
OPTIONS+= ICU "Use ICU for unicode collation (server)" off
#OPTIONS+= ICU "Use ICU for unicode collation (server)" off
# See http://gppl.moonbone.ru/ for more info
#OPTIONS+= HIER "Builds with query hierarchy (server)" off
@ -104,22 +103,26 @@ OPTIONS+= ICU "Use ICU for unicode collation (server)" off
# (requires dump/restore if modified.)
OPTIONS+= INTDATE "Builds with 64-bit date/time type (server)" off
. if defined(SERVER_ONLY) && defined(WITH_HIER)
#PATCH_SITES+= http://gppl.moonbone.ru/:hier801054
#PATCHFILES+= hier-Pg8.0.1-0.5.4.diff.gz:hier801054
#USE_BISON= yes
. endif
# . if (defined(SERVER_ONLY) && defined(WITH_HIER)) || make(makesum)
# PATCH_SITES+= http://gppl.moonbone.ru/:hier812055
# PATCHFILES+= hier-Pg8.1.2-0.5.5.diff.gz:hier812055
# USE_BISON= yes
# . endif
. if defined(SERVER_ONLY) && defined(WITH_ICU)
USE_AUTOTOOLS= autoconf:259
CONFIGURE_ARGS+=--with-icu
LIB_DEPENDS= icudata:${PORTSDIR}/devel/icu
PATCH_SITES+= http://people.freebsd.org/~girgen/postgresql-icu/:icu
PATCHFILES+= pg-814-icu-xx-2006-09-25.diff.gz:icu
. endif
# . if (defined(SERVER_ONLY) && defined(WITH_ICU)) || make(makesum)
# USE_AUTOTOOLS= autoconf:259
# CONFIGURE_ARGS+=--with-icu
# LIB_DEPENDS= icudata:${PORTSDIR}/devel/icu
# PATCH_SITES+= http://people.freebsd.org/~girgen/postgresql-icu/:icu
# PATCHFILES+= pg-814-icu-xx-2006-09-25.diff.gz:icu
# . endif
PATCH_DIST_STRIP=-p1
. ifmake makesum
DISTFILES+= postgresql-docs-${PORTVERSION}${EXTRACT_SUFX}
. endif
. if defined(SERVER_ONLY) && defined(WITH_PAM)
CONFIGURE_ARGS+=--with-pam
. endif
@ -173,12 +176,12 @@ CONFIGURE_ARGS+=--with-krb5
# Postgresql apps will not link properly when libpq is linked with base heimdal in /usr,
# so we always use the heimdal port. See
# http://lists.freebsd.org/pipermail/freebsd-stable/2005-October/018809.html
LIB_DEPENDS+= krb5.20:${PORTSDIR}/security/heimdal
LIB_DEPENDS+= krb5.21:${PORTSDIR}/security/heimdal
CONFIGURE_ARGS+=--with-krb5
. endif
. endif
. if defined(SERVER_ONLY) && defined(WITH_TESTS)
. if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || make(makesum)
DISTFILES+= postgresql-test-${PORTVERSION}${EXTRACT_SUFX}
EXTRA_PATCHES= ${FILESDIR}/regresspatch-src-test-regress-pgregress-sh
. endif
@ -221,13 +224,13 @@ MAN7= abort.7 alter_aggregate.7 alter_conversion.7 alter_database.7 \
drop_aggregate.7 drop_cast.7 drop_conversion.7 \
drop_database.7 drop_domain.7 drop_function.7 \
drop_group.7 drop_index.7 drop_language.7 \
drop_operator.7 drop_operator_class.7 drop_role.7 \
drop_rule.7 \
drop_operator.7 drop_operator_class.7 drop_owned.7 \
drop_role.7 drop_rule.7 \
drop_schema.7 drop_sequence.7 drop_table.7 drop_trigger.7 \
drop_type.7 drop_user.7 drop_view.7 end.7 execute.7 \
explain.7 fetch.7 grant.7 insert.7 listen.7 load.7 \
lock.7 move.7 notify.7 prepare.7 prepare_transaction.7 \
reindex.7 reset.7 \
reassign_owned.7 reindex.7 reset.7 \
revoke.7 rollback.7 rollback_prepared.7 select.7 \
select_into.7 set.7 \
set_constraints.7 set_role.7 set_transaction.7 show.7 \
@ -236,7 +239,7 @@ MAN7= abort.7 alter_aggregate.7 alter_conversion.7 alter_database.7 \
alter_operator.7 alter_tablespace.7 alter_type.7 \
create_tablespace.7 drop_tablespace.7 \
release_savepoint.7 rollback_to_savepoint.7 \
savepoint.7
savepoint.7 values.7
.endif
.if defined(SERVER_ONLY)
@ -260,11 +263,9 @@ do-build:
cd ${WRKSRC}/$${dir} && ${SETENV} ${MAKE_ENV} ${GMAKE}; \
done
. if exists(${MASTERDIR}/pkg-message${PKGNAMESUFFIX})
post-build:
@ ${SED} "s|/usr/local|${PREFIX}|g" \
< ${MASTERDIR}/pkg-message${PKGNAMESUFFIX} \
> ${PKGMESSAGE}
. if exists(${FILESDIR}/pkg-message${PKGNAMESUFFIX}.in)
SUB_FILES+= pkg-message${PKGNAMESUFFIX}
PKGMESSAGE= ${WRKSRC}/pkg-message${PKGNAMESUFFIX}
. endif
.endif
@ -283,20 +284,13 @@ do-install:
. if defined(SERVER_ONLY)
@ ${MKDIR} ${PREFIX}/share/postgresql
. for i in profile cshrc
@ ${SED} "s|%%PREFIX%%|${PREFIX}|g" \
< ${FILESDIR}/dot.$i.in \
> ${PREFIX}/share/postgresql/dot.$i.dist; \
${CP} ${PREFIX}/share/postgresql/dot.$i.dist ~pgsql/; \
${INSTALL_DATA} ${WRKDIR}/dot.$i ${PREFIX}/share/postgresql/dot.$i.dist; \
${INSTALL_DATA} -o pgsql -g pgsql ${WRKDIR}/dot.$i ~pgsql/dot.$i.dist ; \
if [ ! -f ~pgsql/.$i ]; then \
${CP} ${PREFIX}/share/postgresql/dot.$i.dist ~pgsql/.$i; \
${CP} -p ~pgsql/dot.$i.dist ~pgsql/.$i; \
fi
. endfor
@ ${SED} -e "s|%%PREFIX%%|${PREFIX}|g; s|%%RC_SUBR%%|${RC_SUBR}|g" \
< ${FILESDIR}/pgsql.sh.tmpl \
> ${RCSCRIPT} ;\
${CHMOD} 555 ${RCSCRIPT} ;\
${CHOWN} root:pgsql ${RCSCRIPT} ;\
${CHOWN} -R pgsql:pgsql ~pgsql/. ;\
@ ${CHOWN} -R pgsql:pgsql ~pgsql/. ;\
${MKDIR} ${PREFIX}/etc/periodic/daily ;\
${INSTALL_SCRIPT} ${FILESDIR}/502.pgsql \
${PREFIX}/etc/periodic/daily

View File

@ -1,15 +1,15 @@
MD5 (postgresql/postgresql-base-8.1.4.tar.bz2) = 7ba24eaa31237eb8713782508de4dec7
SHA256 (postgresql/postgresql-base-8.1.4.tar.bz2) = 3d5e6cf4aa1593730c61676ffc4e3acbed73c0e13fb246035e54e4cf83fa60e1
SIZE (postgresql/postgresql-base-8.1.4.tar.bz2) = 8040435
MD5 (postgresql/postgresql-docs-8.1.4.tar.bz2) = 5edc420b949a22d9960fc72609a24af3
SHA256 (postgresql/postgresql-docs-8.1.4.tar.bz2) = 1578423df71962e22fe94b1123db680983d4e2f82e5bbb4913d96d9f6265de7f
SIZE (postgresql/postgresql-docs-8.1.4.tar.bz2) = 2485052
MD5 (postgresql/postgresql-opt-8.1.4.tar.bz2) = 6aad690bd918086cc3fbf673b74e65e6
SHA256 (postgresql/postgresql-opt-8.1.4.tar.bz2) = 5a6d27e303ad9b073f91e51658b13cfeb153e3d886af5e5c1093ea315e15738c
SIZE (postgresql/postgresql-opt-8.1.4.tar.bz2) = 144696
MD5 (postgresql/postgresql-test-8.1.4.tar.bz2) = a4918ec95fd589f8b1eeb0e3d704045c
SHA256 (postgresql/postgresql-test-8.1.4.tar.bz2) = b7449222f9f4c3340d6d065914d10df1d4a8b13d63c967c9e65190812325b8d9
SIZE (postgresql/postgresql-test-8.1.4.tar.bz2) = 946868
MD5 (postgresql/postgresql-base-8.2.0.tar.bz2) = c827602068e8d3ba20d575c87d102932
SHA256 (postgresql/postgresql-base-8.2.0.tar.bz2) = 26544b843761b5acc4c3452ac3403e67cbe5d4a486583242bb6f4c77810b4284
SIZE (postgresql/postgresql-base-8.2.0.tar.bz2) = 8483588
MD5 (postgresql/postgresql-opt-8.2.0.tar.bz2) = d0bf0284ae3ae6ea56f6b08427f7ab9a
SHA256 (postgresql/postgresql-opt-8.2.0.tar.bz2) = 06a016bf72a33061c4f297f15d32b8aadd742bfe54256573e59bb7916ec3df29
SIZE (postgresql/postgresql-opt-8.2.0.tar.bz2) = 167666
MD5 (postgresql/postgresql-docs-8.2.0.tar.bz2) = 4221311dc619659344b8e03ddbaa249b
SHA256 (postgresql/postgresql-docs-8.2.0.tar.bz2) = 30096acf2d6c0bf5937571625de2d477586f0e5989ee8d56c58868bc738d4f2e
SIZE (postgresql/postgresql-docs-8.2.0.tar.bz2) = 2744490
MD5 (postgresql/postgresql-test-8.2.0.tar.bz2) = 0269ab5b70f9b677a97a856c3e46a5f5
SHA256 (postgresql/postgresql-test-8.2.0.tar.bz2) = 695c82bb987fb0fcc09c059b7da914164fd1577d5ab8873d7371ec398e47dff5
SIZE (postgresql/postgresql-test-8.2.0.tar.bz2) = 985281
MD5 (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 2eb31538f3ee367767aeacd95b11d623
SHA256 (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 8dea05bdbc2b78426b159f628b693f69da17b930fe4882e166d5e8a3e698b7d9
SIZE (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 3987

View File

@ -1,5 +1,5 @@
--- src/backend/utils/misc/postgresql.conf.sample~ Tue Nov 8 00:45:49 2005
+++ src/backend/utils/misc/postgresql.conf.sample Tue Nov 8 00:47:16 2005
--- src/backend/utils/misc/postgresql.conf.sample.orig Sun May 21 22:11:02 2006
+++ src/backend/utils/misc/postgresql.conf.sample Tue Nov 7 17:23:50 2006
@@ -206,6 +206,7 @@
# - Where to Log -
@ -16,3 +16,12 @@
#silent_mode = off # DO NOT USE without syslog or
# redirect_stderr
@@ -339,6 +341,8 @@
#---------------------------------------------------------------------------
# AUTOVACUUM PARAMETERS
#---------------------------------------------------------------------------
+
+autovacuum = on
#autovacuum = off # enable autovacuum subprocess?
#autovacuum_naptime = 60 # time between autovacuum runs, in secs

View File

@ -1,3 +1,3 @@
The PostgreSQL contrib utilities have been installed. Please see
/usr/local/share/doc/postgresql/contrib/README
%%PREFIX%%/share/doc/postgresql/contrib/README
for more information.

View File

@ -0,0 +1,70 @@
For procedural languages and postgresql functions, please note that
you might have to update them when updating the server.
If you have many tables and many clients running, consider raising
kern.maxfiles using sysctl(8), or reconfigure your kernel
appropriately.
The port is set up to use autovacuum for new databases, but you might
also want to vacuum and perhaps backup your database regularly. There
is a periodic script, %%PREFIX%%/etc/periodic/daily/502.pgsql, that
you may find useful. You can use it to backup and perfom vacuum on all
databases nightly. Per default, it perfoms `vacuum analyze'. See the
script for instructions. For autovacuum settings, please review
~pgsql/data/postgresql.conf.
To allow many simultaneous connections to your PostgreSQL server, you
should raise the SystemV shared memory limits in your kernel. Here are
example values for allowing up to 180 clients (configurations in
postgresql.conf also needed, of course):
options SYSVSHM
options SYSVSEM
options SYSVMSG
options SHMMAXPGS=65536
options SEMMNI=40
options SEMMNS=240
options SEMUME=40
options SEMMNU=120
If you plan to access your PostgreSQL server using ODBC, please
consider running the SQL script %%PREFIX%%/share/postgresql/odbc.sql
to get the functions required for ODBC compliance.
Please note that if you use the rc script,
%%PREFIX%%/etc/rc.conf/postgresql, to initialize the database, unicode
(UTF-8) will be used to store character data by default. Set
postgresql_initdb_flags or use login.conf settings described below to
alter this behaviour. See the start rc script for more info.
To set limits, environment stuff like locale and collation and other
things, you can set up a class in /etc/login.conf before initializing
the database. Add something similar to this to /etc/login.conf:
---
postgres:\
:lang=en_US.UTF-8:\
:setenv=LC_COLLATE=C:\
:tc=default:
---
and run `cap_mkdb /etc/login.conf'.
Then add 'postgresql_class="postgres"' to /etc/rc.conf.
======================================================================
To initialize the database, run
%%PREFIX%%/etc/rc.d/postgresql initdb
You can then start PostgreSQL by running:
%%PREFIX%%/etc/rc.d/postgresql start
For postmaster settings, see ~pgsql/data/postgresql.conf
NB. FreeBSD's PostgreSQL port logs to syslog by default
See ~pgsql/data/postgresql.conf for more info
======================================================================
To run PostgreSQL at startup, add
'postgresql_enable="YES"' to /etc/rc.conf

View File

@ -12,6 +12,10 @@
# # optional
# postgresql_data="%%PREFIX%%/pgsql/data"
# postgresql_flags="-w -s -m fast"
# postgresql_initdb_flags="--encoding=utf-8 --lc_collate=C"
# postgresql_class="default"
#
# See %%PREFIX%%/share/doc/postgresql/README-server for more info
#
# This scripts takes one of the following commands:
#
@ -32,6 +36,7 @@ postgresql_flags=${postgresql_flags:-"-w -s -m fast"}
postgresql_user=pgsql
eval postgresql_data=${postgresql_data:-"~${postgresql_user}/data"}
postgresql_class=${postgresql_class:-"default"}
postgresql_initdb_flags=${postgresql_initdb_flags:-"--encoding=utf-8 --lc_collate=C"}
name=postgresql
rcvar=`set_rcvar`

View File

@ -1,49 +0,0 @@
For procedural languages and postgresql functions, please note that
you might have to update them when updating the server.
If you have many tables and many clients running, consider raising
kern.maxfiles using sysctl(8), or reconfigure your kernel
appropriately.
You should vacuum and backup your database regularly. There is a
periodic script, ${LOCALBASE}/etc/periodic/daily/502.pgsql, that you
may find useful. Per default, it perfoms vacuum on all databases
nightly. See the script for instructions.
To allow many simultaneous connections to your PostgreSQL server, you
should raise the SystemV shared memory limits in your kernel. Here are
example values for allowing up to 180 clients (configurations in
postgresql.conf also needed, of course):
options SYSVSHM
options SYSVSEM
options SYSVMSG
options SHMMAXPGS=65536
options SEMMNI=40
options SEMMNS=240
options SEMUME=40
options SEMMNU=120
If you plan to access your PostgreSQL server using ODBC, please
consider running the SQL script /usr/local/share/postgresql/odbc.sql
to get the functions required for ODBC compliance.
======================================================================
To initialize the database, run
/usr/local/etc/rc.d/010.pgsql.sh initdb
You can then start PostgreSQL by running:
/usr/local/etc/rc.d/010.pgsql.sh start
For postmaster settings, see ~pgsql/data/postgresql.conf
NB. FreeBSD's PostgreSQL port now by default logs to syslog
See ~pgsql/data/postgresql.conf for more info
======================================================================
To run PostgreSQL at startup, add
'postgresql_enable="YES"' to /etc/rc.conf

View File

@ -18,9 +18,11 @@ bin/pg_restore
bin/psql
bin/reindexdb
bin/vacuumdb
include/ecpg_config.h
include/postgresql/server/access/attnum.h
include/postgresql/server/access/clog.h
include/postgresql/server/access/genam.h
include/postgresql/server/access/gin.h
include/postgresql/server/access/gist.h
include/postgresql/server/access/gist_private.h
include/postgresql/server/access/gistscan.h
@ -28,15 +30,13 @@ include/postgresql/server/access/hash.h
include/postgresql/server/access/heapam.h
include/postgresql/server/access/hio.h
include/postgresql/server/access/htup.h
include/postgresql/server/access/iqual.h
include/postgresql/server/access/itup.h
include/postgresql/server/access/multixact.h
include/postgresql/server/access/nbtree.h
include/postgresql/server/access/printtup.h
include/postgresql/server/access/reloptions.h
include/postgresql/server/access/relscan.h
include/postgresql/server/access/rmgr.h
include/postgresql/server/access/rtree.h
include/postgresql/server/access/rtscan.h
include/postgresql/server/access/sdir.h
include/postgresql/server/access/skey.h
include/postgresql/server/access/slru.h
@ -91,10 +91,12 @@ include/postgresql/server/catalog/pg_pltemplate.h
include/postgresql/server/catalog/pg_proc.h
include/postgresql/server/catalog/pg_rewrite.h
include/postgresql/server/catalog/pg_shdepend.h
include/postgresql/server/catalog/pg_shdescription.h
include/postgresql/server/catalog/pg_statistic.h
include/postgresql/server/catalog/pg_tablespace.h
include/postgresql/server/catalog/pg_trigger.h
include/postgresql/server/catalog/pg_type.h
include/postgresql/server/catalog/toasting.h
include/postgresql/server/commands/alter.h
include/postgresql/server/commands/async.h
include/postgresql/server/commands/cluster.h
@ -150,6 +152,7 @@ include/postgresql/server/executor/nodeSubplan.h
include/postgresql/server/executor/nodeSubqueryscan.h
include/postgresql/server/executor/nodeTidscan.h
include/postgresql/server/executor/nodeUnique.h
include/postgresql/server/executor/nodeValuesscan.h
include/postgresql/server/executor/spi.h
include/postgresql/server/executor/spi_priv.h
include/postgresql/server/executor/tstoreReceiver.h
@ -168,6 +171,7 @@ include/postgresql/server/libpq/ip.h
include/postgresql/server/libpq/libpq-be.h
include/postgresql/server/libpq/libpq-fs.h
include/postgresql/server/libpq/libpq.h
include/postgresql/server/libpq/md5.h
include/postgresql/server/libpq/pqcomm.h
include/postgresql/server/libpq/pqformat.h
include/postgresql/server/libpq/pqsignal.h
@ -232,11 +236,11 @@ include/postgresql/server/parser/scansup.h
include/postgresql/server/pg_config.h
include/postgresql/server/pg_config_manual.h
include/postgresql/server/pg_config_os.h
include/postgresql/server/pg_trace.h
include/postgresql/server/pgstat.h
include/postgresql/server/pgtime.h
include/postgresql/server/port.h
include/postgresql/server/port/aix.h
include/postgresql/server/port/beos.h
include/postgresql/server/port/bsdi.h
include/postgresql/server/port/cygwin.h
include/postgresql/server/port/darwin.h
@ -249,7 +253,6 @@ include/postgresql/server/port/netbsd.h
include/postgresql/server/port/nextstep.h
include/postgresql/server/port/openbsd.h
include/postgresql/server/port/osf.h
include/postgresql/server/port/qnx4.h
include/postgresql/server/port/sco.h
include/postgresql/server/port/solaris.h
include/postgresql/server/port/sunos4.h
@ -312,7 +315,6 @@ include/postgresql/server/storage/sinval.h
include/postgresql/server/storage/sinvaladt.h
include/postgresql/server/storage/smgr.h
include/postgresql/server/storage/spin.h
include/postgresql/server/strdup.h
include/postgresql/server/tcop/dest.h
include/postgresql/server/tcop/fastpath.h
include/postgresql/server/tcop/pquery.h
@ -366,6 +368,7 @@ include/postgresql/server/utils/tqual.h
include/postgresql/server/utils/tuplesort.h
include/postgresql/server/utils/tuplestore.h
include/postgresql/server/utils/typcache.h
include/postgresql/server/utils/tzparser.h
include/postgresql/server/utils/varbit.h
@dirrm include/postgresql/server/utils
@dirrm include/postgresql/server/tcop
@ -430,7 +433,7 @@ lib/libecpg_compat.so
lib/libecpg_compat.so.2
lib/libpq.a
lib/libpq.so
lib/libpq.so.4
lib/libpq.so.5
lib/libpgtypes.a
lib/libpgtypes.so
lib/libpgtypes.so.2
@ -511,6 +514,7 @@ share/postgresql/psqlrc.sample
%%GETTEXT%%share/locale/ko/LC_MESSAGES/pgscripts.mo
%%GETTEXT%%share/locale/ko/LC_MESSAGES/psql.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/libpq.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_config.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_controldata.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_dump.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_resetxlog.mo

View File

@ -1,76 +1,74 @@
bin/DBMirror.pl
bin/clean_pending.pl
bin/dbf2pg
bin/fti.pl
bin/oid2name
bin/pgbench
bin/vacuumlo
lib/postgresql/_int.so
lib/postgresql/adminpack.so
lib/postgresql/autoinc.so
lib/postgresql/btree_gist.so
lib/postgresql/pg_buffercache.so
lib/postgresql/chkpass.so
lib/postgresql/cube.so
lib/postgresql/dblink.so
lib/postgresql/earthdistance.so
lib/postgresql/fti.so
lib/postgresql/fuzzystrmatch.so
lib/postgresql/hstore.so
lib/postgresql/insert_username.so
lib/postgresql/int_aggregate.so
lib/postgresql/isbn_issn.so
lib/postgresql/isn.so
lib/postgresql/lo.so
lib/postgresql/ltree.so
lib/postgresql/moddatetime.so
lib/postgresql/pending.so
lib/postgresql/pg_buffercache.so
lib/postgresql/pg_freespacemap.so
lib/postgresql/pg_trgm.so
lib/postgresql/pgcrypto.so
lib/postgresql/pgrowlocks.so
lib/postgresql/pgstattuple.so
lib/postgresql/refint.so
lib/postgresql/seg.so
lib/postgresql/sslinfo.so
lib/postgresql/tablefunc.so
lib/postgresql/timetravel.so
lib/postgresql/tsearch2.so
lib/postgresql/user_locks.so
%%DOCSDIR%%/README-contrib
%%DOCSDIR%%/contrib/README
%%DOCSDIR%%/contrib/README.apachelog
%%DOCSDIR%%/contrib/README.adminpack
%%DOCSDIR%%/contrib/README.btree_gist
%%DOCSDIR%%/contrib/README.chkpass
%%DOCSDIR%%/contrib/README.cube
%%DOCSDIR%%/contrib/README.dbf2pg
%%DOCSDIR%%/contrib/README.dblink
%%DOCSDIR%%/contrib/README.dbmirror
%%DOCSDIR%%/contrib/README.earthdistance
%%DOCSDIR%%/contrib/README.fti
%%DOCSDIR%%/contrib/README.fuzzystrmatch
%%DOCSDIR%%/contrib/README.hstore
%%DOCSDIR%%/contrib/README.int_aggregate
%%DOCSDIR%%/contrib/README.intarray
%%DOCSDIR%%/contrib/README.isbn_issn
%%DOCSDIR%%/contrib/README.isn
%%DOCSDIR%%/contrib/README.lo
%%DOCSDIR%%/contrib/README.ltree
%%DOCSDIR%%/contrib/README.oid2name
%%DOCSDIR%%/contrib/README.pg_buffercache
%%DOCSDIR%%/contrib/README.pg_freespacemap
%%DOCSDIR%%/contrib/README.pg_trgm
%%DOCSDIR%%/contrib/README.pgbench
%%DOCSDIR%%/contrib/README.pgbench_jis
%%DOCSDIR%%/contrib/README.pgcrypto
%%DOCSDIR%%/contrib/README.pgrowlocks
%%DOCSDIR%%/contrib/README.pgrowlocks.euc_jp
%%DOCSDIR%%/contrib/README.pgstattuple
%%DOCSDIR%%/contrib/README.pgstattuple.euc_jp
%%DOCSDIR%%/contrib/README.seg
%%DOCSDIR%%/contrib/README.soundex
%%DOCSDIR%%/contrib/README.spi
%%DOCSDIR%%/contrib/README.sslinfo
%%DOCSDIR%%/contrib/README.tablefunc
%%DOCSDIR%%/contrib/README.tsearch2
%%DOCSDIR%%/contrib/README.user_locks
%%DOCSDIR%%/contrib/README.vacuumlo
%%DOCSDIR%%/contrib/autoinc.example
%%DOCSDIR%%/contrib/insert_username.example
%%DOCSDIR%%/contrib/moddatetime.example
%%DOCSDIR%%/contrib/refint.example
%%DOCSDIR%%/contrib/timetravel.example
share/postgresql/contrib/AddTrigger.sql
share/postgresql/contrib/MirrorSetup.sql
share/postgresql/contrib/_int.sql
share/postgresql/contrib/adminpack.sql
share/postgresql/contrib/autoinc.sql
share/postgresql/contrib/btree_gist.sql
share/postgresql/contrib/chkpass.sql
@ -78,29 +76,52 @@ share/postgresql/contrib/cube.sql
share/postgresql/contrib/dblink.sql
share/postgresql/contrib/earthdistance.sql
share/postgresql/contrib/english.stop
share/postgresql/contrib/fti.sql
share/postgresql/contrib/fuzzystrmatch.sql
share/postgresql/contrib/hstore.sql
share/postgresql/contrib/insert_username.sql
share/postgresql/contrib/int_aggregate.sql
share/postgresql/contrib/isbn_issn.sql
share/postgresql/contrib/isn.sql
share/postgresql/contrib/lo.sql
share/postgresql/contrib/lo_drop.sql
share/postgresql/contrib/lo_test.sql
share/postgresql/contrib/ltree.sql
share/postgresql/contrib/moddatetime.sql
share/postgresql/contrib/pg_buffercache.sql
share/postgresql/contrib/pg_freespacemap.sql
share/postgresql/contrib/pg_trgm.sql
share/postgresql/contrib/pgcrypto.sql
share/postgresql/contrib/pgrowlocks.sql
share/postgresql/contrib/pgstattuple.sql
share/postgresql/contrib/refint.sql
share/postgresql/contrib/russian.stop
share/postgresql/contrib/russian.stop.utf8
share/postgresql/contrib/seg.sql
share/postgresql/contrib/slaveDatabase.conf
share/postgresql/contrib/sslinfo.sql
share/postgresql/contrib/tablefunc.sql
share/postgresql/contrib/thesaurus
share/postgresql/contrib/timetravel.sql
share/postgresql/contrib/tsearch2.sql
share/postgresql/contrib/untsearch2.sql
share/postgresql/contrib/user_locks.sql
share/postgresql/contrib/uninstall__int.sql
share/postgresql/contrib/uninstall_adminpack.sql
share/postgresql/contrib/uninstall_btree_gist.sql
share/postgresql/contrib/uninstall_chkpass.sql
share/postgresql/contrib/uninstall_cube.sql
share/postgresql/contrib/uninstall_dblink.sql
share/postgresql/contrib/uninstall_earthdistance.sql
share/postgresql/contrib/uninstall_fuzzystrmatch.sql
share/postgresql/contrib/uninstall_hstore.sql
share/postgresql/contrib/uninstall_int_aggregate.sql
share/postgresql/contrib/uninstall_isn.sql
share/postgresql/contrib/uninstall_lo.sql
share/postgresql/contrib/uninstall_ltree.sql
share/postgresql/contrib/uninstall_pg_buffercache.sql
share/postgresql/contrib/uninstall_pg_freespacemap.sql
share/postgresql/contrib/uninstall_pg_trgm.sql
share/postgresql/contrib/uninstall_pgcrypto.sql
share/postgresql/contrib/uninstall_pgrowlocks.sql
share/postgresql/contrib/uninstall_pgstattuple.sql
share/postgresql/contrib/uninstall_seg.sql
share/postgresql/contrib/uninstall_sslinfo.sql
share/postgresql/contrib/uninstall_tablefunc.sql
share/postgresql/contrib/uninstall_tsearch2.sql
@dirrmtry share/postgresql/contrib >&2
@dirrmtry share/postgresql >&2
@dirrmtry %%DOCSDIR%%/contrib >&2

File diff suppressed because it is too large Load Diff

View File

@ -6,28 +6,27 @@
#
PORTNAME?= postgresql
PKGNAMESUFFIX?= -server
PORTVERSION?= 8.1.4
PORTREVISION?= 1
PORTVERSION?= 8.2.0
PORTREVISION?= 0
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= source/v${PORTVERSION}
PKGNAMESUFFIX?= -server
DISTFILES?= postgresql-base-${PORTVERSION}${EXTRACT_SUFX} \
postgresql-opt-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER?= girgen@FreeBSD.org
COMMENT?= The most advanced open-source database available anywhere
CONFLICTS?= ${PORTNAME}-client-7.[0-9]* \
${PORTNAME}${PKGNAMESUFFIX}-7.[0-9]* \
${PORTNAME}-client-8.0.* \
${PORTNAME}${PKGNAMESUFFIX}-8.0.*
BROKEN= work in progress
CONFLICTS?= ${PORTNAME}-client-7.* \
${PORTNAME}${PKGNAMESUFFIX}-7.* \
${PORTNAME}-client-8.[0-13-9]* \
${PORTNAME}${PKGNAMESUFFIX}-8.[0-13-9]*
WRKSRC= ${WRKDIR}/postgresql-${PORTVERSION}
DIST_SUBDIR= postgresql
UNIQUENAME?= ${PORTNAME}81
UNIQUENAME?= ${PORTNAME}82
LATEST_LINK?= ${PKGNAMEPREFIX}${UNIQUENAME}${PKGNAMESUFFIX}
PKGINSTALL?= ${PKGDIR}/pkg-install${PKGNAMESUFFIX}
@ -47,14 +46,14 @@ CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
PLIST= ${PKGDIR}/pkg-plist${PKGNAMESUFFIX}
BUILD_DIRS?= src/port src/timezone src/backend src/backend/utils/mb/conversion_procs \
src/pl src/utils
src/pl config
INSTALL_DIRS?= ${BUILD_DIRS}
PKGMESSAGE= ${WRKDIR}/.pkg-message${PKGNAMESUFFIX}
.if !defined(CLIENT_ONLY) && !defined(SLAVE_ONLY)
SERVER_ONLY= yes
USE_RC_SUBR= yes
RCSCRIPT= ${PREFIX}/etc/rc.d/010.pgsql.sh
USE_RC_SUBR= postgresql
SUB_FILES+= dot.cshrc dot.profile
USE_PGSQL= yes
WANT_PGSQL_VER= ${PORTVERSION:C/([0-9][0-9]*)\.([0-9][0-9]*).*/\1\2/g}
.endif
@ -76,7 +75,7 @@ CONFIGURE_ARGS+=--with-openssl
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
BROKEN= "Coredump during build on alpha 4.x"
BROKEN= Coredump during build on alpha 4.x
.endif
.if !defined(SLAVE_ONLY)
@ -95,7 +94,7 @@ OPTIONS+= TESTS "Allows the use of a \"check\" target (server)" off
OPTIONS+= DEBUG "Builds with debugging symbols" off
# See http://people.freebsd.org/~girgen/postgresql-icu/README.html for more info
OPTIONS+= ICU "Use ICU for unicode collation (server)" off
#OPTIONS+= ICU "Use ICU for unicode collation (server)" off
# See http://gppl.moonbone.ru/ for more info
#OPTIONS+= HIER "Builds with query hierarchy (server)" off
@ -104,22 +103,26 @@ OPTIONS+= ICU "Use ICU for unicode collation (server)" off
# (requires dump/restore if modified.)
OPTIONS+= INTDATE "Builds with 64-bit date/time type (server)" off
. if defined(SERVER_ONLY) && defined(WITH_HIER)
#PATCH_SITES+= http://gppl.moonbone.ru/:hier801054
#PATCHFILES+= hier-Pg8.0.1-0.5.4.diff.gz:hier801054
#USE_BISON= yes
. endif
# . if (defined(SERVER_ONLY) && defined(WITH_HIER)) || make(makesum)
# PATCH_SITES+= http://gppl.moonbone.ru/:hier812055
# PATCHFILES+= hier-Pg8.1.2-0.5.5.diff.gz:hier812055
# USE_BISON= yes
# . endif
. if defined(SERVER_ONLY) && defined(WITH_ICU)
USE_AUTOTOOLS= autoconf:259
CONFIGURE_ARGS+=--with-icu
LIB_DEPENDS= icudata:${PORTSDIR}/devel/icu
PATCH_SITES+= http://people.freebsd.org/~girgen/postgresql-icu/:icu
PATCHFILES+= pg-814-icu-xx-2006-09-25.diff.gz:icu
. endif
# . if (defined(SERVER_ONLY) && defined(WITH_ICU)) || make(makesum)
# USE_AUTOTOOLS= autoconf:259
# CONFIGURE_ARGS+=--with-icu
# LIB_DEPENDS= icudata:${PORTSDIR}/devel/icu
# PATCH_SITES+= http://people.freebsd.org/~girgen/postgresql-icu/:icu
# PATCHFILES+= pg-814-icu-xx-2006-09-25.diff.gz:icu
# . endif
PATCH_DIST_STRIP=-p1
. ifmake makesum
DISTFILES+= postgresql-docs-${PORTVERSION}${EXTRACT_SUFX}
. endif
. if defined(SERVER_ONLY) && defined(WITH_PAM)
CONFIGURE_ARGS+=--with-pam
. endif
@ -173,12 +176,12 @@ CONFIGURE_ARGS+=--with-krb5
# Postgresql apps will not link properly when libpq is linked with base heimdal in /usr,
# so we always use the heimdal port. See
# http://lists.freebsd.org/pipermail/freebsd-stable/2005-October/018809.html
LIB_DEPENDS+= krb5.20:${PORTSDIR}/security/heimdal
LIB_DEPENDS+= krb5.21:${PORTSDIR}/security/heimdal
CONFIGURE_ARGS+=--with-krb5
. endif
. endif
. if defined(SERVER_ONLY) && defined(WITH_TESTS)
. if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || make(makesum)
DISTFILES+= postgresql-test-${PORTVERSION}${EXTRACT_SUFX}
EXTRA_PATCHES= ${FILESDIR}/regresspatch-src-test-regress-pgregress-sh
. endif
@ -221,13 +224,13 @@ MAN7= abort.7 alter_aggregate.7 alter_conversion.7 alter_database.7 \
drop_aggregate.7 drop_cast.7 drop_conversion.7 \
drop_database.7 drop_domain.7 drop_function.7 \
drop_group.7 drop_index.7 drop_language.7 \
drop_operator.7 drop_operator_class.7 drop_role.7 \
drop_rule.7 \
drop_operator.7 drop_operator_class.7 drop_owned.7 \
drop_role.7 drop_rule.7 \
drop_schema.7 drop_sequence.7 drop_table.7 drop_trigger.7 \
drop_type.7 drop_user.7 drop_view.7 end.7 execute.7 \
explain.7 fetch.7 grant.7 insert.7 listen.7 load.7 \
lock.7 move.7 notify.7 prepare.7 prepare_transaction.7 \
reindex.7 reset.7 \
reassign_owned.7 reindex.7 reset.7 \
revoke.7 rollback.7 rollback_prepared.7 select.7 \
select_into.7 set.7 \
set_constraints.7 set_role.7 set_transaction.7 show.7 \
@ -236,7 +239,7 @@ MAN7= abort.7 alter_aggregate.7 alter_conversion.7 alter_database.7 \
alter_operator.7 alter_tablespace.7 alter_type.7 \
create_tablespace.7 drop_tablespace.7 \
release_savepoint.7 rollback_to_savepoint.7 \
savepoint.7
savepoint.7 values.7
.endif
.if defined(SERVER_ONLY)
@ -260,11 +263,9 @@ do-build:
cd ${WRKSRC}/$${dir} && ${SETENV} ${MAKE_ENV} ${GMAKE}; \
done
. if exists(${MASTERDIR}/pkg-message${PKGNAMESUFFIX})
post-build:
@ ${SED} "s|/usr/local|${PREFIX}|g" \
< ${MASTERDIR}/pkg-message${PKGNAMESUFFIX} \
> ${PKGMESSAGE}
. if exists(${FILESDIR}/pkg-message${PKGNAMESUFFIX}.in)
SUB_FILES+= pkg-message${PKGNAMESUFFIX}
PKGMESSAGE= ${WRKSRC}/pkg-message${PKGNAMESUFFIX}
. endif
.endif
@ -283,20 +284,13 @@ do-install:
. if defined(SERVER_ONLY)
@ ${MKDIR} ${PREFIX}/share/postgresql
. for i in profile cshrc
@ ${SED} "s|%%PREFIX%%|${PREFIX}|g" \
< ${FILESDIR}/dot.$i.in \
> ${PREFIX}/share/postgresql/dot.$i.dist; \
${CP} ${PREFIX}/share/postgresql/dot.$i.dist ~pgsql/; \
${INSTALL_DATA} ${WRKDIR}/dot.$i ${PREFIX}/share/postgresql/dot.$i.dist; \
${INSTALL_DATA} -o pgsql -g pgsql ${WRKDIR}/dot.$i ~pgsql/dot.$i.dist ; \
if [ ! -f ~pgsql/.$i ]; then \
${CP} ${PREFIX}/share/postgresql/dot.$i.dist ~pgsql/.$i; \
${CP} -p ~pgsql/dot.$i.dist ~pgsql/.$i; \
fi
. endfor
@ ${SED} -e "s|%%PREFIX%%|${PREFIX}|g; s|%%RC_SUBR%%|${RC_SUBR}|g" \
< ${FILESDIR}/pgsql.sh.tmpl \
> ${RCSCRIPT} ;\
${CHMOD} 555 ${RCSCRIPT} ;\
${CHOWN} root:pgsql ${RCSCRIPT} ;\
${CHOWN} -R pgsql:pgsql ~pgsql/. ;\
@ ${CHOWN} -R pgsql:pgsql ~pgsql/. ;\
${MKDIR} ${PREFIX}/etc/periodic/daily ;\
${INSTALL_SCRIPT} ${FILESDIR}/502.pgsql \
${PREFIX}/etc/periodic/daily

View File

@ -1,15 +1,15 @@
MD5 (postgresql/postgresql-base-8.1.4.tar.bz2) = 7ba24eaa31237eb8713782508de4dec7
SHA256 (postgresql/postgresql-base-8.1.4.tar.bz2) = 3d5e6cf4aa1593730c61676ffc4e3acbed73c0e13fb246035e54e4cf83fa60e1
SIZE (postgresql/postgresql-base-8.1.4.tar.bz2) = 8040435
MD5 (postgresql/postgresql-docs-8.1.4.tar.bz2) = 5edc420b949a22d9960fc72609a24af3
SHA256 (postgresql/postgresql-docs-8.1.4.tar.bz2) = 1578423df71962e22fe94b1123db680983d4e2f82e5bbb4913d96d9f6265de7f
SIZE (postgresql/postgresql-docs-8.1.4.tar.bz2) = 2485052
MD5 (postgresql/postgresql-opt-8.1.4.tar.bz2) = 6aad690bd918086cc3fbf673b74e65e6
SHA256 (postgresql/postgresql-opt-8.1.4.tar.bz2) = 5a6d27e303ad9b073f91e51658b13cfeb153e3d886af5e5c1093ea315e15738c
SIZE (postgresql/postgresql-opt-8.1.4.tar.bz2) = 144696
MD5 (postgresql/postgresql-test-8.1.4.tar.bz2) = a4918ec95fd589f8b1eeb0e3d704045c
SHA256 (postgresql/postgresql-test-8.1.4.tar.bz2) = b7449222f9f4c3340d6d065914d10df1d4a8b13d63c967c9e65190812325b8d9
SIZE (postgresql/postgresql-test-8.1.4.tar.bz2) = 946868
MD5 (postgresql/postgresql-base-8.2.0.tar.bz2) = c827602068e8d3ba20d575c87d102932
SHA256 (postgresql/postgresql-base-8.2.0.tar.bz2) = 26544b843761b5acc4c3452ac3403e67cbe5d4a486583242bb6f4c77810b4284
SIZE (postgresql/postgresql-base-8.2.0.tar.bz2) = 8483588
MD5 (postgresql/postgresql-opt-8.2.0.tar.bz2) = d0bf0284ae3ae6ea56f6b08427f7ab9a
SHA256 (postgresql/postgresql-opt-8.2.0.tar.bz2) = 06a016bf72a33061c4f297f15d32b8aadd742bfe54256573e59bb7916ec3df29
SIZE (postgresql/postgresql-opt-8.2.0.tar.bz2) = 167666
MD5 (postgresql/postgresql-docs-8.2.0.tar.bz2) = 4221311dc619659344b8e03ddbaa249b
SHA256 (postgresql/postgresql-docs-8.2.0.tar.bz2) = 30096acf2d6c0bf5937571625de2d477586f0e5989ee8d56c58868bc738d4f2e
SIZE (postgresql/postgresql-docs-8.2.0.tar.bz2) = 2744490
MD5 (postgresql/postgresql-test-8.2.0.tar.bz2) = 0269ab5b70f9b677a97a856c3e46a5f5
SHA256 (postgresql/postgresql-test-8.2.0.tar.bz2) = 695c82bb987fb0fcc09c059b7da914164fd1577d5ab8873d7371ec398e47dff5
SIZE (postgresql/postgresql-test-8.2.0.tar.bz2) = 985281
MD5 (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 2eb31538f3ee367767aeacd95b11d623
SHA256 (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 8dea05bdbc2b78426b159f628b693f69da17b930fe4882e166d5e8a3e698b7d9
SIZE (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 3987

View File

@ -1,5 +1,5 @@
--- src/backend/utils/misc/postgresql.conf.sample~ Tue Nov 8 00:45:49 2005
+++ src/backend/utils/misc/postgresql.conf.sample Tue Nov 8 00:47:16 2005
--- src/backend/utils/misc/postgresql.conf.sample.orig Sun May 21 22:11:02 2006
+++ src/backend/utils/misc/postgresql.conf.sample Tue Nov 7 17:23:50 2006
@@ -206,6 +206,7 @@
# - Where to Log -
@ -16,3 +16,12 @@
#silent_mode = off # DO NOT USE without syslog or
# redirect_stderr
@@ -339,6 +341,8 @@
#---------------------------------------------------------------------------
# AUTOVACUUM PARAMETERS
#---------------------------------------------------------------------------
+
+autovacuum = on
#autovacuum = off # enable autovacuum subprocess?
#autovacuum_naptime = 60 # time between autovacuum runs, in secs

View File

@ -1,3 +1,3 @@
The PostgreSQL contrib utilities have been installed. Please see
/usr/local/share/doc/postgresql/contrib/README
%%PREFIX%%/share/doc/postgresql/contrib/README
for more information.

View File

@ -0,0 +1,70 @@
For procedural languages and postgresql functions, please note that
you might have to update them when updating the server.
If you have many tables and many clients running, consider raising
kern.maxfiles using sysctl(8), or reconfigure your kernel
appropriately.
The port is set up to use autovacuum for new databases, but you might
also want to vacuum and perhaps backup your database regularly. There
is a periodic script, %%PREFIX%%/etc/periodic/daily/502.pgsql, that
you may find useful. You can use it to backup and perfom vacuum on all
databases nightly. Per default, it perfoms `vacuum analyze'. See the
script for instructions. For autovacuum settings, please review
~pgsql/data/postgresql.conf.
To allow many simultaneous connections to your PostgreSQL server, you
should raise the SystemV shared memory limits in your kernel. Here are
example values for allowing up to 180 clients (configurations in
postgresql.conf also needed, of course):
options SYSVSHM
options SYSVSEM
options SYSVMSG
options SHMMAXPGS=65536
options SEMMNI=40
options SEMMNS=240
options SEMUME=40
options SEMMNU=120
If you plan to access your PostgreSQL server using ODBC, please
consider running the SQL script %%PREFIX%%/share/postgresql/odbc.sql
to get the functions required for ODBC compliance.
Please note that if you use the rc script,
%%PREFIX%%/etc/rc.conf/postgresql, to initialize the database, unicode
(UTF-8) will be used to store character data by default. Set
postgresql_initdb_flags or use login.conf settings described below to
alter this behaviour. See the start rc script for more info.
To set limits, environment stuff like locale and collation and other
things, you can set up a class in /etc/login.conf before initializing
the database. Add something similar to this to /etc/login.conf:
---
postgres:\
:lang=en_US.UTF-8:\
:setenv=LC_COLLATE=C:\
:tc=default:
---
and run `cap_mkdb /etc/login.conf'.
Then add 'postgresql_class="postgres"' to /etc/rc.conf.
======================================================================
To initialize the database, run
%%PREFIX%%/etc/rc.d/postgresql initdb
You can then start PostgreSQL by running:
%%PREFIX%%/etc/rc.d/postgresql start
For postmaster settings, see ~pgsql/data/postgresql.conf
NB. FreeBSD's PostgreSQL port logs to syslog by default
See ~pgsql/data/postgresql.conf for more info
======================================================================
To run PostgreSQL at startup, add
'postgresql_enable="YES"' to /etc/rc.conf

View File

@ -12,6 +12,10 @@
# # optional
# postgresql_data="%%PREFIX%%/pgsql/data"
# postgresql_flags="-w -s -m fast"
# postgresql_initdb_flags="--encoding=utf-8 --lc_collate=C"
# postgresql_class="default"
#
# See %%PREFIX%%/share/doc/postgresql/README-server for more info
#
# This scripts takes one of the following commands:
#
@ -32,6 +36,7 @@ postgresql_flags=${postgresql_flags:-"-w -s -m fast"}
postgresql_user=pgsql
eval postgresql_data=${postgresql_data:-"~${postgresql_user}/data"}
postgresql_class=${postgresql_class:-"default"}
postgresql_initdb_flags=${postgresql_initdb_flags:-"--encoding=utf-8 --lc_collate=C"}
name=postgresql
rcvar=`set_rcvar`

View File

@ -1,49 +0,0 @@
For procedural languages and postgresql functions, please note that
you might have to update them when updating the server.
If you have many tables and many clients running, consider raising
kern.maxfiles using sysctl(8), or reconfigure your kernel
appropriately.
You should vacuum and backup your database regularly. There is a
periodic script, ${LOCALBASE}/etc/periodic/daily/502.pgsql, that you
may find useful. Per default, it perfoms vacuum on all databases
nightly. See the script for instructions.
To allow many simultaneous connections to your PostgreSQL server, you
should raise the SystemV shared memory limits in your kernel. Here are
example values for allowing up to 180 clients (configurations in
postgresql.conf also needed, of course):
options SYSVSHM
options SYSVSEM
options SYSVMSG
options SHMMAXPGS=65536
options SEMMNI=40
options SEMMNS=240
options SEMUME=40
options SEMMNU=120
If you plan to access your PostgreSQL server using ODBC, please
consider running the SQL script /usr/local/share/postgresql/odbc.sql
to get the functions required for ODBC compliance.
======================================================================
To initialize the database, run
/usr/local/etc/rc.d/010.pgsql.sh initdb
You can then start PostgreSQL by running:
/usr/local/etc/rc.d/010.pgsql.sh start
For postmaster settings, see ~pgsql/data/postgresql.conf
NB. FreeBSD's PostgreSQL port now by default logs to syslog
See ~pgsql/data/postgresql.conf for more info
======================================================================
To run PostgreSQL at startup, add
'postgresql_enable="YES"' to /etc/rc.conf

View File

@ -18,9 +18,11 @@ bin/pg_restore
bin/psql
bin/reindexdb
bin/vacuumdb
include/ecpg_config.h
include/postgresql/server/access/attnum.h
include/postgresql/server/access/clog.h
include/postgresql/server/access/genam.h
include/postgresql/server/access/gin.h
include/postgresql/server/access/gist.h
include/postgresql/server/access/gist_private.h
include/postgresql/server/access/gistscan.h
@ -28,15 +30,13 @@ include/postgresql/server/access/hash.h
include/postgresql/server/access/heapam.h
include/postgresql/server/access/hio.h
include/postgresql/server/access/htup.h
include/postgresql/server/access/iqual.h
include/postgresql/server/access/itup.h
include/postgresql/server/access/multixact.h
include/postgresql/server/access/nbtree.h
include/postgresql/server/access/printtup.h
include/postgresql/server/access/reloptions.h
include/postgresql/server/access/relscan.h
include/postgresql/server/access/rmgr.h
include/postgresql/server/access/rtree.h
include/postgresql/server/access/rtscan.h
include/postgresql/server/access/sdir.h
include/postgresql/server/access/skey.h
include/postgresql/server/access/slru.h
@ -91,10 +91,12 @@ include/postgresql/server/catalog/pg_pltemplate.h
include/postgresql/server/catalog/pg_proc.h
include/postgresql/server/catalog/pg_rewrite.h
include/postgresql/server/catalog/pg_shdepend.h
include/postgresql/server/catalog/pg_shdescription.h
include/postgresql/server/catalog/pg_statistic.h
include/postgresql/server/catalog/pg_tablespace.h
include/postgresql/server/catalog/pg_trigger.h
include/postgresql/server/catalog/pg_type.h
include/postgresql/server/catalog/toasting.h
include/postgresql/server/commands/alter.h
include/postgresql/server/commands/async.h
include/postgresql/server/commands/cluster.h
@ -150,6 +152,7 @@ include/postgresql/server/executor/nodeSubplan.h
include/postgresql/server/executor/nodeSubqueryscan.h
include/postgresql/server/executor/nodeTidscan.h
include/postgresql/server/executor/nodeUnique.h
include/postgresql/server/executor/nodeValuesscan.h
include/postgresql/server/executor/spi.h
include/postgresql/server/executor/spi_priv.h
include/postgresql/server/executor/tstoreReceiver.h
@ -168,6 +171,7 @@ include/postgresql/server/libpq/ip.h
include/postgresql/server/libpq/libpq-be.h
include/postgresql/server/libpq/libpq-fs.h
include/postgresql/server/libpq/libpq.h
include/postgresql/server/libpq/md5.h
include/postgresql/server/libpq/pqcomm.h
include/postgresql/server/libpq/pqformat.h
include/postgresql/server/libpq/pqsignal.h
@ -232,11 +236,11 @@ include/postgresql/server/parser/scansup.h
include/postgresql/server/pg_config.h
include/postgresql/server/pg_config_manual.h
include/postgresql/server/pg_config_os.h
include/postgresql/server/pg_trace.h
include/postgresql/server/pgstat.h
include/postgresql/server/pgtime.h
include/postgresql/server/port.h
include/postgresql/server/port/aix.h
include/postgresql/server/port/beos.h
include/postgresql/server/port/bsdi.h
include/postgresql/server/port/cygwin.h
include/postgresql/server/port/darwin.h
@ -249,7 +253,6 @@ include/postgresql/server/port/netbsd.h
include/postgresql/server/port/nextstep.h
include/postgresql/server/port/openbsd.h
include/postgresql/server/port/osf.h
include/postgresql/server/port/qnx4.h
include/postgresql/server/port/sco.h
include/postgresql/server/port/solaris.h
include/postgresql/server/port/sunos4.h
@ -312,7 +315,6 @@ include/postgresql/server/storage/sinval.h
include/postgresql/server/storage/sinvaladt.h
include/postgresql/server/storage/smgr.h
include/postgresql/server/storage/spin.h
include/postgresql/server/strdup.h
include/postgresql/server/tcop/dest.h
include/postgresql/server/tcop/fastpath.h
include/postgresql/server/tcop/pquery.h
@ -366,6 +368,7 @@ include/postgresql/server/utils/tqual.h
include/postgresql/server/utils/tuplesort.h
include/postgresql/server/utils/tuplestore.h
include/postgresql/server/utils/typcache.h
include/postgresql/server/utils/tzparser.h
include/postgresql/server/utils/varbit.h
@dirrm include/postgresql/server/utils
@dirrm include/postgresql/server/tcop
@ -430,7 +433,7 @@ lib/libecpg_compat.so
lib/libecpg_compat.so.2
lib/libpq.a
lib/libpq.so
lib/libpq.so.4
lib/libpq.so.5
lib/libpgtypes.a
lib/libpgtypes.so
lib/libpgtypes.so.2
@ -511,6 +514,7 @@ share/postgresql/psqlrc.sample
%%GETTEXT%%share/locale/ko/LC_MESSAGES/pgscripts.mo
%%GETTEXT%%share/locale/ko/LC_MESSAGES/psql.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/libpq.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_config.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_controldata.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_dump.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_resetxlog.mo

View File

@ -1,76 +1,74 @@
bin/DBMirror.pl
bin/clean_pending.pl
bin/dbf2pg
bin/fti.pl
bin/oid2name
bin/pgbench
bin/vacuumlo
lib/postgresql/_int.so
lib/postgresql/adminpack.so
lib/postgresql/autoinc.so
lib/postgresql/btree_gist.so
lib/postgresql/pg_buffercache.so
lib/postgresql/chkpass.so
lib/postgresql/cube.so
lib/postgresql/dblink.so
lib/postgresql/earthdistance.so
lib/postgresql/fti.so
lib/postgresql/fuzzystrmatch.so
lib/postgresql/hstore.so
lib/postgresql/insert_username.so
lib/postgresql/int_aggregate.so
lib/postgresql/isbn_issn.so
lib/postgresql/isn.so
lib/postgresql/lo.so
lib/postgresql/ltree.so
lib/postgresql/moddatetime.so
lib/postgresql/pending.so
lib/postgresql/pg_buffercache.so
lib/postgresql/pg_freespacemap.so
lib/postgresql/pg_trgm.so
lib/postgresql/pgcrypto.so
lib/postgresql/pgrowlocks.so
lib/postgresql/pgstattuple.so
lib/postgresql/refint.so
lib/postgresql/seg.so
lib/postgresql/sslinfo.so
lib/postgresql/tablefunc.so
lib/postgresql/timetravel.so
lib/postgresql/tsearch2.so
lib/postgresql/user_locks.so
%%DOCSDIR%%/README-contrib
%%DOCSDIR%%/contrib/README
%%DOCSDIR%%/contrib/README.apachelog
%%DOCSDIR%%/contrib/README.adminpack
%%DOCSDIR%%/contrib/README.btree_gist
%%DOCSDIR%%/contrib/README.chkpass
%%DOCSDIR%%/contrib/README.cube
%%DOCSDIR%%/contrib/README.dbf2pg
%%DOCSDIR%%/contrib/README.dblink
%%DOCSDIR%%/contrib/README.dbmirror
%%DOCSDIR%%/contrib/README.earthdistance
%%DOCSDIR%%/contrib/README.fti
%%DOCSDIR%%/contrib/README.fuzzystrmatch
%%DOCSDIR%%/contrib/README.hstore
%%DOCSDIR%%/contrib/README.int_aggregate
%%DOCSDIR%%/contrib/README.intarray
%%DOCSDIR%%/contrib/README.isbn_issn
%%DOCSDIR%%/contrib/README.isn
%%DOCSDIR%%/contrib/README.lo
%%DOCSDIR%%/contrib/README.ltree
%%DOCSDIR%%/contrib/README.oid2name
%%DOCSDIR%%/contrib/README.pg_buffercache
%%DOCSDIR%%/contrib/README.pg_freespacemap
%%DOCSDIR%%/contrib/README.pg_trgm
%%DOCSDIR%%/contrib/README.pgbench
%%DOCSDIR%%/contrib/README.pgbench_jis
%%DOCSDIR%%/contrib/README.pgcrypto
%%DOCSDIR%%/contrib/README.pgrowlocks
%%DOCSDIR%%/contrib/README.pgrowlocks.euc_jp
%%DOCSDIR%%/contrib/README.pgstattuple
%%DOCSDIR%%/contrib/README.pgstattuple.euc_jp
%%DOCSDIR%%/contrib/README.seg
%%DOCSDIR%%/contrib/README.soundex
%%DOCSDIR%%/contrib/README.spi
%%DOCSDIR%%/contrib/README.sslinfo
%%DOCSDIR%%/contrib/README.tablefunc
%%DOCSDIR%%/contrib/README.tsearch2
%%DOCSDIR%%/contrib/README.user_locks
%%DOCSDIR%%/contrib/README.vacuumlo
%%DOCSDIR%%/contrib/autoinc.example
%%DOCSDIR%%/contrib/insert_username.example
%%DOCSDIR%%/contrib/moddatetime.example
%%DOCSDIR%%/contrib/refint.example
%%DOCSDIR%%/contrib/timetravel.example
share/postgresql/contrib/AddTrigger.sql
share/postgresql/contrib/MirrorSetup.sql
share/postgresql/contrib/_int.sql
share/postgresql/contrib/adminpack.sql
share/postgresql/contrib/autoinc.sql
share/postgresql/contrib/btree_gist.sql
share/postgresql/contrib/chkpass.sql
@ -78,29 +76,52 @@ share/postgresql/contrib/cube.sql
share/postgresql/contrib/dblink.sql
share/postgresql/contrib/earthdistance.sql
share/postgresql/contrib/english.stop
share/postgresql/contrib/fti.sql
share/postgresql/contrib/fuzzystrmatch.sql
share/postgresql/contrib/hstore.sql
share/postgresql/contrib/insert_username.sql
share/postgresql/contrib/int_aggregate.sql
share/postgresql/contrib/isbn_issn.sql
share/postgresql/contrib/isn.sql
share/postgresql/contrib/lo.sql
share/postgresql/contrib/lo_drop.sql
share/postgresql/contrib/lo_test.sql
share/postgresql/contrib/ltree.sql
share/postgresql/contrib/moddatetime.sql
share/postgresql/contrib/pg_buffercache.sql
share/postgresql/contrib/pg_freespacemap.sql
share/postgresql/contrib/pg_trgm.sql
share/postgresql/contrib/pgcrypto.sql
share/postgresql/contrib/pgrowlocks.sql
share/postgresql/contrib/pgstattuple.sql
share/postgresql/contrib/refint.sql
share/postgresql/contrib/russian.stop
share/postgresql/contrib/russian.stop.utf8
share/postgresql/contrib/seg.sql
share/postgresql/contrib/slaveDatabase.conf
share/postgresql/contrib/sslinfo.sql
share/postgresql/contrib/tablefunc.sql
share/postgresql/contrib/thesaurus
share/postgresql/contrib/timetravel.sql
share/postgresql/contrib/tsearch2.sql
share/postgresql/contrib/untsearch2.sql
share/postgresql/contrib/user_locks.sql
share/postgresql/contrib/uninstall__int.sql
share/postgresql/contrib/uninstall_adminpack.sql
share/postgresql/contrib/uninstall_btree_gist.sql
share/postgresql/contrib/uninstall_chkpass.sql
share/postgresql/contrib/uninstall_cube.sql
share/postgresql/contrib/uninstall_dblink.sql
share/postgresql/contrib/uninstall_earthdistance.sql
share/postgresql/contrib/uninstall_fuzzystrmatch.sql
share/postgresql/contrib/uninstall_hstore.sql
share/postgresql/contrib/uninstall_int_aggregate.sql
share/postgresql/contrib/uninstall_isn.sql
share/postgresql/contrib/uninstall_lo.sql
share/postgresql/contrib/uninstall_ltree.sql
share/postgresql/contrib/uninstall_pg_buffercache.sql
share/postgresql/contrib/uninstall_pg_freespacemap.sql
share/postgresql/contrib/uninstall_pg_trgm.sql
share/postgresql/contrib/uninstall_pgcrypto.sql
share/postgresql/contrib/uninstall_pgrowlocks.sql
share/postgresql/contrib/uninstall_pgstattuple.sql
share/postgresql/contrib/uninstall_seg.sql
share/postgresql/contrib/uninstall_sslinfo.sql
share/postgresql/contrib/uninstall_tablefunc.sql
share/postgresql/contrib/uninstall_tsearch2.sql
@dirrmtry share/postgresql/contrib >&2
@dirrmtry share/postgresql >&2
@dirrmtry %%DOCSDIR%%/contrib >&2

File diff suppressed because it is too large Load Diff

View File

@ -6,28 +6,27 @@
#
PORTNAME?= postgresql
PKGNAMESUFFIX?= -server
PORTVERSION?= 8.1.4
PORTREVISION?= 1
PORTVERSION?= 8.2.0
PORTREVISION?= 0
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= source/v${PORTVERSION}
PKGNAMESUFFIX?= -server
DISTFILES?= postgresql-base-${PORTVERSION}${EXTRACT_SUFX} \
postgresql-opt-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER?= girgen@FreeBSD.org
COMMENT?= The most advanced open-source database available anywhere
CONFLICTS?= ${PORTNAME}-client-7.[0-9]* \
${PORTNAME}${PKGNAMESUFFIX}-7.[0-9]* \
${PORTNAME}-client-8.0.* \
${PORTNAME}${PKGNAMESUFFIX}-8.0.*
BROKEN= work in progress
CONFLICTS?= ${PORTNAME}-client-7.* \
${PORTNAME}${PKGNAMESUFFIX}-7.* \
${PORTNAME}-client-8.[0-13-9]* \
${PORTNAME}${PKGNAMESUFFIX}-8.[0-13-9]*
WRKSRC= ${WRKDIR}/postgresql-${PORTVERSION}
DIST_SUBDIR= postgresql
UNIQUENAME?= ${PORTNAME}81
UNIQUENAME?= ${PORTNAME}82
LATEST_LINK?= ${PKGNAMEPREFIX}${UNIQUENAME}${PKGNAMESUFFIX}
PKGINSTALL?= ${PKGDIR}/pkg-install${PKGNAMESUFFIX}
@ -47,14 +46,14 @@ CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
PLIST= ${PKGDIR}/pkg-plist${PKGNAMESUFFIX}
BUILD_DIRS?= src/port src/timezone src/backend src/backend/utils/mb/conversion_procs \
src/pl src/utils
src/pl config
INSTALL_DIRS?= ${BUILD_DIRS}
PKGMESSAGE= ${WRKDIR}/.pkg-message${PKGNAMESUFFIX}
.if !defined(CLIENT_ONLY) && !defined(SLAVE_ONLY)
SERVER_ONLY= yes
USE_RC_SUBR= yes
RCSCRIPT= ${PREFIX}/etc/rc.d/010.pgsql.sh
USE_RC_SUBR= postgresql
SUB_FILES+= dot.cshrc dot.profile
USE_PGSQL= yes
WANT_PGSQL_VER= ${PORTVERSION:C/([0-9][0-9]*)\.([0-9][0-9]*).*/\1\2/g}
.endif
@ -76,7 +75,7 @@ CONFIGURE_ARGS+=--with-openssl
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
BROKEN= "Coredump during build on alpha 4.x"
BROKEN= Coredump during build on alpha 4.x
.endif
.if !defined(SLAVE_ONLY)
@ -95,7 +94,7 @@ OPTIONS+= TESTS "Allows the use of a \"check\" target (server)" off
OPTIONS+= DEBUG "Builds with debugging symbols" off
# See http://people.freebsd.org/~girgen/postgresql-icu/README.html for more info
OPTIONS+= ICU "Use ICU for unicode collation (server)" off
#OPTIONS+= ICU "Use ICU for unicode collation (server)" off
# See http://gppl.moonbone.ru/ for more info
#OPTIONS+= HIER "Builds with query hierarchy (server)" off
@ -104,22 +103,26 @@ OPTIONS+= ICU "Use ICU for unicode collation (server)" off
# (requires dump/restore if modified.)
OPTIONS+= INTDATE "Builds with 64-bit date/time type (server)" off
. if defined(SERVER_ONLY) && defined(WITH_HIER)
#PATCH_SITES+= http://gppl.moonbone.ru/:hier801054
#PATCHFILES+= hier-Pg8.0.1-0.5.4.diff.gz:hier801054
#USE_BISON= yes
. endif
# . if (defined(SERVER_ONLY) && defined(WITH_HIER)) || make(makesum)
# PATCH_SITES+= http://gppl.moonbone.ru/:hier812055
# PATCHFILES+= hier-Pg8.1.2-0.5.5.diff.gz:hier812055
# USE_BISON= yes
# . endif
. if defined(SERVER_ONLY) && defined(WITH_ICU)
USE_AUTOTOOLS= autoconf:259
CONFIGURE_ARGS+=--with-icu
LIB_DEPENDS= icudata:${PORTSDIR}/devel/icu
PATCH_SITES+= http://people.freebsd.org/~girgen/postgresql-icu/:icu
PATCHFILES+= pg-814-icu-xx-2006-09-25.diff.gz:icu
. endif
# . if (defined(SERVER_ONLY) && defined(WITH_ICU)) || make(makesum)
# USE_AUTOTOOLS= autoconf:259
# CONFIGURE_ARGS+=--with-icu
# LIB_DEPENDS= icudata:${PORTSDIR}/devel/icu
# PATCH_SITES+= http://people.freebsd.org/~girgen/postgresql-icu/:icu
# PATCHFILES+= pg-814-icu-xx-2006-09-25.diff.gz:icu
# . endif
PATCH_DIST_STRIP=-p1
. ifmake makesum
DISTFILES+= postgresql-docs-${PORTVERSION}${EXTRACT_SUFX}
. endif
. if defined(SERVER_ONLY) && defined(WITH_PAM)
CONFIGURE_ARGS+=--with-pam
. endif
@ -173,12 +176,12 @@ CONFIGURE_ARGS+=--with-krb5
# Postgresql apps will not link properly when libpq is linked with base heimdal in /usr,
# so we always use the heimdal port. See
# http://lists.freebsd.org/pipermail/freebsd-stable/2005-October/018809.html
LIB_DEPENDS+= krb5.20:${PORTSDIR}/security/heimdal
LIB_DEPENDS+= krb5.21:${PORTSDIR}/security/heimdal
CONFIGURE_ARGS+=--with-krb5
. endif
. endif
. if defined(SERVER_ONLY) && defined(WITH_TESTS)
. if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || make(makesum)
DISTFILES+= postgresql-test-${PORTVERSION}${EXTRACT_SUFX}
EXTRA_PATCHES= ${FILESDIR}/regresspatch-src-test-regress-pgregress-sh
. endif
@ -221,13 +224,13 @@ MAN7= abort.7 alter_aggregate.7 alter_conversion.7 alter_database.7 \
drop_aggregate.7 drop_cast.7 drop_conversion.7 \
drop_database.7 drop_domain.7 drop_function.7 \
drop_group.7 drop_index.7 drop_language.7 \
drop_operator.7 drop_operator_class.7 drop_role.7 \
drop_rule.7 \
drop_operator.7 drop_operator_class.7 drop_owned.7 \
drop_role.7 drop_rule.7 \
drop_schema.7 drop_sequence.7 drop_table.7 drop_trigger.7 \
drop_type.7 drop_user.7 drop_view.7 end.7 execute.7 \
explain.7 fetch.7 grant.7 insert.7 listen.7 load.7 \
lock.7 move.7 notify.7 prepare.7 prepare_transaction.7 \
reindex.7 reset.7 \
reassign_owned.7 reindex.7 reset.7 \
revoke.7 rollback.7 rollback_prepared.7 select.7 \
select_into.7 set.7 \
set_constraints.7 set_role.7 set_transaction.7 show.7 \
@ -236,7 +239,7 @@ MAN7= abort.7 alter_aggregate.7 alter_conversion.7 alter_database.7 \
alter_operator.7 alter_tablespace.7 alter_type.7 \
create_tablespace.7 drop_tablespace.7 \
release_savepoint.7 rollback_to_savepoint.7 \
savepoint.7
savepoint.7 values.7
.endif
.if defined(SERVER_ONLY)
@ -260,11 +263,9 @@ do-build:
cd ${WRKSRC}/$${dir} && ${SETENV} ${MAKE_ENV} ${GMAKE}; \
done
. if exists(${MASTERDIR}/pkg-message${PKGNAMESUFFIX})
post-build:
@ ${SED} "s|/usr/local|${PREFIX}|g" \
< ${MASTERDIR}/pkg-message${PKGNAMESUFFIX} \
> ${PKGMESSAGE}
. if exists(${FILESDIR}/pkg-message${PKGNAMESUFFIX}.in)
SUB_FILES+= pkg-message${PKGNAMESUFFIX}
PKGMESSAGE= ${WRKSRC}/pkg-message${PKGNAMESUFFIX}
. endif
.endif
@ -283,20 +284,13 @@ do-install:
. if defined(SERVER_ONLY)
@ ${MKDIR} ${PREFIX}/share/postgresql
. for i in profile cshrc
@ ${SED} "s|%%PREFIX%%|${PREFIX}|g" \
< ${FILESDIR}/dot.$i.in \
> ${PREFIX}/share/postgresql/dot.$i.dist; \
${CP} ${PREFIX}/share/postgresql/dot.$i.dist ~pgsql/; \
${INSTALL_DATA} ${WRKDIR}/dot.$i ${PREFIX}/share/postgresql/dot.$i.dist; \
${INSTALL_DATA} -o pgsql -g pgsql ${WRKDIR}/dot.$i ~pgsql/dot.$i.dist ; \
if [ ! -f ~pgsql/.$i ]; then \
${CP} ${PREFIX}/share/postgresql/dot.$i.dist ~pgsql/.$i; \
${CP} -p ~pgsql/dot.$i.dist ~pgsql/.$i; \
fi
. endfor
@ ${SED} -e "s|%%PREFIX%%|${PREFIX}|g; s|%%RC_SUBR%%|${RC_SUBR}|g" \
< ${FILESDIR}/pgsql.sh.tmpl \
> ${RCSCRIPT} ;\
${CHMOD} 555 ${RCSCRIPT} ;\
${CHOWN} root:pgsql ${RCSCRIPT} ;\
${CHOWN} -R pgsql:pgsql ~pgsql/. ;\
@ ${CHOWN} -R pgsql:pgsql ~pgsql/. ;\
${MKDIR} ${PREFIX}/etc/periodic/daily ;\
${INSTALL_SCRIPT} ${FILESDIR}/502.pgsql \
${PREFIX}/etc/periodic/daily

View File

@ -1,15 +1,15 @@
MD5 (postgresql/postgresql-base-8.1.4.tar.bz2) = 7ba24eaa31237eb8713782508de4dec7
SHA256 (postgresql/postgresql-base-8.1.4.tar.bz2) = 3d5e6cf4aa1593730c61676ffc4e3acbed73c0e13fb246035e54e4cf83fa60e1
SIZE (postgresql/postgresql-base-8.1.4.tar.bz2) = 8040435
MD5 (postgresql/postgresql-docs-8.1.4.tar.bz2) = 5edc420b949a22d9960fc72609a24af3
SHA256 (postgresql/postgresql-docs-8.1.4.tar.bz2) = 1578423df71962e22fe94b1123db680983d4e2f82e5bbb4913d96d9f6265de7f
SIZE (postgresql/postgresql-docs-8.1.4.tar.bz2) = 2485052
MD5 (postgresql/postgresql-opt-8.1.4.tar.bz2) = 6aad690bd918086cc3fbf673b74e65e6
SHA256 (postgresql/postgresql-opt-8.1.4.tar.bz2) = 5a6d27e303ad9b073f91e51658b13cfeb153e3d886af5e5c1093ea315e15738c
SIZE (postgresql/postgresql-opt-8.1.4.tar.bz2) = 144696
MD5 (postgresql/postgresql-test-8.1.4.tar.bz2) = a4918ec95fd589f8b1eeb0e3d704045c
SHA256 (postgresql/postgresql-test-8.1.4.tar.bz2) = b7449222f9f4c3340d6d065914d10df1d4a8b13d63c967c9e65190812325b8d9
SIZE (postgresql/postgresql-test-8.1.4.tar.bz2) = 946868
MD5 (postgresql/postgresql-base-8.2.0.tar.bz2) = c827602068e8d3ba20d575c87d102932
SHA256 (postgresql/postgresql-base-8.2.0.tar.bz2) = 26544b843761b5acc4c3452ac3403e67cbe5d4a486583242bb6f4c77810b4284
SIZE (postgresql/postgresql-base-8.2.0.tar.bz2) = 8483588
MD5 (postgresql/postgresql-opt-8.2.0.tar.bz2) = d0bf0284ae3ae6ea56f6b08427f7ab9a
SHA256 (postgresql/postgresql-opt-8.2.0.tar.bz2) = 06a016bf72a33061c4f297f15d32b8aadd742bfe54256573e59bb7916ec3df29
SIZE (postgresql/postgresql-opt-8.2.0.tar.bz2) = 167666
MD5 (postgresql/postgresql-docs-8.2.0.tar.bz2) = 4221311dc619659344b8e03ddbaa249b
SHA256 (postgresql/postgresql-docs-8.2.0.tar.bz2) = 30096acf2d6c0bf5937571625de2d477586f0e5989ee8d56c58868bc738d4f2e
SIZE (postgresql/postgresql-docs-8.2.0.tar.bz2) = 2744490
MD5 (postgresql/postgresql-test-8.2.0.tar.bz2) = 0269ab5b70f9b677a97a856c3e46a5f5
SHA256 (postgresql/postgresql-test-8.2.0.tar.bz2) = 695c82bb987fb0fcc09c059b7da914164fd1577d5ab8873d7371ec398e47dff5
SIZE (postgresql/postgresql-test-8.2.0.tar.bz2) = 985281
MD5 (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 2eb31538f3ee367767aeacd95b11d623
SHA256 (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 8dea05bdbc2b78426b159f628b693f69da17b930fe4882e166d5e8a3e698b7d9
SIZE (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 3987

View File

@ -1,5 +1,5 @@
--- src/backend/utils/misc/postgresql.conf.sample~ Tue Nov 8 00:45:49 2005
+++ src/backend/utils/misc/postgresql.conf.sample Tue Nov 8 00:47:16 2005
--- src/backend/utils/misc/postgresql.conf.sample.orig Sun May 21 22:11:02 2006
+++ src/backend/utils/misc/postgresql.conf.sample Tue Nov 7 17:23:50 2006
@@ -206,6 +206,7 @@
# - Where to Log -
@ -16,3 +16,12 @@
#silent_mode = off # DO NOT USE without syslog or
# redirect_stderr
@@ -339,6 +341,8 @@
#---------------------------------------------------------------------------
# AUTOVACUUM PARAMETERS
#---------------------------------------------------------------------------
+
+autovacuum = on
#autovacuum = off # enable autovacuum subprocess?
#autovacuum_naptime = 60 # time between autovacuum runs, in secs

View File

@ -1,59 +0,0 @@
#!/bin/sh
# $FreeBSD$
#
# PROVIDE: postgresql
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable PostgreSQL:
#
# postgresql_enable="YES"
# # optional
# postgresql_data="%%PREFIX%%/pgsql/data"
# postgresql_flags="-w -s -m fast"
#
# This scripts takes one of the following commands:
#
# start stop restart reload status initdb
#
# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
prefix=%%PREFIX%%
command=${prefix}/bin/pg_ctl
. %%RC_SUBR%%
load_rc_config postgresql
# set defaults
postgresql_enable=${postgresql_enable:-"NO"}
postgresql_flags=${postgresql_flags:-"-w -s -m fast"}
postgresql_user=pgsql
eval postgresql_data=${postgresql_data:-"~${postgresql_user}/data"}
postgresql_class=${postgresql_class:-"default"}
name=postgresql
rcvar=`set_rcvar`
command_args="-D ${postgresql_data} ${postgresql_flags}"
extra_commands="reload initdb"
start_cmd="postgresql_command start"
stop_cmd="postgresql_command stop"
restart_cmd="postgresql_command restart"
reload_cmd="postgresql_command reload"
status_cmd="postgresql_command status"
initdb_cmd="postgresql_initdb"
postgresql_command()
{
su -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
}
postgresql_initdb()
{
su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb -D ${postgresql_data}"
}
run_rc_command "$1"

View File

@ -0,0 +1,3 @@
The PostgreSQL contrib utilities have been installed. Please see
%%PREFIX%%/share/doc/postgresql/contrib/README
for more information.

View File

@ -0,0 +1,70 @@
For procedural languages and postgresql functions, please note that
you might have to update them when updating the server.
If you have many tables and many clients running, consider raising
kern.maxfiles using sysctl(8), or reconfigure your kernel
appropriately.
The port is set up to use autovacuum for new databases, but you might
also want to vacuum and perhaps backup your database regularly. There
is a periodic script, %%PREFIX%%/etc/periodic/daily/502.pgsql, that
you may find useful. You can use it to backup and perfom vacuum on all
databases nightly. Per default, it perfoms `vacuum analyze'. See the
script for instructions. For autovacuum settings, please review
~pgsql/data/postgresql.conf.
To allow many simultaneous connections to your PostgreSQL server, you
should raise the SystemV shared memory limits in your kernel. Here are
example values for allowing up to 180 clients (configurations in
postgresql.conf also needed, of course):
options SYSVSHM
options SYSVSEM
options SYSVMSG
options SHMMAXPGS=65536
options SEMMNI=40
options SEMMNS=240
options SEMUME=40
options SEMMNU=120
If you plan to access your PostgreSQL server using ODBC, please
consider running the SQL script %%PREFIX%%/share/postgresql/odbc.sql
to get the functions required for ODBC compliance.
Please note that if you use the rc script,
%%PREFIX%%/etc/rc.conf/postgresql, to initialize the database, unicode
(UTF-8) will be used to store character data by default. Set
postgresql_initdb_flags or use login.conf settings described below to
alter this behaviour. See the start rc script for more info.
To set limits, environment stuff like locale and collation and other
things, you can set up a class in /etc/login.conf before initializing
the database. Add something similar to this to /etc/login.conf:
---
postgres:\
:lang=en_US.UTF-8:\
:setenv=LC_COLLATE=C:\
:tc=default:
---
and run `cap_mkdb /etc/login.conf'.
Then add 'postgresql_class="postgres"' to /etc/rc.conf.
======================================================================
To initialize the database, run
%%PREFIX%%/etc/rc.d/postgresql initdb
You can then start PostgreSQL by running:
%%PREFIX%%/etc/rc.d/postgresql start
For postmaster settings, see ~pgsql/data/postgresql.conf
NB. FreeBSD's PostgreSQL port logs to syslog by default
See ~pgsql/data/postgresql.conf for more info
======================================================================
To run PostgreSQL at startup, add
'postgresql_enable="YES"' to /etc/rc.conf

View File

@ -0,0 +1,64 @@
#!/bin/sh
# $FreeBSD$
#
# PROVIDE: postgresql
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable PostgreSQL:
#
# postgresql_enable="YES"
# # optional
# postgresql_data="%%PREFIX%%/pgsql/data"
# postgresql_flags="-w -s -m fast"
# postgresql_initdb_flags="--encoding=utf-8 --lc_collate=C"
# postgresql_class="default"
#
# See %%PREFIX%%/share/doc/postgresql/README-server for more info
#
# This scripts takes one of the following commands:
#
# start stop restart reload status initdb
#
# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
prefix=%%PREFIX%%
command=${prefix}/bin/pg_ctl
. %%RC_SUBR%%
load_rc_config postgresql
# set defaults
postgresql_enable=${postgresql_enable:-"NO"}
postgresql_flags=${postgresql_flags:-"-w -s -m fast"}
postgresql_user=pgsql
eval postgresql_data=${postgresql_data:-"~${postgresql_user}/data"}
postgresql_class=${postgresql_class:-"default"}
postgresql_initdb_flags=${postgresql_initdb_flags:-"--encoding=utf-8 --lc_collate=C"}
name=postgresql
rcvar=`set_rcvar`
command_args="-D ${postgresql_data} ${postgresql_flags}"
extra_commands="reload initdb"
start_cmd="postgresql_command start"
stop_cmd="postgresql_command stop"
restart_cmd="postgresql_command restart"
reload_cmd="postgresql_command reload"
status_cmd="postgresql_command status"
initdb_cmd="postgresql_initdb"
postgresql_command()
{
su -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
}
postgresql_initdb()
{
su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb -D ${postgresql_data}"
}
run_rc_command "$1"

View File

@ -1,3 +0,0 @@
The PostgreSQL contrib utilities have been installed. Please see
/usr/local/share/doc/postgresql/contrib/README
for more information.

View File

@ -1,49 +0,0 @@
For procedural languages and postgresql functions, please note that
you might have to update them when updating the server.
If you have many tables and many clients running, consider raising
kern.maxfiles using sysctl(8), or reconfigure your kernel
appropriately.
You should vacuum and backup your database regularly. There is a
periodic script, ${LOCALBASE}/etc/periodic/daily/502.pgsql, that you
may find useful. Per default, it perfoms vacuum on all databases
nightly. See the script for instructions.
To allow many simultaneous connections to your PostgreSQL server, you
should raise the SystemV shared memory limits in your kernel. Here are
example values for allowing up to 180 clients (configurations in
postgresql.conf also needed, of course):
options SYSVSHM
options SYSVSEM
options SYSVMSG
options SHMMAXPGS=65536
options SEMMNI=40
options SEMMNS=240
options SEMUME=40
options SEMMNU=120
If you plan to access your PostgreSQL server using ODBC, please
consider running the SQL script /usr/local/share/postgresql/odbc.sql
to get the functions required for ODBC compliance.
======================================================================
To initialize the database, run
/usr/local/etc/rc.d/010.pgsql.sh initdb
You can then start PostgreSQL by running:
/usr/local/etc/rc.d/010.pgsql.sh start
For postmaster settings, see ~pgsql/data/postgresql.conf
NB. FreeBSD's PostgreSQL port now by default logs to syslog
See ~pgsql/data/postgresql.conf for more info
======================================================================
To run PostgreSQL at startup, add
'postgresql_enable="YES"' to /etc/rc.conf

View File

@ -18,9 +18,11 @@ bin/pg_restore
bin/psql
bin/reindexdb
bin/vacuumdb
include/ecpg_config.h
include/postgresql/server/access/attnum.h
include/postgresql/server/access/clog.h
include/postgresql/server/access/genam.h
include/postgresql/server/access/gin.h
include/postgresql/server/access/gist.h
include/postgresql/server/access/gist_private.h
include/postgresql/server/access/gistscan.h
@ -28,15 +30,13 @@ include/postgresql/server/access/hash.h
include/postgresql/server/access/heapam.h
include/postgresql/server/access/hio.h
include/postgresql/server/access/htup.h
include/postgresql/server/access/iqual.h
include/postgresql/server/access/itup.h
include/postgresql/server/access/multixact.h
include/postgresql/server/access/nbtree.h
include/postgresql/server/access/printtup.h
include/postgresql/server/access/reloptions.h
include/postgresql/server/access/relscan.h
include/postgresql/server/access/rmgr.h
include/postgresql/server/access/rtree.h
include/postgresql/server/access/rtscan.h
include/postgresql/server/access/sdir.h
include/postgresql/server/access/skey.h
include/postgresql/server/access/slru.h
@ -91,10 +91,12 @@ include/postgresql/server/catalog/pg_pltemplate.h
include/postgresql/server/catalog/pg_proc.h
include/postgresql/server/catalog/pg_rewrite.h
include/postgresql/server/catalog/pg_shdepend.h
include/postgresql/server/catalog/pg_shdescription.h
include/postgresql/server/catalog/pg_statistic.h
include/postgresql/server/catalog/pg_tablespace.h
include/postgresql/server/catalog/pg_trigger.h
include/postgresql/server/catalog/pg_type.h
include/postgresql/server/catalog/toasting.h
include/postgresql/server/commands/alter.h
include/postgresql/server/commands/async.h
include/postgresql/server/commands/cluster.h
@ -150,6 +152,7 @@ include/postgresql/server/executor/nodeSubplan.h
include/postgresql/server/executor/nodeSubqueryscan.h
include/postgresql/server/executor/nodeTidscan.h
include/postgresql/server/executor/nodeUnique.h
include/postgresql/server/executor/nodeValuesscan.h
include/postgresql/server/executor/spi.h
include/postgresql/server/executor/spi_priv.h
include/postgresql/server/executor/tstoreReceiver.h
@ -168,6 +171,7 @@ include/postgresql/server/libpq/ip.h
include/postgresql/server/libpq/libpq-be.h
include/postgresql/server/libpq/libpq-fs.h
include/postgresql/server/libpq/libpq.h
include/postgresql/server/libpq/md5.h
include/postgresql/server/libpq/pqcomm.h
include/postgresql/server/libpq/pqformat.h
include/postgresql/server/libpq/pqsignal.h
@ -232,11 +236,11 @@ include/postgresql/server/parser/scansup.h
include/postgresql/server/pg_config.h
include/postgresql/server/pg_config_manual.h
include/postgresql/server/pg_config_os.h
include/postgresql/server/pg_trace.h
include/postgresql/server/pgstat.h
include/postgresql/server/pgtime.h
include/postgresql/server/port.h
include/postgresql/server/port/aix.h
include/postgresql/server/port/beos.h
include/postgresql/server/port/bsdi.h
include/postgresql/server/port/cygwin.h
include/postgresql/server/port/darwin.h
@ -249,7 +253,6 @@ include/postgresql/server/port/netbsd.h
include/postgresql/server/port/nextstep.h
include/postgresql/server/port/openbsd.h
include/postgresql/server/port/osf.h
include/postgresql/server/port/qnx4.h
include/postgresql/server/port/sco.h
include/postgresql/server/port/solaris.h
include/postgresql/server/port/sunos4.h
@ -312,7 +315,6 @@ include/postgresql/server/storage/sinval.h
include/postgresql/server/storage/sinvaladt.h
include/postgresql/server/storage/smgr.h
include/postgresql/server/storage/spin.h
include/postgresql/server/strdup.h
include/postgresql/server/tcop/dest.h
include/postgresql/server/tcop/fastpath.h
include/postgresql/server/tcop/pquery.h
@ -366,6 +368,7 @@ include/postgresql/server/utils/tqual.h
include/postgresql/server/utils/tuplesort.h
include/postgresql/server/utils/tuplestore.h
include/postgresql/server/utils/typcache.h
include/postgresql/server/utils/tzparser.h
include/postgresql/server/utils/varbit.h
@dirrm include/postgresql/server/utils
@dirrm include/postgresql/server/tcop
@ -430,7 +433,7 @@ lib/libecpg_compat.so
lib/libecpg_compat.so.2
lib/libpq.a
lib/libpq.so
lib/libpq.so.4
lib/libpq.so.5
lib/libpgtypes.a
lib/libpgtypes.so
lib/libpgtypes.so.2
@ -511,6 +514,7 @@ share/postgresql/psqlrc.sample
%%GETTEXT%%share/locale/ko/LC_MESSAGES/pgscripts.mo
%%GETTEXT%%share/locale/ko/LC_MESSAGES/psql.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/libpq.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_config.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_controldata.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_dump.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_resetxlog.mo

View File

@ -1,76 +1,74 @@
bin/DBMirror.pl
bin/clean_pending.pl
bin/dbf2pg
bin/fti.pl
bin/oid2name
bin/pgbench
bin/vacuumlo
lib/postgresql/_int.so
lib/postgresql/adminpack.so
lib/postgresql/autoinc.so
lib/postgresql/btree_gist.so
lib/postgresql/pg_buffercache.so
lib/postgresql/chkpass.so
lib/postgresql/cube.so
lib/postgresql/dblink.so
lib/postgresql/earthdistance.so
lib/postgresql/fti.so
lib/postgresql/fuzzystrmatch.so
lib/postgresql/hstore.so
lib/postgresql/insert_username.so
lib/postgresql/int_aggregate.so
lib/postgresql/isbn_issn.so
lib/postgresql/isn.so
lib/postgresql/lo.so
lib/postgresql/ltree.so
lib/postgresql/moddatetime.so
lib/postgresql/pending.so
lib/postgresql/pg_buffercache.so
lib/postgresql/pg_freespacemap.so
lib/postgresql/pg_trgm.so
lib/postgresql/pgcrypto.so
lib/postgresql/pgrowlocks.so
lib/postgresql/pgstattuple.so
lib/postgresql/refint.so
lib/postgresql/seg.so
lib/postgresql/sslinfo.so
lib/postgresql/tablefunc.so
lib/postgresql/timetravel.so
lib/postgresql/tsearch2.so
lib/postgresql/user_locks.so
%%DOCSDIR%%/README-contrib
%%DOCSDIR%%/contrib/README
%%DOCSDIR%%/contrib/README.apachelog
%%DOCSDIR%%/contrib/README.adminpack
%%DOCSDIR%%/contrib/README.btree_gist
%%DOCSDIR%%/contrib/README.chkpass
%%DOCSDIR%%/contrib/README.cube
%%DOCSDIR%%/contrib/README.dbf2pg
%%DOCSDIR%%/contrib/README.dblink
%%DOCSDIR%%/contrib/README.dbmirror
%%DOCSDIR%%/contrib/README.earthdistance
%%DOCSDIR%%/contrib/README.fti
%%DOCSDIR%%/contrib/README.fuzzystrmatch
%%DOCSDIR%%/contrib/README.hstore
%%DOCSDIR%%/contrib/README.int_aggregate
%%DOCSDIR%%/contrib/README.intarray
%%DOCSDIR%%/contrib/README.isbn_issn
%%DOCSDIR%%/contrib/README.isn
%%DOCSDIR%%/contrib/README.lo
%%DOCSDIR%%/contrib/README.ltree
%%DOCSDIR%%/contrib/README.oid2name
%%DOCSDIR%%/contrib/README.pg_buffercache
%%DOCSDIR%%/contrib/README.pg_freespacemap
%%DOCSDIR%%/contrib/README.pg_trgm
%%DOCSDIR%%/contrib/README.pgbench
%%DOCSDIR%%/contrib/README.pgbench_jis
%%DOCSDIR%%/contrib/README.pgcrypto
%%DOCSDIR%%/contrib/README.pgrowlocks
%%DOCSDIR%%/contrib/README.pgrowlocks.euc_jp
%%DOCSDIR%%/contrib/README.pgstattuple
%%DOCSDIR%%/contrib/README.pgstattuple.euc_jp
%%DOCSDIR%%/contrib/README.seg
%%DOCSDIR%%/contrib/README.soundex
%%DOCSDIR%%/contrib/README.spi
%%DOCSDIR%%/contrib/README.sslinfo
%%DOCSDIR%%/contrib/README.tablefunc
%%DOCSDIR%%/contrib/README.tsearch2
%%DOCSDIR%%/contrib/README.user_locks
%%DOCSDIR%%/contrib/README.vacuumlo
%%DOCSDIR%%/contrib/autoinc.example
%%DOCSDIR%%/contrib/insert_username.example
%%DOCSDIR%%/contrib/moddatetime.example
%%DOCSDIR%%/contrib/refint.example
%%DOCSDIR%%/contrib/timetravel.example
share/postgresql/contrib/AddTrigger.sql
share/postgresql/contrib/MirrorSetup.sql
share/postgresql/contrib/_int.sql
share/postgresql/contrib/adminpack.sql
share/postgresql/contrib/autoinc.sql
share/postgresql/contrib/btree_gist.sql
share/postgresql/contrib/chkpass.sql
@ -78,29 +76,52 @@ share/postgresql/contrib/cube.sql
share/postgresql/contrib/dblink.sql
share/postgresql/contrib/earthdistance.sql
share/postgresql/contrib/english.stop
share/postgresql/contrib/fti.sql
share/postgresql/contrib/fuzzystrmatch.sql
share/postgresql/contrib/hstore.sql
share/postgresql/contrib/insert_username.sql
share/postgresql/contrib/int_aggregate.sql
share/postgresql/contrib/isbn_issn.sql
share/postgresql/contrib/isn.sql
share/postgresql/contrib/lo.sql
share/postgresql/contrib/lo_drop.sql
share/postgresql/contrib/lo_test.sql
share/postgresql/contrib/ltree.sql
share/postgresql/contrib/moddatetime.sql
share/postgresql/contrib/pg_buffercache.sql
share/postgresql/contrib/pg_freespacemap.sql
share/postgresql/contrib/pg_trgm.sql
share/postgresql/contrib/pgcrypto.sql
share/postgresql/contrib/pgrowlocks.sql
share/postgresql/contrib/pgstattuple.sql
share/postgresql/contrib/refint.sql
share/postgresql/contrib/russian.stop
share/postgresql/contrib/russian.stop.utf8
share/postgresql/contrib/seg.sql
share/postgresql/contrib/slaveDatabase.conf
share/postgresql/contrib/sslinfo.sql
share/postgresql/contrib/tablefunc.sql
share/postgresql/contrib/thesaurus
share/postgresql/contrib/timetravel.sql
share/postgresql/contrib/tsearch2.sql
share/postgresql/contrib/untsearch2.sql
share/postgresql/contrib/user_locks.sql
share/postgresql/contrib/uninstall__int.sql
share/postgresql/contrib/uninstall_adminpack.sql
share/postgresql/contrib/uninstall_btree_gist.sql
share/postgresql/contrib/uninstall_chkpass.sql
share/postgresql/contrib/uninstall_cube.sql
share/postgresql/contrib/uninstall_dblink.sql
share/postgresql/contrib/uninstall_earthdistance.sql
share/postgresql/contrib/uninstall_fuzzystrmatch.sql
share/postgresql/contrib/uninstall_hstore.sql
share/postgresql/contrib/uninstall_int_aggregate.sql
share/postgresql/contrib/uninstall_isn.sql
share/postgresql/contrib/uninstall_lo.sql
share/postgresql/contrib/uninstall_ltree.sql
share/postgresql/contrib/uninstall_pg_buffercache.sql
share/postgresql/contrib/uninstall_pg_freespacemap.sql
share/postgresql/contrib/uninstall_pg_trgm.sql
share/postgresql/contrib/uninstall_pgcrypto.sql
share/postgresql/contrib/uninstall_pgrowlocks.sql
share/postgresql/contrib/uninstall_pgstattuple.sql
share/postgresql/contrib/uninstall_seg.sql
share/postgresql/contrib/uninstall_sslinfo.sql
share/postgresql/contrib/uninstall_tablefunc.sql
share/postgresql/contrib/uninstall_tsearch2.sql
@dirrmtry share/postgresql/contrib >&2
@dirrmtry share/postgresql >&2
@dirrmtry %%DOCSDIR%%/contrib >&2

File diff suppressed because it is too large Load Diff

View File

@ -6,28 +6,27 @@
#
PORTNAME?= postgresql
PKGNAMESUFFIX?= -server
PORTVERSION?= 8.1.4
PORTREVISION?= 1
PORTVERSION?= 8.2.0
PORTREVISION?= 0
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= source/v${PORTVERSION}
PKGNAMESUFFIX?= -server
DISTFILES?= postgresql-base-${PORTVERSION}${EXTRACT_SUFX} \
postgresql-opt-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER?= girgen@FreeBSD.org
COMMENT?= The most advanced open-source database available anywhere
CONFLICTS?= ${PORTNAME}-client-7.[0-9]* \
${PORTNAME}${PKGNAMESUFFIX}-7.[0-9]* \
${PORTNAME}-client-8.0.* \
${PORTNAME}${PKGNAMESUFFIX}-8.0.*
BROKEN= work in progress
CONFLICTS?= ${PORTNAME}-client-7.* \
${PORTNAME}${PKGNAMESUFFIX}-7.* \
${PORTNAME}-client-8.[0-13-9]* \
${PORTNAME}${PKGNAMESUFFIX}-8.[0-13-9]*
WRKSRC= ${WRKDIR}/postgresql-${PORTVERSION}
DIST_SUBDIR= postgresql
UNIQUENAME?= ${PORTNAME}81
UNIQUENAME?= ${PORTNAME}82
LATEST_LINK?= ${PKGNAMEPREFIX}${UNIQUENAME}${PKGNAMESUFFIX}
PKGINSTALL?= ${PKGDIR}/pkg-install${PKGNAMESUFFIX}
@ -47,14 +46,14 @@ CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
PLIST= ${PKGDIR}/pkg-plist${PKGNAMESUFFIX}
BUILD_DIRS?= src/port src/timezone src/backend src/backend/utils/mb/conversion_procs \
src/pl src/utils
src/pl config
INSTALL_DIRS?= ${BUILD_DIRS}
PKGMESSAGE= ${WRKDIR}/.pkg-message${PKGNAMESUFFIX}
.if !defined(CLIENT_ONLY) && !defined(SLAVE_ONLY)
SERVER_ONLY= yes
USE_RC_SUBR= yes
RCSCRIPT= ${PREFIX}/etc/rc.d/010.pgsql.sh
USE_RC_SUBR= postgresql
SUB_FILES+= dot.cshrc dot.profile
USE_PGSQL= yes
WANT_PGSQL_VER= ${PORTVERSION:C/([0-9][0-9]*)\.([0-9][0-9]*).*/\1\2/g}
.endif
@ -76,7 +75,7 @@ CONFIGURE_ARGS+=--with-openssl
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
BROKEN= "Coredump during build on alpha 4.x"
BROKEN= Coredump during build on alpha 4.x
.endif
.if !defined(SLAVE_ONLY)
@ -95,7 +94,7 @@ OPTIONS+= TESTS "Allows the use of a \"check\" target (server)" off
OPTIONS+= DEBUG "Builds with debugging symbols" off
# See http://people.freebsd.org/~girgen/postgresql-icu/README.html for more info
OPTIONS+= ICU "Use ICU for unicode collation (server)" off
#OPTIONS+= ICU "Use ICU for unicode collation (server)" off
# See http://gppl.moonbone.ru/ for more info
#OPTIONS+= HIER "Builds with query hierarchy (server)" off
@ -104,22 +103,26 @@ OPTIONS+= ICU "Use ICU for unicode collation (server)" off
# (requires dump/restore if modified.)
OPTIONS+= INTDATE "Builds with 64-bit date/time type (server)" off
. if defined(SERVER_ONLY) && defined(WITH_HIER)
#PATCH_SITES+= http://gppl.moonbone.ru/:hier801054
#PATCHFILES+= hier-Pg8.0.1-0.5.4.diff.gz:hier801054
#USE_BISON= yes
. endif
# . if (defined(SERVER_ONLY) && defined(WITH_HIER)) || make(makesum)
# PATCH_SITES+= http://gppl.moonbone.ru/:hier812055
# PATCHFILES+= hier-Pg8.1.2-0.5.5.diff.gz:hier812055
# USE_BISON= yes
# . endif
. if defined(SERVER_ONLY) && defined(WITH_ICU)
USE_AUTOTOOLS= autoconf:259
CONFIGURE_ARGS+=--with-icu
LIB_DEPENDS= icudata:${PORTSDIR}/devel/icu
PATCH_SITES+= http://people.freebsd.org/~girgen/postgresql-icu/:icu
PATCHFILES+= pg-814-icu-xx-2006-09-25.diff.gz:icu
. endif
# . if (defined(SERVER_ONLY) && defined(WITH_ICU)) || make(makesum)
# USE_AUTOTOOLS= autoconf:259
# CONFIGURE_ARGS+=--with-icu
# LIB_DEPENDS= icudata:${PORTSDIR}/devel/icu
# PATCH_SITES+= http://people.freebsd.org/~girgen/postgresql-icu/:icu
# PATCHFILES+= pg-814-icu-xx-2006-09-25.diff.gz:icu
# . endif
PATCH_DIST_STRIP=-p1
. ifmake makesum
DISTFILES+= postgresql-docs-${PORTVERSION}${EXTRACT_SUFX}
. endif
. if defined(SERVER_ONLY) && defined(WITH_PAM)
CONFIGURE_ARGS+=--with-pam
. endif
@ -173,12 +176,12 @@ CONFIGURE_ARGS+=--with-krb5
# Postgresql apps will not link properly when libpq is linked with base heimdal in /usr,
# so we always use the heimdal port. See
# http://lists.freebsd.org/pipermail/freebsd-stable/2005-October/018809.html
LIB_DEPENDS+= krb5.20:${PORTSDIR}/security/heimdal
LIB_DEPENDS+= krb5.21:${PORTSDIR}/security/heimdal
CONFIGURE_ARGS+=--with-krb5
. endif
. endif
. if defined(SERVER_ONLY) && defined(WITH_TESTS)
. if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || make(makesum)
DISTFILES+= postgresql-test-${PORTVERSION}${EXTRACT_SUFX}
EXTRA_PATCHES= ${FILESDIR}/regresspatch-src-test-regress-pgregress-sh
. endif
@ -221,13 +224,13 @@ MAN7= abort.7 alter_aggregate.7 alter_conversion.7 alter_database.7 \
drop_aggregate.7 drop_cast.7 drop_conversion.7 \
drop_database.7 drop_domain.7 drop_function.7 \
drop_group.7 drop_index.7 drop_language.7 \
drop_operator.7 drop_operator_class.7 drop_role.7 \
drop_rule.7 \
drop_operator.7 drop_operator_class.7 drop_owned.7 \
drop_role.7 drop_rule.7 \
drop_schema.7 drop_sequence.7 drop_table.7 drop_trigger.7 \
drop_type.7 drop_user.7 drop_view.7 end.7 execute.7 \
explain.7 fetch.7 grant.7 insert.7 listen.7 load.7 \
lock.7 move.7 notify.7 prepare.7 prepare_transaction.7 \
reindex.7 reset.7 \
reassign_owned.7 reindex.7 reset.7 \
revoke.7 rollback.7 rollback_prepared.7 select.7 \
select_into.7 set.7 \
set_constraints.7 set_role.7 set_transaction.7 show.7 \
@ -236,7 +239,7 @@ MAN7= abort.7 alter_aggregate.7 alter_conversion.7 alter_database.7 \
alter_operator.7 alter_tablespace.7 alter_type.7 \
create_tablespace.7 drop_tablespace.7 \
release_savepoint.7 rollback_to_savepoint.7 \
savepoint.7
savepoint.7 values.7
.endif
.if defined(SERVER_ONLY)
@ -260,11 +263,9 @@ do-build:
cd ${WRKSRC}/$${dir} && ${SETENV} ${MAKE_ENV} ${GMAKE}; \
done
. if exists(${MASTERDIR}/pkg-message${PKGNAMESUFFIX})
post-build:
@ ${SED} "s|/usr/local|${PREFIX}|g" \
< ${MASTERDIR}/pkg-message${PKGNAMESUFFIX} \
> ${PKGMESSAGE}
. if exists(${FILESDIR}/pkg-message${PKGNAMESUFFIX}.in)
SUB_FILES+= pkg-message${PKGNAMESUFFIX}
PKGMESSAGE= ${WRKSRC}/pkg-message${PKGNAMESUFFIX}
. endif
.endif
@ -283,20 +284,13 @@ do-install:
. if defined(SERVER_ONLY)
@ ${MKDIR} ${PREFIX}/share/postgresql
. for i in profile cshrc
@ ${SED} "s|%%PREFIX%%|${PREFIX}|g" \
< ${FILESDIR}/dot.$i.in \
> ${PREFIX}/share/postgresql/dot.$i.dist; \
${CP} ${PREFIX}/share/postgresql/dot.$i.dist ~pgsql/; \
${INSTALL_DATA} ${WRKDIR}/dot.$i ${PREFIX}/share/postgresql/dot.$i.dist; \
${INSTALL_DATA} -o pgsql -g pgsql ${WRKDIR}/dot.$i ~pgsql/dot.$i.dist ; \
if [ ! -f ~pgsql/.$i ]; then \
${CP} ${PREFIX}/share/postgresql/dot.$i.dist ~pgsql/.$i; \
${CP} -p ~pgsql/dot.$i.dist ~pgsql/.$i; \
fi
. endfor
@ ${SED} -e "s|%%PREFIX%%|${PREFIX}|g; s|%%RC_SUBR%%|${RC_SUBR}|g" \
< ${FILESDIR}/pgsql.sh.tmpl \
> ${RCSCRIPT} ;\
${CHMOD} 555 ${RCSCRIPT} ;\
${CHOWN} root:pgsql ${RCSCRIPT} ;\
${CHOWN} -R pgsql:pgsql ~pgsql/. ;\
@ ${CHOWN} -R pgsql:pgsql ~pgsql/. ;\
${MKDIR} ${PREFIX}/etc/periodic/daily ;\
${INSTALL_SCRIPT} ${FILESDIR}/502.pgsql \
${PREFIX}/etc/periodic/daily

View File

@ -1,15 +1,15 @@
MD5 (postgresql/postgresql-base-8.1.4.tar.bz2) = 7ba24eaa31237eb8713782508de4dec7
SHA256 (postgresql/postgresql-base-8.1.4.tar.bz2) = 3d5e6cf4aa1593730c61676ffc4e3acbed73c0e13fb246035e54e4cf83fa60e1
SIZE (postgresql/postgresql-base-8.1.4.tar.bz2) = 8040435
MD5 (postgresql/postgresql-docs-8.1.4.tar.bz2) = 5edc420b949a22d9960fc72609a24af3
SHA256 (postgresql/postgresql-docs-8.1.4.tar.bz2) = 1578423df71962e22fe94b1123db680983d4e2f82e5bbb4913d96d9f6265de7f
SIZE (postgresql/postgresql-docs-8.1.4.tar.bz2) = 2485052
MD5 (postgresql/postgresql-opt-8.1.4.tar.bz2) = 6aad690bd918086cc3fbf673b74e65e6
SHA256 (postgresql/postgresql-opt-8.1.4.tar.bz2) = 5a6d27e303ad9b073f91e51658b13cfeb153e3d886af5e5c1093ea315e15738c
SIZE (postgresql/postgresql-opt-8.1.4.tar.bz2) = 144696
MD5 (postgresql/postgresql-test-8.1.4.tar.bz2) = a4918ec95fd589f8b1eeb0e3d704045c
SHA256 (postgresql/postgresql-test-8.1.4.tar.bz2) = b7449222f9f4c3340d6d065914d10df1d4a8b13d63c967c9e65190812325b8d9
SIZE (postgresql/postgresql-test-8.1.4.tar.bz2) = 946868
MD5 (postgresql/postgresql-base-8.2.0.tar.bz2) = c827602068e8d3ba20d575c87d102932
SHA256 (postgresql/postgresql-base-8.2.0.tar.bz2) = 26544b843761b5acc4c3452ac3403e67cbe5d4a486583242bb6f4c77810b4284
SIZE (postgresql/postgresql-base-8.2.0.tar.bz2) = 8483588
MD5 (postgresql/postgresql-opt-8.2.0.tar.bz2) = d0bf0284ae3ae6ea56f6b08427f7ab9a
SHA256 (postgresql/postgresql-opt-8.2.0.tar.bz2) = 06a016bf72a33061c4f297f15d32b8aadd742bfe54256573e59bb7916ec3df29
SIZE (postgresql/postgresql-opt-8.2.0.tar.bz2) = 167666
MD5 (postgresql/postgresql-docs-8.2.0.tar.bz2) = 4221311dc619659344b8e03ddbaa249b
SHA256 (postgresql/postgresql-docs-8.2.0.tar.bz2) = 30096acf2d6c0bf5937571625de2d477586f0e5989ee8d56c58868bc738d4f2e
SIZE (postgresql/postgresql-docs-8.2.0.tar.bz2) = 2744490
MD5 (postgresql/postgresql-test-8.2.0.tar.bz2) = 0269ab5b70f9b677a97a856c3e46a5f5
SHA256 (postgresql/postgresql-test-8.2.0.tar.bz2) = 695c82bb987fb0fcc09c059b7da914164fd1577d5ab8873d7371ec398e47dff5
SIZE (postgresql/postgresql-test-8.2.0.tar.bz2) = 985281
MD5 (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 2eb31538f3ee367767aeacd95b11d623
SHA256 (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 8dea05bdbc2b78426b159f628b693f69da17b930fe4882e166d5e8a3e698b7d9
SIZE (postgresql/pg-814-icu-xx-2006-09-25.diff.gz) = 3987

View File

@ -1,5 +1,5 @@
--- src/backend/utils/misc/postgresql.conf.sample~ Tue Nov 8 00:45:49 2005
+++ src/backend/utils/misc/postgresql.conf.sample Tue Nov 8 00:47:16 2005
--- src/backend/utils/misc/postgresql.conf.sample.orig Sun May 21 22:11:02 2006
+++ src/backend/utils/misc/postgresql.conf.sample Tue Nov 7 17:23:50 2006
@@ -206,6 +206,7 @@
# - Where to Log -
@ -16,3 +16,12 @@
#silent_mode = off # DO NOT USE without syslog or
# redirect_stderr
@@ -339,6 +341,8 @@
#---------------------------------------------------------------------------
# AUTOVACUUM PARAMETERS
#---------------------------------------------------------------------------
+
+autovacuum = on
#autovacuum = off # enable autovacuum subprocess?
#autovacuum_naptime = 60 # time between autovacuum runs, in secs

View File

@ -1,59 +0,0 @@
#!/bin/sh
# $FreeBSD$
#
# PROVIDE: postgresql
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable PostgreSQL:
#
# postgresql_enable="YES"
# # optional
# postgresql_data="%%PREFIX%%/pgsql/data"
# postgresql_flags="-w -s -m fast"
#
# This scripts takes one of the following commands:
#
# start stop restart reload status initdb
#
# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
prefix=%%PREFIX%%
command=${prefix}/bin/pg_ctl
. %%RC_SUBR%%
load_rc_config postgresql
# set defaults
postgresql_enable=${postgresql_enable:-"NO"}
postgresql_flags=${postgresql_flags:-"-w -s -m fast"}
postgresql_user=pgsql
eval postgresql_data=${postgresql_data:-"~${postgresql_user}/data"}
postgresql_class=${postgresql_class:-"default"}
name=postgresql
rcvar=`set_rcvar`
command_args="-D ${postgresql_data} ${postgresql_flags}"
extra_commands="reload initdb"
start_cmd="postgresql_command start"
stop_cmd="postgresql_command stop"
restart_cmd="postgresql_command restart"
reload_cmd="postgresql_command reload"
status_cmd="postgresql_command status"
initdb_cmd="postgresql_initdb"
postgresql_command()
{
su -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
}
postgresql_initdb()
{
su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb -D ${postgresql_data}"
}
run_rc_command "$1"

View File

@ -0,0 +1,3 @@
The PostgreSQL contrib utilities have been installed. Please see
%%PREFIX%%/share/doc/postgresql/contrib/README
for more information.

View File

@ -0,0 +1,70 @@
For procedural languages and postgresql functions, please note that
you might have to update them when updating the server.
If you have many tables and many clients running, consider raising
kern.maxfiles using sysctl(8), or reconfigure your kernel
appropriately.
The port is set up to use autovacuum for new databases, but you might
also want to vacuum and perhaps backup your database regularly. There
is a periodic script, %%PREFIX%%/etc/periodic/daily/502.pgsql, that
you may find useful. You can use it to backup and perfom vacuum on all
databases nightly. Per default, it perfoms `vacuum analyze'. See the
script for instructions. For autovacuum settings, please review
~pgsql/data/postgresql.conf.
To allow many simultaneous connections to your PostgreSQL server, you
should raise the SystemV shared memory limits in your kernel. Here are
example values for allowing up to 180 clients (configurations in
postgresql.conf also needed, of course):
options SYSVSHM
options SYSVSEM
options SYSVMSG
options SHMMAXPGS=65536
options SEMMNI=40
options SEMMNS=240
options SEMUME=40
options SEMMNU=120
If you plan to access your PostgreSQL server using ODBC, please
consider running the SQL script %%PREFIX%%/share/postgresql/odbc.sql
to get the functions required for ODBC compliance.
Please note that if you use the rc script,
%%PREFIX%%/etc/rc.conf/postgresql, to initialize the database, unicode
(UTF-8) will be used to store character data by default. Set
postgresql_initdb_flags or use login.conf settings described below to
alter this behaviour. See the start rc script for more info.
To set limits, environment stuff like locale and collation and other
things, you can set up a class in /etc/login.conf before initializing
the database. Add something similar to this to /etc/login.conf:
---
postgres:\
:lang=en_US.UTF-8:\
:setenv=LC_COLLATE=C:\
:tc=default:
---
and run `cap_mkdb /etc/login.conf'.
Then add 'postgresql_class="postgres"' to /etc/rc.conf.
======================================================================
To initialize the database, run
%%PREFIX%%/etc/rc.d/postgresql initdb
You can then start PostgreSQL by running:
%%PREFIX%%/etc/rc.d/postgresql start
For postmaster settings, see ~pgsql/data/postgresql.conf
NB. FreeBSD's PostgreSQL port logs to syslog by default
See ~pgsql/data/postgresql.conf for more info
======================================================================
To run PostgreSQL at startup, add
'postgresql_enable="YES"' to /etc/rc.conf

View File

@ -0,0 +1,64 @@
#!/bin/sh
# $FreeBSD$
#
# PROVIDE: postgresql
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable PostgreSQL:
#
# postgresql_enable="YES"
# # optional
# postgresql_data="%%PREFIX%%/pgsql/data"
# postgresql_flags="-w -s -m fast"
# postgresql_initdb_flags="--encoding=utf-8 --lc_collate=C"
# postgresql_class="default"
#
# See %%PREFIX%%/share/doc/postgresql/README-server for more info
#
# This scripts takes one of the following commands:
#
# start stop restart reload status initdb
#
# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
prefix=%%PREFIX%%
command=${prefix}/bin/pg_ctl
. %%RC_SUBR%%
load_rc_config postgresql
# set defaults
postgresql_enable=${postgresql_enable:-"NO"}
postgresql_flags=${postgresql_flags:-"-w -s -m fast"}
postgresql_user=pgsql
eval postgresql_data=${postgresql_data:-"~${postgresql_user}/data"}
postgresql_class=${postgresql_class:-"default"}
postgresql_initdb_flags=${postgresql_initdb_flags:-"--encoding=utf-8 --lc_collate=C"}
name=postgresql
rcvar=`set_rcvar`
command_args="-D ${postgresql_data} ${postgresql_flags}"
extra_commands="reload initdb"
start_cmd="postgresql_command start"
stop_cmd="postgresql_command stop"
restart_cmd="postgresql_command restart"
reload_cmd="postgresql_command reload"
status_cmd="postgresql_command status"
initdb_cmd="postgresql_initdb"
postgresql_command()
{
su -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
}
postgresql_initdb()
{
su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb -D ${postgresql_data}"
}
run_rc_command "$1"

View File

@ -1,3 +0,0 @@
The PostgreSQL contrib utilities have been installed. Please see
/usr/local/share/doc/postgresql/contrib/README
for more information.

View File

@ -1,49 +0,0 @@
For procedural languages and postgresql functions, please note that
you might have to update them when updating the server.
If you have many tables and many clients running, consider raising
kern.maxfiles using sysctl(8), or reconfigure your kernel
appropriately.
You should vacuum and backup your database regularly. There is a
periodic script, ${LOCALBASE}/etc/periodic/daily/502.pgsql, that you
may find useful. Per default, it perfoms vacuum on all databases
nightly. See the script for instructions.
To allow many simultaneous connections to your PostgreSQL server, you
should raise the SystemV shared memory limits in your kernel. Here are
example values for allowing up to 180 clients (configurations in
postgresql.conf also needed, of course):
options SYSVSHM
options SYSVSEM
options SYSVMSG
options SHMMAXPGS=65536
options SEMMNI=40
options SEMMNS=240
options SEMUME=40
options SEMMNU=120
If you plan to access your PostgreSQL server using ODBC, please
consider running the SQL script /usr/local/share/postgresql/odbc.sql
to get the functions required for ODBC compliance.
======================================================================
To initialize the database, run
/usr/local/etc/rc.d/010.pgsql.sh initdb
You can then start PostgreSQL by running:
/usr/local/etc/rc.d/010.pgsql.sh start
For postmaster settings, see ~pgsql/data/postgresql.conf
NB. FreeBSD's PostgreSQL port now by default logs to syslog
See ~pgsql/data/postgresql.conf for more info
======================================================================
To run PostgreSQL at startup, add
'postgresql_enable="YES"' to /etc/rc.conf

View File

@ -18,9 +18,11 @@ bin/pg_restore
bin/psql
bin/reindexdb
bin/vacuumdb
include/ecpg_config.h
include/postgresql/server/access/attnum.h
include/postgresql/server/access/clog.h
include/postgresql/server/access/genam.h
include/postgresql/server/access/gin.h
include/postgresql/server/access/gist.h
include/postgresql/server/access/gist_private.h
include/postgresql/server/access/gistscan.h
@ -28,15 +30,13 @@ include/postgresql/server/access/hash.h
include/postgresql/server/access/heapam.h
include/postgresql/server/access/hio.h
include/postgresql/server/access/htup.h
include/postgresql/server/access/iqual.h
include/postgresql/server/access/itup.h
include/postgresql/server/access/multixact.h
include/postgresql/server/access/nbtree.h
include/postgresql/server/access/printtup.h
include/postgresql/server/access/reloptions.h
include/postgresql/server/access/relscan.h
include/postgresql/server/access/rmgr.h
include/postgresql/server/access/rtree.h
include/postgresql/server/access/rtscan.h
include/postgresql/server/access/sdir.h
include/postgresql/server/access/skey.h
include/postgresql/server/access/slru.h
@ -91,10 +91,12 @@ include/postgresql/server/catalog/pg_pltemplate.h
include/postgresql/server/catalog/pg_proc.h
include/postgresql/server/catalog/pg_rewrite.h
include/postgresql/server/catalog/pg_shdepend.h
include/postgresql/server/catalog/pg_shdescription.h
include/postgresql/server/catalog/pg_statistic.h
include/postgresql/server/catalog/pg_tablespace.h
include/postgresql/server/catalog/pg_trigger.h
include/postgresql/server/catalog/pg_type.h
include/postgresql/server/catalog/toasting.h
include/postgresql/server/commands/alter.h
include/postgresql/server/commands/async.h
include/postgresql/server/commands/cluster.h
@ -150,6 +152,7 @@ include/postgresql/server/executor/nodeSubplan.h
include/postgresql/server/executor/nodeSubqueryscan.h
include/postgresql/server/executor/nodeTidscan.h
include/postgresql/server/executor/nodeUnique.h
include/postgresql/server/executor/nodeValuesscan.h
include/postgresql/server/executor/spi.h
include/postgresql/server/executor/spi_priv.h
include/postgresql/server/executor/tstoreReceiver.h
@ -168,6 +171,7 @@ include/postgresql/server/libpq/ip.h
include/postgresql/server/libpq/libpq-be.h
include/postgresql/server/libpq/libpq-fs.h
include/postgresql/server/libpq/libpq.h
include/postgresql/server/libpq/md5.h
include/postgresql/server/libpq/pqcomm.h
include/postgresql/server/libpq/pqformat.h
include/postgresql/server/libpq/pqsignal.h
@ -232,11 +236,11 @@ include/postgresql/server/parser/scansup.h
include/postgresql/server/pg_config.h
include/postgresql/server/pg_config_manual.h
include/postgresql/server/pg_config_os.h
include/postgresql/server/pg_trace.h
include/postgresql/server/pgstat.h
include/postgresql/server/pgtime.h
include/postgresql/server/port.h
include/postgresql/server/port/aix.h
include/postgresql/server/port/beos.h
include/postgresql/server/port/bsdi.h
include/postgresql/server/port/cygwin.h
include/postgresql/server/port/darwin.h
@ -249,7 +253,6 @@ include/postgresql/server/port/netbsd.h
include/postgresql/server/port/nextstep.h
include/postgresql/server/port/openbsd.h
include/postgresql/server/port/osf.h
include/postgresql/server/port/qnx4.h
include/postgresql/server/port/sco.h
include/postgresql/server/port/solaris.h
include/postgresql/server/port/sunos4.h
@ -312,7 +315,6 @@ include/postgresql/server/storage/sinval.h
include/postgresql/server/storage/sinvaladt.h
include/postgresql/server/storage/smgr.h
include/postgresql/server/storage/spin.h
include/postgresql/server/strdup.h
include/postgresql/server/tcop/dest.h
include/postgresql/server/tcop/fastpath.h
include/postgresql/server/tcop/pquery.h
@ -366,6 +368,7 @@ include/postgresql/server/utils/tqual.h
include/postgresql/server/utils/tuplesort.h
include/postgresql/server/utils/tuplestore.h
include/postgresql/server/utils/typcache.h
include/postgresql/server/utils/tzparser.h
include/postgresql/server/utils/varbit.h
@dirrm include/postgresql/server/utils
@dirrm include/postgresql/server/tcop
@ -430,7 +433,7 @@ lib/libecpg_compat.so
lib/libecpg_compat.so.2
lib/libpq.a
lib/libpq.so
lib/libpq.so.4
lib/libpq.so.5
lib/libpgtypes.a
lib/libpgtypes.so
lib/libpgtypes.so.2
@ -511,6 +514,7 @@ share/postgresql/psqlrc.sample
%%GETTEXT%%share/locale/ko/LC_MESSAGES/pgscripts.mo
%%GETTEXT%%share/locale/ko/LC_MESSAGES/psql.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/libpq.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_config.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_controldata.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_dump.mo
%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_resetxlog.mo

View File

@ -1,76 +1,74 @@
bin/DBMirror.pl
bin/clean_pending.pl
bin/dbf2pg
bin/fti.pl
bin/oid2name
bin/pgbench
bin/vacuumlo
lib/postgresql/_int.so
lib/postgresql/adminpack.so
lib/postgresql/autoinc.so
lib/postgresql/btree_gist.so
lib/postgresql/pg_buffercache.so
lib/postgresql/chkpass.so
lib/postgresql/cube.so
lib/postgresql/dblink.so
lib/postgresql/earthdistance.so
lib/postgresql/fti.so
lib/postgresql/fuzzystrmatch.so
lib/postgresql/hstore.so
lib/postgresql/insert_username.so
lib/postgresql/int_aggregate.so
lib/postgresql/isbn_issn.so
lib/postgresql/isn.so
lib/postgresql/lo.so
lib/postgresql/ltree.so
lib/postgresql/moddatetime.so
lib/postgresql/pending.so
lib/postgresql/pg_buffercache.so
lib/postgresql/pg_freespacemap.so
lib/postgresql/pg_trgm.so
lib/postgresql/pgcrypto.so
lib/postgresql/pgrowlocks.so
lib/postgresql/pgstattuple.so
lib/postgresql/refint.so
lib/postgresql/seg.so
lib/postgresql/sslinfo.so
lib/postgresql/tablefunc.so
lib/postgresql/timetravel.so
lib/postgresql/tsearch2.so
lib/postgresql/user_locks.so
%%DOCSDIR%%/README-contrib
%%DOCSDIR%%/contrib/README
%%DOCSDIR%%/contrib/README.apachelog
%%DOCSDIR%%/contrib/README.adminpack
%%DOCSDIR%%/contrib/README.btree_gist
%%DOCSDIR%%/contrib/README.chkpass
%%DOCSDIR%%/contrib/README.cube
%%DOCSDIR%%/contrib/README.dbf2pg
%%DOCSDIR%%/contrib/README.dblink
%%DOCSDIR%%/contrib/README.dbmirror
%%DOCSDIR%%/contrib/README.earthdistance
%%DOCSDIR%%/contrib/README.fti
%%DOCSDIR%%/contrib/README.fuzzystrmatch
%%DOCSDIR%%/contrib/README.hstore
%%DOCSDIR%%/contrib/README.int_aggregate
%%DOCSDIR%%/contrib/README.intarray
%%DOCSDIR%%/contrib/README.isbn_issn
%%DOCSDIR%%/contrib/README.isn
%%DOCSDIR%%/contrib/README.lo
%%DOCSDIR%%/contrib/README.ltree
%%DOCSDIR%%/contrib/README.oid2name
%%DOCSDIR%%/contrib/README.pg_buffercache
%%DOCSDIR%%/contrib/README.pg_freespacemap
%%DOCSDIR%%/contrib/README.pg_trgm
%%DOCSDIR%%/contrib/README.pgbench
%%DOCSDIR%%/contrib/README.pgbench_jis
%%DOCSDIR%%/contrib/README.pgcrypto
%%DOCSDIR%%/contrib/README.pgrowlocks
%%DOCSDIR%%/contrib/README.pgrowlocks.euc_jp
%%DOCSDIR%%/contrib/README.pgstattuple
%%DOCSDIR%%/contrib/README.pgstattuple.euc_jp
%%DOCSDIR%%/contrib/README.seg
%%DOCSDIR%%/contrib/README.soundex
%%DOCSDIR%%/contrib/README.spi
%%DOCSDIR%%/contrib/README.sslinfo
%%DOCSDIR%%/contrib/README.tablefunc
%%DOCSDIR%%/contrib/README.tsearch2
%%DOCSDIR%%/contrib/README.user_locks
%%DOCSDIR%%/contrib/README.vacuumlo
%%DOCSDIR%%/contrib/autoinc.example
%%DOCSDIR%%/contrib/insert_username.example
%%DOCSDIR%%/contrib/moddatetime.example
%%DOCSDIR%%/contrib/refint.example
%%DOCSDIR%%/contrib/timetravel.example
share/postgresql/contrib/AddTrigger.sql
share/postgresql/contrib/MirrorSetup.sql
share/postgresql/contrib/_int.sql
share/postgresql/contrib/adminpack.sql
share/postgresql/contrib/autoinc.sql
share/postgresql/contrib/btree_gist.sql
share/postgresql/contrib/chkpass.sql
@ -78,29 +76,52 @@ share/postgresql/contrib/cube.sql
share/postgresql/contrib/dblink.sql
share/postgresql/contrib/earthdistance.sql
share/postgresql/contrib/english.stop
share/postgresql/contrib/fti.sql
share/postgresql/contrib/fuzzystrmatch.sql
share/postgresql/contrib/hstore.sql
share/postgresql/contrib/insert_username.sql
share/postgresql/contrib/int_aggregate.sql
share/postgresql/contrib/isbn_issn.sql
share/postgresql/contrib/isn.sql
share/postgresql/contrib/lo.sql
share/postgresql/contrib/lo_drop.sql
share/postgresql/contrib/lo_test.sql
share/postgresql/contrib/ltree.sql
share/postgresql/contrib/moddatetime.sql
share/postgresql/contrib/pg_buffercache.sql
share/postgresql/contrib/pg_freespacemap.sql
share/postgresql/contrib/pg_trgm.sql
share/postgresql/contrib/pgcrypto.sql
share/postgresql/contrib/pgrowlocks.sql
share/postgresql/contrib/pgstattuple.sql
share/postgresql/contrib/refint.sql
share/postgresql/contrib/russian.stop
share/postgresql/contrib/russian.stop.utf8
share/postgresql/contrib/seg.sql
share/postgresql/contrib/slaveDatabase.conf
share/postgresql/contrib/sslinfo.sql
share/postgresql/contrib/tablefunc.sql
share/postgresql/contrib/thesaurus
share/postgresql/contrib/timetravel.sql
share/postgresql/contrib/tsearch2.sql
share/postgresql/contrib/untsearch2.sql
share/postgresql/contrib/user_locks.sql
share/postgresql/contrib/uninstall__int.sql
share/postgresql/contrib/uninstall_adminpack.sql
share/postgresql/contrib/uninstall_btree_gist.sql
share/postgresql/contrib/uninstall_chkpass.sql
share/postgresql/contrib/uninstall_cube.sql
share/postgresql/contrib/uninstall_dblink.sql
share/postgresql/contrib/uninstall_earthdistance.sql
share/postgresql/contrib/uninstall_fuzzystrmatch.sql
share/postgresql/contrib/uninstall_hstore.sql
share/postgresql/contrib/uninstall_int_aggregate.sql
share/postgresql/contrib/uninstall_isn.sql
share/postgresql/contrib/uninstall_lo.sql
share/postgresql/contrib/uninstall_ltree.sql
share/postgresql/contrib/uninstall_pg_buffercache.sql
share/postgresql/contrib/uninstall_pg_freespacemap.sql
share/postgresql/contrib/uninstall_pg_trgm.sql
share/postgresql/contrib/uninstall_pgcrypto.sql
share/postgresql/contrib/uninstall_pgrowlocks.sql
share/postgresql/contrib/uninstall_pgstattuple.sql
share/postgresql/contrib/uninstall_seg.sql
share/postgresql/contrib/uninstall_sslinfo.sql
share/postgresql/contrib/uninstall_tablefunc.sql
share/postgresql/contrib/uninstall_tsearch2.sql
@dirrmtry share/postgresql/contrib >&2
@dirrmtry share/postgresql >&2
@dirrmtry %%DOCSDIR%%/contrib >&2

File diff suppressed because it is too large Load Diff