diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2003-12-11 19:57:24 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2003-12-11 19:57:24 +0000 |
commit | 235ab0442a421f9ad95c6fd36fbb0c224affb096 (patch) | |
tree | 2060672680634645870e56344fbb1d894dec404b | |
parent | cbc56dcc8d1c66bb5d3ce2bdab5be0c6bfb8b59a (diff) | |
download | postgresql-235ab0442a421f9ad95c6fd36fbb0c224affb096.tar.gz postgresql-235ab0442a421f9ad95c6fd36fbb0c224affb096.zip |
Fix instructions how to shut down postmaster.
-rw-r--r-- | INSTALL | 2 | ||||
-rw-r--r-- | doc/src/sgml/installation.sgml | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -192,7 +192,7 @@ Substitute your paths appropriately. then shut down the old server, at the latest before you install the new files: - kill -INT `cat /usr/local/pgsql/data/postmaster.pid` + kill -INT `cat /usr/local/pgsql/data/postmaster.pid | sed 1q` Versions prior to 7.0 do not have this "postmaster.pid" file. If you are using such a version you must find out the process ID of the server diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index aef27b645d3..9027e08d908 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -1,4 +1,4 @@ -<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.177.2.6 2003/11/26 15:57:22 petere Exp $ --> +<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.177.2.7 2003/12/11 19:57:24 petere Exp $ --> <chapter id="installation"> <title><![%standalone-include[<productname>PostgreSQL</>]]> @@ -423,7 +423,7 @@ JAVACMD=$JAVA_HOME/bin/java old one then shut down the old server, at the latest before you install the new files: <screen> -<userinput>kill -INT `cat /usr/local/pgsql/data/postmaster.pid`</> +<userinput>kill -INT `cat /usr/local/pgsql/data/postmaster.pid | sed 1q`</> </screen> Versions prior to 7.0 do not have this <filename>postmaster.pid</> file. If you are using such a version |