aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql7/pkg-install
diff options
context:
space:
mode:
authorseanc <seanc@FreeBSD.org>2003-01-04 09:10:15 +0800
committerseanc <seanc@FreeBSD.org>2003-01-04 09:10:15 +0800
commit75aaac3787bdc56dda59b5e5aff302c2001ee645 (patch)
treeb102ec82d730e8263d1002d48539bb2224964766 /databases/postgresql7/pkg-install
parent7723770a69e60cf54b118fa40371c9e46356fca1 (diff)
downloadfreebsd-ports-gnome-75aaac3787bdc56dda59b5e5aff302c2001ee645.tar.gz
freebsd-ports-gnome-75aaac3787bdc56dda59b5e5aff302c2001ee645.tar.zst
freebsd-ports-gnome-75aaac3787bdc56dda59b5e5aff302c2001ee645.zip
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
Diffstat (limited to 'databases/postgresql7/pkg-install')
-rw-r--r--databases/postgresql7/pkg-install31
1 files changed, 19 insertions, 12 deletions
diff --git a/databases/postgresql7/pkg-install b/databases/postgresql7/pkg-install
index ffcd42a5796c..a4bde386e5c5 100644
--- a/databases/postgresql7/pkg-install
+++ b/databases/postgresql7/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