summaryrefslogtreecommitdiff
path: root/databases/postgresql94-upgrade
diff options
context:
space:
mode:
authoradam <adam>2015-01-14 21:01:18 +0000
committeradam <adam>2015-01-14 21:01:18 +0000
commit4975f96183b63cd1e33e0ab45898f9c04831458f (patch)
treeacc80a00beba0935a731a700da40eae21a90094c /databases/postgresql94-upgrade
parentec5cd254c7eec5bfb8d589f673e968b86f65a36f (diff)
downloadpkgsrc-4975f96183b63cd1e33e0ab45898f9c04831458f.tar.gz
PostgreSQL 9.4.0:
This release adds many new features which enhance PostgreSQL's flexibility, scalability and performance for many different types of database users, including improvements to JSON support, replication and index performance.
Diffstat (limited to 'databases/postgresql94-upgrade')
-rw-r--r--databases/postgresql94-upgrade/DESCR14
-rw-r--r--databases/postgresql94-upgrade/Makefile19
-rw-r--r--databases/postgresql94-upgrade/PLIST3
3 files changed, 36 insertions, 0 deletions
diff --git a/databases/postgresql94-upgrade/DESCR b/databases/postgresql94-upgrade/DESCR
new file mode 100644
index 00000000000..18267e4ba9a
--- /dev/null
+++ b/databases/postgresql94-upgrade/DESCR
@@ -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.
diff --git a/databases/postgresql94-upgrade/Makefile b/databases/postgresql94-upgrade/Makefile
new file mode 100644
index 00000000000..ef35c94fdae
--- /dev/null
+++ b/databases/postgresql94-upgrade/Makefile
@@ -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"
diff --git a/databases/postgresql94-upgrade/PLIST b/databases/postgresql94-upgrade/PLIST
new file mode 100644
index 00000000000..3b67fe43041
--- /dev/null
+++ b/databases/postgresql94-upgrade/PLIST
@@ -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