The new release includes performance improvements and advanced SQL
features which will support bigger data warehouses, higher-volume
transaction processing, and more complex distributed enterprise
software.
Major new features in this release include:
Roles:
PostgreSQL now supports database roles, which simplify the
management of large numbers of users with complex
overlapping database rights.
IN/OUT Parameters:
PostgreSQL functions now support IN, OUT and INOUT
parameters, which substantially improves support of complex
business logic for J2EE and .NET applications.
Two-Phase Commit (2PC):
Long in demand for WAN applications and heterogeneous data
centers using PostgreSQL, this feature allows
ACID-compliant transactions across widely separated
servers.
Some Performance Enhancements found in this release include:
Improved Multiprocessor (SMP) Performance:
The buffer manager for 8.1 has been enhanced to scale almost
linearly with the number of processors, leading to significant
performance gains on 8-way, 16-way, dual-core, and multi-core
CPU servers.
Bitmap Scan:
Indexes will be dynamically converted to bitmaps in memory when
appropriate, giving up to twenty times faster index performance
on complex queries against very large tables.
Table Partitioning:
The query planner is now able to avoid scanning whole sections
of a large table using a technique known as Constraint
Exclusion.
Shared Row Locking:
PostgreSQL's "better than row-level locking" now supports even
higher levels of concurrency through the addition of shared
row locks for foreign keys.
For a more complete listing of changes in this release, please see the
Release Notes visible at:
http://www.postgresql.org/docs/current/static/release.html#RELEASE-8-1
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# New ports collection makefile for: postgresql-contrib
|
|
# Date created: June 10, 2003
|
|
# Whom: Palle Girgensohn <girgen@pingpong.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= postgresql
|
|
PKGNAMESUFFIX= -contrib
|
|
PORTREVISION= 0
|
|
CATEGORIES= databases
|
|
|
|
MAINTAINER= girgen@FreeBSD.org
|
|
COMMENT= The contrib utilities from the PostgreSQL distribution
|
|
|
|
USE_PGSQL= yes
|
|
MASTERDIR= ${.CURDIR}/../postgresql${PGSQL_VER}-server
|
|
|
|
DEFAULT_PGSQL_VER?=74
|
|
|
|
# can't include <bsd.port.pre.mk> in a slave port
|
|
# so set these instead:
|
|
LOCALBASE?= ${DESTDIR}/usr/local
|
|
SED?= /usr/bin/sed
|
|
|
|
# Setting/finding PostgreSQL version we want.
|
|
.if exists(${LOCALBASE}/bin/pg_config)
|
|
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)[^0-9].*/\1\2/p'
|
|
.else
|
|
PGSQL_VER= ${DEFAULT_PGSQL_VER}
|
|
.endif
|
|
|
|
USE_BISON= yes
|
|
|
|
BUILD_DIRS= src/port contrib
|
|
INSTALL_DIRS= contrib
|
|
|
|
SLAVE_ONLY= yes
|
|
PKGMESSAGE= ${.CURDIR}/pkg-message
|
|
|
|
post-install:
|
|
.if ${PGSQL_VER} < 81
|
|
@- ${INSTALL_SCRIPT} ${WRKSRC}/contrib/ipc_check/ipc_check.pl ${PREFIX}/bin/ipc_check ;\
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/ipc_check/README ${DOCSDIR}/contrib/README.ipc_check ;\
|
|
${INSTALL_SCRIPT} ${WRKSRC}/contrib/reindexdb/reindexdb ${PREFIX}/bin/reindexdb ;\
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/reindexdb/README ${DOCSDIR}/contrib/README.reindexdb
|
|
.endif
|
|
@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/README
|
|
|
|
.include "${MASTERDIR}/Makefile"
|