Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l4fsw-0007qH-Ur for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Jan 2021 08:09:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l4fsv-0001xZ-7f for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Jan 2021 08:09:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l4fsv-0001xS-0r for pgsql-hackers@lists.postgresql.org; Wed, 27 Jan 2021 08:09:05 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l4fss-0006Ht-2u for pgsql-hackers@postgresql.org; Wed, 27 Jan 2021 08:09:03 +0000 Received: from hnk.local (p2112118-ipbf2507funabasi.chiba.ocn.ne.jp [123.216.63.118]) by oss.nttdata.com (Postfix) with ESMTPSA id 9CB106028D; Wed, 27 Jan 2021 17:08:56 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.3 at oss.nttdata.com Subject: Re: [PATCH] remove pg_standby To: Thomas Munro , Michael Paquier Cc: Peter Eisentraut , Justin Pryzby , Heikki Linnakangas , Tom Lane , Stephen Frost , Ian Lawrence Barwick , pgsql-hackers References: <20201029024412.GP5380@telsasoft.com> <3de458c1-2299-92a8-1fa1-d59ac385140c@enterprisedb.com> <20201121194105.GO24784@telsasoft.com> <47c1a857-3e42-489d-6be3-ee229f970d0c@enterprisedb.com> From: Fujii Masao Message-ID: <5b42e286-ebd2-cad2-8c39-b50fd17b9c72@oss.nttdata.com> Date: Wed, 27 Jan 2021 17:08:56 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2021/01/27 14:32, Thomas Munro wrote: > On Wed, Jan 27, 2021 at 6:06 PM Michael Paquier wrote: >> On Wed, Jan 27, 2021 at 04:13:24PM +1300, Thomas Munro wrote: >>> I would like to commit this, because "waiting restore commands" have >>> confusing interactions with my proposed prefetching-during-recovery >>> patch[1]. Here's a version that fixes an error when building the docs >>> (there was a stray remaining ), and adds a >>> commit message. Any objections? I agree with this direction (i.e, remove pg_standby). BTW last month when I gave the talk about possible retire of pg_standby at PostgreSQL Unconference Tokyo, no one in audience complained about that retire. But one question is; shouldn't we follow "usual" way to retire the feature instead of dropping that immediately? That is, mark pg_standby as obsolete, announce that pg_standby will be dropped after several releases, and then drop pg_standby. This seems safe because there might be some users. While it's been marked as obsolete, maybe WAL prefetch feature doesn't work with pg_standby, but we can live with that because it's obsolete. Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION