aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql84-server/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql84-server/pkg-install')
-rw-r--r--databases/postgresql84-server/pkg-install12
1 files changed, 12 insertions, 0 deletions
diff --git a/databases/postgresql84-server/pkg-install b/databases/postgresql84-server/pkg-install
index cfc983fc2f66..ffcd42a5796c 100644
--- a/databases/postgresql84-server/pkg-install
+++ b/databases/postgresql84-server/pkg-install
@@ -8,6 +8,18 @@ DB_DIR=${PKG_PREFIX}/pgsql
case $2 in
PRE-INSTALL)
+ 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.
+===========================================
+"
+ sleep 3
USER=pgsql
GROUP=${USER}
UID=70