Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 60425f3

Browse files
committed
Fix instructions how to shut down postmaster.
1 parent 742ca2e commit 60425f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

INSTALL

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Substitute your paths appropriately.
192192
then shut down the old server, at the latest before you install the new
193193
files:
194194

195-
kill -INT `cat /usr/local/pgsql/data/postmaster.pid`
195+
kill -INT `cat /usr/local/pgsql/data/postmaster.pid | sed 1q`
196196

197197
Versions prior to 7.0 do not have this "postmaster.pid" file. If you are
198198
using such a version you must find out the process ID of the server

doc/src/sgml/installation.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.187 2003/11/29 19:51:37 pgsql Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.188 2003/12/11 19:56:54 petere Exp $ -->
22

33
<chapter id="installation">
44
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@@ -423,7 +423,7 @@ JAVACMD=$JAVA_HOME/bin/java
423423
old one then shut down the old server, at the latest before you
424424
install the new files:
425425
<screen>
426-
<userinput>kill -INT `cat /usr/local/pgsql/data/postmaster.pid`</>
426+
<userinput>kill -INT `cat /usr/local/pgsql/data/postmaster.pid | sed 1q`</>
427427
</screen>
428428
Versions prior to 7.0 do not have this
429429
<filename>postmaster.pid</> file. If you are using such a version

0 commit comments

Comments
 (0)