Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xnu1b-0000Sw-T2 for pgsql-hackers@arkaria.postgresql.org; Mon, 10 Nov 2014 18:49:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xnu1b-0003io-4D for pgsql-hackers@arkaria.postgresql.org; Mon, 10 Nov 2014 18:49:15 +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 1Xnu1X-0003aB-BX for pgsql-hackers@postgresql.org; Mon, 10 Nov 2014 18:49:11 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Xnu1Q-0002nf-9I for pgsql-hackers@postgresql.org; Mon, 10 Nov 2014 18:49:07 +0000 Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 8BC79289B5; Mon, 10 Nov 2014 10:48:58 -0800 (PST) Received: from EX13-CAS-001.vmware.com (EX13-CAS-001.vmware.com [10.113.191.51]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id 8711EB17DC; Mon, 10 Nov 2014 10:48:58 -0800 (PST) Received: from EX13-MBX-024.vmware.com (10.113.191.44) by EX13-MBX-001.vmware.com (10.113.191.21) with Microsoft SMTP Server (TLS) id 15.0.775.38; Mon, 10 Nov 2014 10:48:40 -0800 Received: from [192.168.1.90] (10.113.160.246) by EX13-MBX-024.vmware.com (10.113.191.44) with Microsoft SMTP Server (TLS) id 15.0.775.38; Mon, 10 Nov 2014 10:48:39 -0800 Message-ID: <5461087E.6090003@vmware.com> Date: Mon, 10 Nov 2014 20:48:30 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-Version: 1.0 To: "Joshua D. Drake" , Peter Eisentraut , pgsql-hackers Subject: Re: remove pg_standby? References: <545946E9.8060504@gmx.net> <5460FAFF.2000805@commandprompt.com> In-Reply-To: <5460FAFF.2000805@commandprompt.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.113.160.246] X-ClientProxiedBy: EX13-CAS-013.vmware.com (10.113.191.65) To EX13-MBX-024.vmware.com (10.113.191.44) X-Pg-Spam-Score: -7.5 (-------) 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 11/10/2014 07:50 PM, Joshua D. Drake wrote: > > On 11/04/2014 01:36 PM, Peter Eisentraut wrote: >> >> While we're talking about removing old things, is there any use left for >> pg_standby? > > -1. > > A lot of people, a lot of customers use log shipping for various > creative and business requirement setups. Yes, but do they use pg_standby to implement it? If they do, why? 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. - Heikki -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers