aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql7/files
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1997-10-03 22:13:36 +0800
committerandreas <andreas@FreeBSD.org>1997-10-03 22:13:36 +0800
commit29aefee03577958662c4cffbbef6cbc03df2b8fc (patch)
tree260ec26c93ff886e9795f67e594a02d688f67608 /databases/postgresql7/files
parent11afda4376396b533c7fc99c374a57706bbc4652 (diff)
downloadfreebsd-ports-gnome-29aefee03577958662c4cffbbef6cbc03df2b8fc.tar.gz
freebsd-ports-gnome-29aefee03577958662c4cffbbef6cbc03df2b8fc.tar.zst
freebsd-ports-gnome-29aefee03577958662c4cffbbef6cbc03df2b8fc.zip
Upgrade from version 6.1.1 to 6.2
Please note: when performing a migration to 6.2 and you have an existing db, then you have to use the *new* pg_dumpall script that comes with this new postgresql release. The INSTALL file points this out explicitely !!! Changes: - startup script resides in FILESDIR - renamed it to be in sync with INSTALL file from sources - always install this startup script over an existing, because of the nature of the rc.d directory I can't install it to pgsql.sh-dist, if a pgsql.sh is already presend ... - portlint detected trailing whitespace, usage of perl with absolute path, usage of echo instead of ECHO and plenty things of this kind - post installation notes updated, mentioned the mailing list - copies the html pages as well to the share/doc directory (new manual dir) - had to update PLIST - shortened DESCR file, to match the 24 lines - added post build target, that reminds the admin how to proceed when already having a database -> INSTALL file describes migration - updated manpages
Diffstat (limited to 'databases/postgresql7/files')
-rw-r--r--databases/postgresql7/files/pgsql.sh.tmpl21
-rw-r--r--databases/postgresql7/files/post-install-notes4
2 files changed, 25 insertions, 0 deletions
diff --git a/databases/postgresql7/files/pgsql.sh.tmpl b/databases/postgresql7/files/pgsql.sh.tmpl
new file mode 100644
index 000000000000..7321cf4f4723
--- /dev/null
+++ b/databases/postgresql7/files/pgsql.sh.tmpl
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# $Id$
+
+# pgsql.sh - postgresql startup file for FreeBSD and possibly *BSD (untested)
+
+# Changes:
+# - renamed startup script to be in sync with INSTALL file
+# - merged ldconfig start sequence from former postgrsql.sh script (andreas)
+# - modified the postmaster startup sequence as suggested in the
+# INSTALL file which was given as example for FreeBSD 2.2 (andreas)
+
+
+[ -d !!PREFIX!!/pgsql/lib ] && /sbin/ldconfig -m !!PREFIX!!/pgsql/lib
+
+[ -x !!PREFIX!!/pgsql/bin/postmaster ] && {
+ su -l pgsql -c 'exec !!PREFIX!!/pgsql/bin/postmaster
+ -D!!PREFIX!!/pgsql/data
+ -S -o -F > !!PREFIX!!/pgsql/errlog' &
+ echo -n ' pgsql'
+}
diff --git a/databases/postgresql7/files/post-install-notes b/databases/postgresql7/files/post-install-notes
index 1956d17766c9..910966e67f1b 100644
--- a/databases/postgresql7/files/post-install-notes
+++ b/databases/postgresql7/files/post-install-notes
@@ -4,3 +4,7 @@ implementation guides. These can be found at:
http://www.PostgreSQL.org/docs
+You may wish to subscribe to the PostgreSQL user-support mailing list.
+Send an e-mail to pgsql-questions-request@postgresql.org with the
+text "subscribe" in the message body.
+