summaryrefslogtreecommitdiff
path: root/databases/postgresql91-server/files
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1997-10-03 14:13:36 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1997-10-03 14:13:36 +0000
commit8f5d33e0f1106b4b95155ee6f215edec281f74e6 (patch)
tree08a98fbfe0b7af73add2a91b13c99d6c7a1f9194 /databases/postgresql91-server/files
parentUpgrade to v2.3.11 (diff)
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/postgresql91-server/files')
-rw-r--r--databases/postgresql91-server/files/pgsql.sh.tmpl21
-rw-r--r--databases/postgresql91-server/files/post-install-notes4
2 files changed, 25 insertions, 0 deletions
diff --git a/databases/postgresql91-server/files/pgsql.sh.tmpl b/databases/postgresql91-server/files/pgsql.sh.tmpl
new file mode 100644
index 000000000000..7321cf4f4723
--- /dev/null
+++ b/databases/postgresql91-server/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/postgresql91-server/files/post-install-notes b/databases/postgresql91-server/files/post-install-notes
index 1956d17766c9..910966e67f1b 100644
--- a/databases/postgresql91-server/files/post-install-notes
+++ b/databases/postgresql91-server/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.
+