]> granicus.if.org Git - postgresql/commitdiff
The usage of kill is incorrect (lacks "data"). Anyway we should use
authorTatsuo Ishii <ishii@postgresql.org>
Mon, 10 Sep 2001 07:17:01 +0000 (07:17 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Mon, 10 Sep 2001 07:17:01 +0000 (07:17 +0000)
pg_ctl instead.

doc/src/sgml/backup.sgml

index 4ba3046e7341ef08de058a7168750bff5432691d..3c69112b8d72337f0fecde39a10191491c6f574d 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.14 2001/09/10 07:11:28 ishii Exp $ -->
+<!-- $Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.15 2001/09/10 07:17:01 ishii Exp $ -->
 <chapter id="backup">
  <title>Backup and Restore</title>
 
@@ -407,7 +407,7 @@ pg_dumpall -p 5432 | psql -d template1 -p 6543
 <informalexample>
 <programlisting>
 pg_dumpall > backup
-kill -INT `cat /usr/local/pgsql/postmaster.pid`
+pg_ctl stop
 mv /usr/local/pgsql /usr/local/pgsql.old
 cd /usr/src/postgresql-7.1
 gmake install