Import of pkgsrc-2014Q1
This commit is contained in:
14
databases/postgresql93-upgrade/DESCR
Normal file
14
databases/postgresql93-upgrade/DESCR
Normal 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.
|
||||
19
databases/postgresql93-upgrade/Makefile
Normal file
19
databases/postgresql93-upgrade/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
# $NetBSD: Makefile,v 1.3 2014/02/23 11:25:54 adam Exp $
|
||||
|
||||
PKGNAME= ${DISTNAME:C/-/93-upgrade-/}
|
||||
COMMENT= PostgreSQL binary upgrade tool
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
|
||||
DEPENDS+= postgresql93-server>=${PKGVERSION_NOREV}:../../databases/postgresql93-server
|
||||
|
||||
.include "../../databases/postgresql93/Makefile.common"
|
||||
|
||||
BUILD_MAKE_FLAGS= PGXS=1
|
||||
|
||||
BUILD_DIRS+= contrib/pg_upgrade
|
||||
BUILD_DIRS+= contrib/pg_upgrade_support
|
||||
|
||||
LIBS.SunOS+= -lintl
|
||||
|
||||
.include "../../databases/postgresql93-client/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
3
databases/postgresql93-upgrade/PLIST
Normal file
3
databases/postgresql93-upgrade/PLIST
Normal file
@@ -0,0 +1,3 @@
|
||||
@comment $NetBSD: PLIST,v 1.1 2013/09/10 15:32:33 adam Exp $
|
||||
bin/pg_upgrade
|
||||
lib/postgresql/pg_upgrade_support.so
|
||||
Reference in New Issue
Block a user