Re: Shutting down warm standby server? " - Mailing list pgsql-admin

From Tom Lane
Subject Re: Shutting down warm standby server? "
Date
Msg-id 16132.1199291475@sss.pgh.pa.us
Whole thread Raw
In response to Shutting down warm standby server? "  (Glyn Astill <glynastill@yahoo.co.uk>)
Responses Re: Shutting down warm standby server? "  (Glyn Astill <glynastill@yahoo.co.uk>)
List pgsql-admin
Glyn Astill <glynastill@yahoo.co.uk> writes:
> I've setup a warm standby reading WAL files, however when I try to
> shut it down I get the message "server does not shut down".

> postgres@way5c:/mnt/archive$ /usr/local/pgsql/bin/pg_ctl stop -D
> /data/postgres/ -m smart
> waiting for server to shut
> down...............................................................
> failed
> pg_ctl: server does not shut down

Well, yeah, because you told it "-m smart" which is defined as "don't
exit until all work is done".  "-m fast" should work though, at least
in 8.2.x --- if you are using something older, try "-m immediate".

            regards, tom lane

pgsql-admin by date:

Previous
From: "Ignas Šaltis"
Date:
Subject: pg_dump and blobs
Next
From: "Scott Marlowe"
Date:
Subject: Re: reconfiguring diskspace while upgrading to 8.2.5