Re: HS/SR and smart shutdown - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: HS/SR and smart shutdown
Date
Msg-id 3f0b79eb1001201842w269ca1drf0dc96b07e78b150@mail.gmail.com
Whole thread Raw
In response to Re: HS/SR and smart shutdown  (Josh Berkus <josh@agliodbs.com>)
Responses Re: HS/SR and smart shutdown  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
On Thu, Jan 21, 2010 at 10:44 AM, Josh Berkus <josh@agliodbs.com> wrote:
>
>> If it's "standby", it's a previously-existing behavior that a "smart"
>> shutdown doesn't work immediately during recovery. After a recovery
>> has been completed, it would work. Of course, I agree that such a
>> behavior should be documented.
>
> Well, as long as streaming rep is running, you can't do a smart shutdown
> ... smart shutdown seems to treat the walreciever as a client
> connection.

Even if SR is not running, as long as the startup process is running,
we can't do a smart shutdown. It's not peculiar to SR.

> At the very least, this should be in the documentation.

Agreed. Something like "smart shutdown is not allowed during recovery"
should be in the following section.
http://developer.postgresql.org/pgdocs/postgres/server-shutdown.html

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


pgsql-hackers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: WARNING: pgstat wait timeout
Next
From: Robert Haas
Date:
Subject: Re: attoptions