Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YSOfo-000763-Fq for pgsql-hackers@arkaria.postgresql.org; Mon, 02 Mar 2015 11:38:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YSOfn-0004Oc-Ul for pgsql-hackers@arkaria.postgresql.org; Mon, 02 Mar 2015 11:38:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YSOfm-0004OV-Sf for pgsql-hackers@postgresql.org; Mon, 02 Mar 2015 11:38:06 +0000 Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]) by magus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YSOfg-0004pz-M6 for pgsql-hackers@postgresql.org; Mon, 02 Mar 2015 11:38:03 +0000 Received: by wesp10 with SMTP id p10so30504755wes.12 for ; Mon, 02 Mar 2015 03:37:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:reply-to:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=4Wb+aJSuoHvtb2Bv4KR6LFwZrFUSaAFsCAFvSKmsGq4=; b=IFct973MYV9geV9jkqk7Y8uFI6xx4FW3tcmrtEEdkSAFXp17KXKYOjfSYDn4eLOlgG s3Di7MBvTlz0NZucXgU7GFzXVU4zO3oS3v06Gb3QufcmkjbNZ4KRtRwAF9+RaTGwIEin ho/rExQRRLt+NzfK+zxIxs4D/Bky5J+narxPB/XGln2ctipHbGJXHRmwLUcPKvdKbhCq vlf3KWvItqBqIZHgC/OZAlUeU+5kyGiSRUdlIQ+NTtdV1KjCewDitZg5Y8KBunyDCuaE PzIVbivlDh4lwM7g8FYqYyAXr4x7puUEYeKEtH/SBBeRA6G62SKefQAaPkrkRgFDqjbv NBAA== X-Received: by 10.194.22.33 with SMTP id a1mr12220347wjf.72.1425296278299; Mon, 02 Mar 2015 03:37:58 -0800 (PST) Received: from [192.168.1.107] (dsl-hkibrasgw1-58c38f-82.dhcp.inet.fi. [88.195.143.82]) by mx.google.com with ESMTPSA id u16sm18890592wjr.5.2015.03.02.03.37.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Mar 2015 03:37:57 -0800 (PST) Message-ID: <54F44B93.401@iki.fi> Date: Mon, 02 Mar 2015 13:37:55 +0200 From: Heikki Linnakangas Reply-To: hlinnaka@iki.fi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 MIME-Version: 1.0 To: Fujii Masao , Josh Berkus CC: PostgreSQL-development Subject: Re: remove pg_standby? References: <545946E9.8060504@gmx.net> <5460FAFF.2000805@commandprompt.com> <5461087E.6090003@vmware.com> <54F0CCE3.7080507@agliodbs.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.3 (--) 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 03/02/2015 11:53 AM, Fujii Masao wrote: > On Sat, Feb 28, 2015 at 5:00 AM, Josh Berkus wrote: >> On 11/10/2014 10:54 AM, Magnus Hagander wrote: >>> On Mon, Nov 10, 2014 at 7:48 PM, Heikki Linnakangas >>> wrote: >>>> pg_standby is more configurable than the built-in standby_mode=on. You can >>>> set the sleep time, for example, while standby_mode=on uses a hard-coded >>>> delay of 5 s. And pg_standby has a configurable maximum wait time. And as >>>> Fujii pointed out, the built-in system will print an annoying message to the >>>> log every time it attempts to restore a file. Nevertheless, 99% of users >>>> would probably be happy with the built-in thing. >>> >>> As long as pg_standby has features that are actually useful and that >>> are not in the built-in system, we shouldn't remove it. We should, >>> however, try to fix those in the main system so we can get rid of it >>> after that :) >> >> As of current 9.5, we have configurable retries and standby delay in >> mainstream. Is there some reason we still need pg_standby? > > Yes, it's not easy to perform "fast failover" without pg_standby for now. What is "fast failover"? - Heikki -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers