From 75aaac3787bdc56dda59b5e5aff302c2001ee645 Mon Sep 17 00:00:00 2001 From: seanc Date: Sat, 4 Jan 2003 01:10:15 +0000 Subject: Update PostgreSQL to 7.3.1[1]. Fixes builds for spac64. Many speed, security, and feature additions. Reduce diffs between postgresql-devel port. Re-initdb required when upgrading from previous release. See release notes for details. Schemas added are system catalogs updated. ::braces for impact:: http://developer.postgresql.org/docs/postgres/release.html#RELEASE-7-3-1 PR: ports/46701 Submitted by: girgen@pingpong.net --- databases/postgresql73/pkg-install | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) (limited to 'databases/postgresql73/pkg-install') diff --git a/databases/postgresql73/pkg-install b/databases/postgresql73/pkg-install index ffcd42a5796c..a4bde386e5c5 100644 --- a/databases/postgresql73/pkg-install +++ b/databases/postgresql73/pkg-install @@ -6,20 +6,24 @@ PATH=/bin:/usr/sbin DB_DIR=${PKG_PREFIX}/pgsql -case $2 in -PRE-INSTALL) +backupwarning() { echo " -=========== BACKUP YOUR DATA! ============= -As always, backup your data before -upgrading. If the upgrade leads to a higher -minor revision (e.g. 7.1.x -> 7.2), a dump -and restore of all databases is -required. This is *NOT* done by the port! - -Press ctrl-C *now* if you need to pg_dump. -=========================================== + =========== BACKUP YOUR DATA! ============= + As always, backup your data before + upgrading. If the upgrade leads to a higher + minor revision (e.g. 7.2.x -> 7.3), a dump + and restore of all databases is + required. This is *NOT* done by the port! + + Press ctrl-C *now* if you need to pg_dump. + =========================================== " - sleep 3 + sleep 5 +} + +case $2 in +PRE-INSTALL) + backupwarning USER=pgsql GROUP=${USER} UID=70 @@ -55,4 +59,7 @@ Press ctrl-C *now* if you need to pg_dump. fi ;; +BACKUPWARNING) + backupwarning + ;; esac -- cgit