aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql84-server/pkg-install-server
diff options
context:
space:
mode:
authorgirgen <girgen@FreeBSD.org>2011-10-18 17:03:33 +0800
committergirgen <girgen@FreeBSD.org>2011-10-18 17:03:33 +0800
commit965bd7183fad301cd7e971bcd34bb2f480af4b3e (patch)
tree8848844ced97f7e24a13d730205bcecdf9efb44e /databases/postgresql84-server/pkg-install-server
parent89cfa76ae6fb7892d55d5dca1f667a9c47ad5a07 (diff)
downloadfreebsd-ports-gnome-965bd7183fad301cd7e971bcd34bb2f480af4b3e.tar.gz
freebsd-ports-gnome-965bd7183fad301cd7e971bcd34bb2f480af4b3e.tar.zst
freebsd-ports-gnome-965bd7183fad301cd7e971bcd34bb2f480af4b3e.zip
The PostgreSQL Global Development Group today released minor version updates
for all active branches of the PostgreSQL object-relational database system, including versions 9.1.1, 9.0.5, 8.4.9, 8.3.16 and 8.2.22. All users are strongly urged to update their installations at the next scheduled downtime. URL: http://www.postgresql.org/about/news.1355 Cleanup ports. Better handling of the knob PG_USER. Also add uuid to 9.0 and 9.1 contrib ports.
Diffstat (limited to 'databases/postgresql84-server/pkg-install-server')
-rw-r--r--databases/postgresql84-server/pkg-install-server27
1 files changed, 27 insertions, 0 deletions
diff --git a/databases/postgresql84-server/pkg-install-server b/databases/postgresql84-server/pkg-install-server
new file mode 100644
index 000000000000..6f41226305d7
--- /dev/null
+++ b/databases/postgresql84-server/pkg-install-server
@@ -0,0 +1,27 @@
+#! /bin/sh
+
+# $FreeBSD$
+
+PATH=/bin:/usr/bin:/usr/sbin
+
+backupwarning() {
+cat <<EOF
+
+ =========== BACKUP YOUR DATA! =============
+ As always, backup your data before
+ upgrading. If the upgrade leads to a higher
+ minor revision (e.g. 7.3.x -> 7.4), 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.
+ ===========================================
+EOF
+ sleep 5
+}
+
+case $2 in
+PRE-INSTALL)
+ backupwarning
+ ;;
+esac