Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VqJmN-0001SI-4M for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Dec 2013 09:38:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VqJmL-0003Vr-SR for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Dec 2013 09:38:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VqJmK-0003Vj-ON for pgsql-hackers@postgresql.org; Tue, 10 Dec 2013 09:38:56 +0000 Received: from moutng.kundenserver.de ([212.227.17.8]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VqJmH-0006sX-P5 for pgsql-hackers@postgresql.org; Tue, 10 Dec 2013 09:38:56 +0000 Received: from anarazel.de (p5DDC4910.dip0.t-ipconnect.de [93.220.73.16]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0Lnnzv-1VMEtD3tmx-00hjNi; Tue, 10 Dec 2013 10:38:49 +0100 Received: by anarazel.de (Postfix, from userid 1000) id 3C4571053C3; Tue, 10 Dec 2013 10:38:48 +0100 (CET) Date: Tue, 10 Dec 2013 10:38:48 +0100 From: Andres Freund To: KONDO Mitsumasa Cc: fabriziomello@gmail.com, Robert Haas , Simon Riggs , Pgsql Hackers Subject: Re: Time-Delayed Standbys Message-ID: <20131210093848.GG27840@awork2.anarazel.de> References: <52A59D10.7020209@lab.ntt.co.jp> <52A5A095.5020002@lab.ntt.co.jp> <20131209112937.GA27840@awork2.anarazel.de> <52A697F3.8030403@lab.ntt.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52A697F3.8030403@lab.ntt.co.jp> X-Provags-ID: V02:K0:EWfATJ4jeljEif8AvmUX2DsnQlJUneS3zgxXEISR3Ks NBGylDTppm0d7ntJ6eZdmekFUj/mqEaMOv2fe4wfKyTsvkhMxq 8AOD0xokiVetfTkxBKTkpi/wCHCdbV+QKNPMuQY9JEwnJJIgDA AR2mLqOTzmInMrd0AWXfavia/FXMyHLBjBg+DIVVgG19MGHBkT MVDy/AzVq6xjZxLgdBuqC7yJQGPA5t+L1qiAaF2rbg9V3tjmWO WQdQFtqn381EGFzx/iJJH752jbmZ8R7KLamX1KTfJxGp2woWQ8 F7oakyNBdoEVmVWx86KoTJW6RDwIT57iNRHUAKr8OkP60FuEQ/ ioCLIPiFBZCY2bRB6KxoMep7jlaVn3DXcNFJxfdGs X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 2013-12-10 13:26:27 +0900, KONDO Mitsumasa wrote: > (2013/12/09 20:29), Andres Freund wrote: > >On 2013-12-09 19:51:01 +0900, KONDO Mitsumasa wrote: > >>Add my comment. We have to consider three situations. > >> > >>1. PITR > >>2. replication standby > >>3. replication standby with restore_command > >> > >>I think this patch cannot delay in 1 situation. > > > >Why? > > I have three reasons. None of these reasons seem to be of technical nature, right? > 1. It is written in document. Can we remove it? > 2. Name of this feature is "Time-delayed *standbys*", not "Time-delayed > *recovery*". Can we change it? I don't think that'd be a win in clarity. But perhaps somebody else has a better suggestion? > 3. I think it is unnessesary in master PITR. And if it can delay in master > PITR, it will become master at unexpected timing, not to continue to > recovery. It is meaningless. "master PITR"? What's that? All PITR is based on recovery.conf and thus not really a "master"? Why should we prohibit using this feature in PITR? I don't see any advantage in doing so. If somebody doesn't want the delay, they shouldn't set it in the configuration file. End of story. There's not really a that meaningful distinction between PITR and replication using archive_command. Especially when using *pause_after. I think this feature will be used in a lot of scenarios in which PITR is currently used. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers