The usage of kill is incorrect (lacks "data"). Anyway we should use
authorTatsuo Ishii
Mon, 10 Sep 2001 07:17:01 +0000 (07:17 +0000)
committerTatsuo Ishii
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 @@
-
+
 
  Backup and Restore
 
@@ -407,7 +407,7 @@ pg_dumpall -p 5432 | psql -d template1 -p 6543
 
 
 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