Update postgresql and related packages to 7.2. Thanks to Michael Graff

<explorer@flame.org> for most of the work on this update.

Pkgsrc changes from the previous version include removing Makefile.ssl and
some patches that have been integrated into this release of PostgreSQL.  We
leave open the question of when to byte-compile the Python modules for the
PyGreSQL interface and just do it as before, although we should consider
doing the compilation as a post-install step to ensure that the timestamps
are correct.  We also reorder some lines in the Makefile to include
Makefile.common below certain definitions (GNU_CONFIGURE, USE_BUILDLINK_ONLY)
as they may possibly trigger different portions of Makefile.common.

*** Please note that a dump/restore is required to migrate an existing ***
*** PostgreSQL installation to 7.2.                                    ***

Major changes from version 7.1.3 are geared toward improving use in
high-volume applications and include:

   VACUUM
	   Vacuuming no longer locks tables, thus allowing normal user access
           during the vacuum. A new "VACUUM FULL" command does old-style
           vacuum by locking the table and shrinking the on-disk copy of the
           table.

   Transactions
           There is no longer a problem with installations that exceed four
           billion transactions.

   OID's
           OID's are now optional. Users can now create tables without OID's
           for cases where OID usage is excessive.

   Optimizer
           The system now computes histogram column statistics during
           "ANALYZE", allowing much better optimizer choices.

   Security
           A new MD5 encryption option allows more secure storage and
           transfer of passwords. A new Unix-domain socket authentication
           option is available on Linux and BSD systems. PAM authentication
           is also available.

   Statistics
           Administrators can use the new table access statistics module to
           get fine-grained information about table and index usage.
This commit is contained in:
jlam 2002-04-04 14:36:42 +00:00
parent 9165b4364c
commit cd7f187968
2 changed files with 14 additions and 17 deletions

View file

@ -1,26 +1,23 @@
# $NetBSD: Makefile,v 1.18 2002/01/19 16:13:00 drochner Exp $
.include "../../databases/postgresql/Makefile.common"
.include "../../databases/postgresql/Makefile.ssl"
# $NetBSD: Makefile,v 1.19 2002/04/04 14:36:42 jlam Exp $
PKGNAME= ${PYPKGPREFIX}-postgresql-3.2
COMMENT= Python interface to PostgreSQL
MAINTAINER= darcy@netbsd.org
USE_BUILDLINK_ONLY= # defined
BUILDLINK_DEPENDS.postgresql-lib= postgresql-lib>=${PG_BASE_VERS}
USE_BUILDLINK_ONLY= YES
.include "../../databases/postgresql/Makefile.common"
MAKEFLAGS+= PYTHON_VERSION="${PYVERSSUFFIX}"
PLIST_SUBST+= PYTHON_LIBDIR=${PYLIB}
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
MAKE_ENV+= INSTALLED_LIBPQ=1
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_DIR}
CONFIGURE_ARGS+= --with-python
CONFIGURE_ARGS+= --with-python-compile
CONFIGURE_ENV+= PYTHON="${PYTHONBIN}"
MAKE_ENV+= INSTALLED_LIBPQ=1
DIRS_TO_BUILD= src/interfaces/python
DOCDIR= ${PREFIX}/share/doc/${PYPKGPREFIX}-postgresql
@ -44,7 +41,7 @@ post-install:
${INSTALL_DATA} $${file} ${DOCDIR}/tutorial; \
done
.include "../../databases/postgresql-lib/buildlink.mk"
.include "../../lang/python/extension.buildlink.mk"
.include "../../time/py-mxDateTime/buildlink.mk"
.include "../../databases/postgresql-lib/buildlink.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,11 +1,11 @@
@comment $NetBSD: PLIST,v 1.2 2002/01/19 16:13:01 drochner Exp $
@comment $NetBSD: PLIST,v 1.3 2002/04/04 14:36:42 jlam Exp $
${PYTHON_LIBDIR}/site-packages/_pgmodule.so
${PYTHON_LIBDIR}/pg.py
${PYTHON_LIBDIR}/pg.pyc
${PYTHON_LIBDIR}/pg.pyo
${PYTHON_LIBDIR}/pgdb.py
${PYTHON_LIBDIR}/pgdb.pyc
${PYTHON_LIBDIR}/pgdb.pyo
${PYTHON_LIBDIR}/site-packages/pg.py
${PYTHON_LIBDIR}/site-packages/pg.pyc
${PYTHON_LIBDIR}/site-packages/pg.pyo
${PYTHON_LIBDIR}/site-packages/pgdb.py
${PYTHON_LIBDIR}/site-packages/pgdb.pyc
${PYTHON_LIBDIR}/site-packages/pgdb.pyo
share/doc/${PYPKGPREFIX}-postgresql/README
share/doc/${PYPKGPREFIX}-postgresql/tutorial/advanced.py
share/doc/${PYPKGPREFIX}-postgresql/tutorial/basics.py