Re: [HACKERS] sync rep and smart shutdown

2011-04-10 Thread Fujii Masao
On Sat, Apr 9, 2011 at 3:53 AM, Robert Haas wrote: >>> There are a couple of plausible ways to proceed here: >> >>> 1. Do nothing. >> >>> 2. When a smart shutdown is initiated, shut off synchronous >>> replication. >> >>> 3. Accept new replication connections even when the system is >>> undergoing

Re: [HACKERS] sync rep and smart shutdown

2011-04-08 Thread Robert Haas
On Fri, Apr 8, 2011 at 2:38 PM, Tom Lane wrote: > Robert Haas writes: >> There is an open item for synchronous replication and smart shutdown, >> with a link to here: >> http://archives.postgresql.org/pgsql-hackers/2011-03/msg01391.php > >> There are a couple of plausible ways to proceed here: >

Re: [HACKERS] sync rep and smart shutdown

2011-04-08 Thread Tom Lane
Robert Haas writes: > There is an open item for synchronous replication and smart shutdown, > with a link to here: > http://archives.postgresql.org/pgsql-hackers/2011-03/msg01391.php > There are a couple of plausible ways to proceed here: > 1. Do nothing. > 2. When a smart shutdown is initiated

[HACKERS] sync rep and smart shutdown

2011-04-08 Thread Robert Haas
There is an open item for synchronous replication and smart shutdown, with a link to here: http://archives.postgresql.org/pgsql-hackers/2011-03/msg01391.php The issue is not straightforward, however, so I want to get some broader input before proceeding. In short, the problem is that if synchron