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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy