Permalink
Browse files

Changes 8.3.13:

* Force the default wal_sync_method to be fdatasync on Linux
* Fix assorted bugs in WAL replay logic for GIN indexes
* Fix recovery from base backup when the starting checkpoint WAL
  record is not in the same WAL segment as its redo point
* Fix persistent slowdown of autovacuum workers when multiple workers
  remain active for a long time
* Add support for detecting register-stack overrun on IA64
* Add a check for stack overflow in copyObject()
* Fix detection of page splits in temporary GiST indexes
* Avoid memory leakage while "ANALYZE"'ing complex index expressions
* Ensure an index that uses a whole-row Var still depends on its
  table
* Do not "inline" a SQL function with multiple OUT parameters
* Behave correctly if ORDER BY, LIMIT, FOR UPDATE, or WITH is
  attached to the VALUES part of INSERT ... VALUES
* Fix constant-folding of COALESCE() expressions
* Fix postmaster crash when connection acceptance (accept() or one of
  the calls made immediately after it) fails, and the postmaster was
  compiled with GSSAPI support
* Fix missed unlink of temporary files when log_temp_files is active
* Add print functionality for InhRelation nodes
* Fix incorrect calculation of distance from a point to a horizontal
  line segment
* Fix PL/pgSQL's handling of "simple" expressions to not fail in
  recursion or error-recovery cases
* Fix PL/Python's handling of set-returning functions
* Fix bug in "contrib/cube"'s GiST picksplit algorithm
* Don't emit "identifier will be truncated" notices in
  "contrib/dblink" except when creating new connections
* Fix potential coredump on missing public key in "contrib/pgcrypto"
* Fix memory leak in "contrib/xml2"'s XPath query functions
* Update time zone data files to tzdata release 2010o for DST law
  changes in Fiji and Samoa; also historical corrections for Hong
  Kong.
  • Loading branch information...
1 parent fa67b15 commit 48ad2b60a65a1c403d66470986cc3e5e90808b3e adam committed Dec 19, 2010
@@ -1,22 +1,20 @@
-# $NetBSD: Makefile,v 1.4 2010/04/12 09:53:50 adam Exp $
+# $NetBSD: Makefile,v 1.5 2010/12/19 09:53:53 adam Exp $
-PKGNAME= postgresql83-adminpack-${BASE_VERS}
+PKGNAME= ${DISTNAME:C/-/83-adminpack-/}
COMMENT= Admin pack module for pgAdmin management
PKG_DESTDIR_SUPPORT= user-destdir
-DEPENDS+= postgresql83-server>=${BASE_VERS}:../../databases/postgresql83-server
+DEPENDS+= postgresql83-server>=${PKGVERSION_NOREV}:../../databases/postgresql83-server
.include "../../databases/postgresql83/Makefile.common"
-BUILD_DIRS= contrib/adminpack
-
USE_LIBTOOL= yes
PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+BUILD_DIRS= contrib/adminpack
REQD_DIRS+= ${PG_SUBPREFIX}share/doc/postgresql/contrib
REQD_DIRS+= ${PG_SUBPREFIX}share/postgresql/contrib
.include "../../databases/postgresql83-client/buildlink3.mk"
-
.include "../../mk/bsd.pkg.mk"
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/04 12:42:13 adam Exp $
-${PG_SUBPREFIX}lib/postgresql/adminpack.la
-${PG_SUBPREFIX}share/postgresql/contrib/adminpack.sql
-${PG_SUBPREFIX}share/postgresql/contrib/uninstall_adminpack.sql
+@comment $NetBSD: PLIST,v 1.2 2010/12/19 09:53:53 adam Exp $
+lib/postgresql/adminpack.la
+share/postgresql/contrib/adminpack.sql
+share/postgresql/contrib/uninstall_adminpack.sql
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2010/11/03 14:36:40 adam Exp $
+# $NetBSD: Makefile,v 1.19 2010/12/19 09:53:53 adam Exp $
-PKGNAME= postgresql83-client-${BASE_VERS}
+PKGNAME= ${DISTNAME:C/-/83-client-/}
COMMENT= PostgreSQL database client programs
PKG_DESTDIR_SUPPORT= user-destdir
@@ -37,14 +37,12 @@ INSTALL_DIRS+= src/interfaces
INSTALL_DIRS+= src/bin
INSTALL_DIRS+= src/port
INSTALL_DIRS+= doc
-
BUILD_DIRS= ${INSTALL_DIRS}
-
# Without this, the Darwin build fails (related to -bundle_loader).
BUILD_DIRS+= src/backend
-.for _file_ in pg_service.conf psqlrc
-CONF_FILES+= ${PG_DATA_DIR}/${_file_}.sample ${PG_ETC_DIR}/${_file_}
+.for f in pg_service.conf psqlrc
+CONF_FILES+= ${PREFIX}/share/postgresql/${f}.sample ${PKG_SYSCONFDIR}/${f}
.endfor
# XXX work around core dumps with the native libedit
@@ -62,16 +60,16 @@ SUBST_SED.pgxs= -e 's,${WRKDIR}/.tools,${PREFIX},'
SUBST_SED.pgxs+= -e 's,${WRKDIR}/.wrapper,${PREFIX},'
SUBST_SED.pgxs+= -e 's,${WRKSRC},/dev/null,'
-INSTALLATION_DIRS+= ${PG_SUBPREFIX}lib/postgresql/pgxs
-INSTALLATION_DIRS+= ${PG_SUBPREFIX}lib/postgresql/pgxs/config
-INSTALLATION_DIRS+= ${PG_SUBPREFIX}lib/postgresql/pgxs/src
-INSTALLATION_DIRS+= ${PG_SUBPREFIX}lib/postgresql/pgxs/src/makefiles
+INSTALLATION_DIRS+= lib/postgresql/pgxs
+INSTALLATION_DIRS+= lib/postgresql/pgxs/config
+INSTALLATION_DIRS+= lib/postgresql/pgxs/src
+INSTALLATION_DIRS+= lib/postgresql/pgxs/src/makefiles
-DEST_PG_PGXS= ${DESTDIR}${PG_PREFIX}/lib/postgresql/pgxs
-PG_PGXS_FILES= config/install-sh config/mkinstalldirs
-PG_PGXS_FILES+= src/makefiles/pgxs.mk src/Makefile.global
-PG_PGXS_FILES+= src/Makefile.port src/Makefile.shlib
-PG_PGXS_FILES+= src/nls-global.mk
+DEST_PGXS= ${DESTDIR}${PREFIX}/lib/postgresql/pgxs
+PGXS_FILES= config/install-sh config/mkinstalldirs
+PGXS_FILES+= src/makefiles/pgxs.mk src/Makefile.global
+PGXS_FILES+= src/Makefile.port src/Makefile.shlib
+PGXS_FILES+= src/nls-global.mk
# On Solaris, avoid conflicts between "${SSLBASE}/include/openssl/des.h"
# and "/usr/include/crypt.h" -- we want the definitions in the former.
@@ -88,16 +86,11 @@ pre-build:
../../src/include/utils/fmgroids.h
post-install:
- cd ${WRKSRC}/doc; for file in \
- FAQ* KNOWN_BUGS MISSING_FEATURES README.* TODO \
- bug.template; \
- do \
- ${INSTALL_DATA} $$file ${DESTDIR}${PG_DOC_DIR}/$$file; \
+ set -e; cd ${WRKSRC}/doc; for file in FAQ*; do \
+ ${INSTALL_DATA} $$file ${DESTDIR}${PREFIX}/share/doc/postgresql/$$file; \
done
- for file in ${PG_PGXS_FILES}; do \
- ${INSTALL_DATA} ${WRKSRC}/$$file ${DEST_PG_PGXS}/$$file;\
+ set -e; for file in ${PGXS_FILES}; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$file ${DEST_PGXS}/$$file; \
done
- cp -R ${WRKSRC}/doc/TODO.detail ${DESTDIR}${PG_DOC_DIR}
- chown -R ${DOCOWN}:${DOCGRP} ${DESTDIR}${PG_DOC_DIR}/TODO.detail
.include "../../mk/bsd.pkg.mk"

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,24 +1,16 @@
-# $NetBSD: buildlink3.mk,v 1.4 2010/05/20 12:36:28 adam Exp $
-
-.include "../../mk/bsd.fast.prefs.mk"
+# $NetBSD: buildlink3.mk,v 1.5 2010/12/19 09:53:53 adam Exp $
BUILDLINK_TREE+= postgresql83-client
.if !defined(POSTGRESQL83_CLIENT_BUILDLINK3_MK)
POSTGRESQL83_CLIENT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.postgresql83-client+= postgresql83-client>=8.3.0
-BUILDLINK_ABI_DEPENDS.postgresql83-client?= postgresql83-client>=8.3.9nb1
+BUILDLINK_ABI_DEPENDS.postgresql83-client+= postgresql83-client>=8.3.9nb1
BUILDLINK_PKGSRCDIR.postgresql83-client?= ../../databases/postgresql83-client
-.if defined(PG_SUBPREFIX) && !empty(PG_SUBPREFIX)
-BUILDLINK_INCDIRS.postgresql83-client?= ${PG_SUBPREFIX}/include
-BUILDLINK_LIBDIRS.postgresql83-client?= ${PG_SUBPREFIX}/lib
-.endif
-
# This variable contains the libraries need to link most clients.
BUILDLINK_LDADD.postgresql83-client= -lpq ${BUILDLINK_LDADD.gettext}
-
BUILDLINK_FILES.postgresql83-client+= bin/pg_config
.include "../../security/openssl/buildlink3.mk"
@@ -1,26 +1,24 @@
-# $NetBSD: Makefile,v 1.8 2010/10/07 15:52:40 adam Exp $
+# $NetBSD: Makefile,v 1.9 2010/12/19 09:53:53 adam Exp $
-PKGNAME= postgresql83-plperl-${BASE_VERS}
+PKGNAME= ${DISTNAME:C/-/83-plperl-/}
COMMENT= PL/Perl procedural language for the PostgreSQL backend
PKG_DESTDIR_SUPPORT= user-destdir
-DEPENDS+= postgresql83-server>=${BASE_VERS}:../../databases/postgresql83-server
+DEPENDS+= postgresql83-server>=${PKGVERSION}:../../databases/postgresql83-server
.include "../../databases/postgresql83/Makefile.common"
+USE_TOOLS+= perl
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
PERL5_CONFIGURE= no
CONFIGURE_ARGS+= --with-perl
BUILD_DIRS= src/pl/plperl
MAKE_FILE= GNUmakefile
BUILD_MAKE_FLAGS= PGXS=1
-USE_TOOLS+= perl
-USE_LIBTOOL= yes
-PKG_LIBTOOL= ${PKG_SHLIBTOOL}
-
.include "../../databases/postgresql83-client/buildlink3.mk"
.include "../../lang/perl5/module.mk"
-
.include "../../mk/bsd.pkg.mk"
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/04 12:44:23 adam Exp $
-${PG_SUBPREFIX}lib/postgresql/plperl.la
+@comment $NetBSD: PLIST,v 1.2 2010/12/19 09:53:53 adam Exp $
+lib/postgresql/plperl.la
@@ -1,23 +1,21 @@
-# $NetBSD: Makefile,v 1.7 2010/04/12 09:53:50 adam Exp $
+# $NetBSD: Makefile,v 1.8 2010/12/19 09:53:54 adam Exp $
-PKGNAME= postgresql83-plpython-${BASE_VERS}
+PKGNAME= ${DISTNAME:C/-/83-plpython-/}
COMMENT= PL/Python procedural language for the PostgreSQL backend
PKG_DESTDIR_SUPPORT= user-destdir
-DEPENDS+= postgresql83-server>=${BASE_VERS}:../../databases/postgresql83-server
+DEPENDS+= postgresql83-server>=${PKGVERSION_NOREV}:../../databases/postgresql83-server
.include "../../databases/postgresql83/Makefile.common"
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
CONFIGURE_ARGS+= --with-python
CONFIGURE_ENV+= PYTHON="${PYTHONBIN}"
BUILD_DIRS= src/pl/plpython
-USE_LIBTOOL= yes
-PKG_LIBTOOL= ${PKG_SHLIBTOOL}
-
.include "../../databases/postgresql83-client/buildlink3.mk"
.include "../../lang/python/extension.mk"
-
.include "../../mk/bsd.pkg.mk"
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/04 12:44:41 adam Exp $
-${PG_SUBPREFIX}lib/postgresql/plpython.la
+@comment $NetBSD: PLIST,v 1.2 2010/12/19 09:53:54 adam Exp $
+lib/postgresql/plpython.la
@@ -1,25 +1,23 @@
-# $NetBSD: Makefile,v 1.4 2010/04/12 09:53:50 adam Exp $
+# $NetBSD: Makefile,v 1.5 2010/12/19 09:53:54 adam Exp $
-PKGNAME= postgresql83-pltcl-${BASE_VERS}
+PKGNAME= ${DISTNAME:C/-/83-pltcl-/}
COMMENT= PL/Tcl procedural language for the PostgreSQL backend
PKG_DESTDIR_SUPPORT= user-destdir
-DEPENDS+= postgresql83-server>=${BASE_VERS}:../../databases/postgresql83-server
+DEPENDS+= postgresql83-server>=${PKGVERSION_NOREV}:../../databases/postgresql83-server
.include "../../databases/postgresql83/Makefile.common"
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
CONFIGURE_ARGS+= --with-tcl
CONFIGURE_ARGS+= --with-tclconfig="${BUILDLINK_PREFIX.tcl}/lib"
CONFIGURE_ENV+= TCLSH="${TCLSH}"
TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
BUILD_DIRS= src/pl/tcl
-USE_LIBTOOL= yes
-PKG_LIBTOOL= ${PKG_SHLIBTOOL}
-
.include "../../databases/postgresql83-client/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
-
.include "../../mk/bsd.pkg.mk"
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/04 12:45:02 adam Exp $
-${PG_SUBPREFIX}bin/pltcl_delmod
-${PG_SUBPREFIX}bin/pltcl_listmod
-${PG_SUBPREFIX}bin/pltcl_loadmod
-${PG_SUBPREFIX}lib/postgresql/pltcl.la
-${PG_SUBPREFIX}share/postgresql/unknown.pltcl
+@comment $NetBSD: PLIST,v 1.2 2010/12/19 09:53:54 adam Exp $
+bin/pltcl_delmod
+bin/pltcl_listmod
+bin/pltcl_loadmod
+lib/postgresql/pltcl.la
+share/postgresql/unknown.pltcl
@@ -1,9 +1,9 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.2 2008/04/24 13:46:24 abs Exp $
+$NetBSD: MESSAGE,v 1.3 2010/12/19 09:53:54 adam Exp $
To enable this package, put the following into your /etc/rc.conf:
- pgsql=yes
+ pgsql=YES
pgsql_flags="-l" # enables SSL connections (TCP/IP and
# ~pgsql/data/server.crt required)
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2010/11/03 14:36:40 adam Exp $
+# $NetBSD: Makefile,v 1.13 2010/12/19 09:53:54 adam Exp $
-PKGNAME= postgresql83-server-${BASE_VERS}
+PKGNAME= ${DISTNAME:C/-/83-server-/}
COMMENT= PostgreSQL database server programs
PKG_DESTDIR_SUPPORT= user-destdir
@@ -14,15 +14,17 @@ NOT_FOR_PLATFORM= *-*-mips
USE_LIBTOOL= yes
PKG_LIBTOOL= ${PKG_SHLIBTOOL}
-MESSAGE_SRC= ${.CURDIR}/MESSAGE
-
CONFIGURE_ARGS+= --with-openssl
-BUILD_DIRS= src/backend
-BUILD_DIRS+= src/backend/utils/mb/conversion_procs
-BUILD_DIRS+= src/backend/snowball
-BUILD_DIRS+= src/timezone
-BUILD_DIRS+= src/pl
+INSTALL_DIRS= src/backend
+INSTALL_DIRS+= src/backend/utils/mb/conversion_procs
+INSTALL_DIRS+= src/backend/snowball
+INSTALL_DIRS+= src/timezone
+INSTALL_DIRS+= src/pl
+BUILD_DIRS= src/port
+BUILD_DIRS+= ${INSTALL_DIRS}
+
+LIBS.SunOS+= -lintl
# PostgreSQL has loadable server-side language modules.
#
@@ -62,7 +64,6 @@ PKG_GROUPS= ${PGGROUP}
PKG_USERS= ${PGUSER}:${PGGROUP}
PKG_GECOS.${PGUSER}= PostgreSQL database administrator
PKG_HOME.${PGUSER}= ${PGHOME}
-PKG_SHELL.${PGUSER}= ${SH}
RCD_SCRIPTS= pgsql
@@ -76,14 +77,4 @@ post-wrapper:
touch ${BUILDLINK_DIR}/include/crypt.h
.endif
-pre-build:
- ${RUN} ${_ULIMIT_CMD} \
- cd ${WRKSRC}/src/backend && \
- env ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} \
- ../../src/include/parser/parse.h \
- ../../src/include/utils/fmgroids.h
- ${RUN}${_ULIMIT_CMD} \
- cd ${WRKSRC}/src/port && \
- env ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS}
-
.include "../../mk/bsd.pkg.mk"
Oops, something went wrong.

0 comments on commit 48ad2b6

Please sign in to comment.