Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -0,0 +1,14 @@
pg_upgrade (formerly called pg_migrator) allows data stored
in PostgreSQL data files to be migrated to a later PostgreSQL
major version without the data dump/reload typically required
for major version upgrades, e.g. from 8.4.7 to the current
major release of PostgreSQL. It is not required for minor
version upgrades, e.g. from 9.0.1 to 9.0.4.
pg_upgrade works because, though new features are regularly
added to PostgreSQL major releases, the internal data storage
format rarely changes. pg_upgrade does its best to make sure the
old and new clusters are binary-compatible, e.g. by checking for
compatible compile-time settings, including 32/64-bit binaries.
It is important that any external modules are also binary
compatible, though this cannot be checked by pg_upgrade.

View File

@@ -0,0 +1,19 @@
# $NetBSD: Makefile,v 1.1 2015/01/14 21:01:19 adam Exp $
PKGNAME= ${DISTNAME:C/-/94-upgrade-/}
COMMENT= PostgreSQL binary upgrade tool
MAINTAINER= pkgsrc-users@NetBSD.org
DEPENDS+= postgresql94-server>=${PKGVERSION_NOREV}:../../databases/postgresql94-server
.include "../../databases/postgresql94/Makefile.common"
BUILD_MAKE_FLAGS= USE_PGXS=1
BUILD_DIRS+= contrib/pg_upgrade
BUILD_DIRS+= contrib/pg_upgrade_support
LIBS.SunOS+= -lintl
.include "../../databases/postgresql94-client/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1 2015/01/14 21:01:19 adam Exp $
bin/pg_upgrade
lib/postgresql/pg_upgrade_support.so