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 1jUMMb-0003eH-4Y for pgsql-docs@arkaria.postgresql.org; Fri, 01 May 2020 03:29:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jUMMY-0007CW-AQ for pgsql-docs@arkaria.postgresql.org; Fri, 01 May 2020 03:29:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUMMX-0007Bb-GQ for pgsql-docs@lists.postgresql.org; Fri, 01 May 2020 03:29:17 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUMMT-0004Vg-RN for pgsql-docs@lists.postgresql.org; Fri, 01 May 2020 03:29:15 +0000 Received: from hnk.local (p2421237-ipbf2725funabasi.chiba.ocn.ne.jp [122.24.33.237]) by oss.nttdata.com (Postfix) with ESMTPSA id A72E760148; Fri, 1 May 2020 12:29:09 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.2 at oss.nttdata.com Subject: Re: Roles for pg_basebackup To: Daniel Gustafsson Cc: Michael Paquier , pgsql-docs@lists.postgresql.org References: <20200428043755.GC279958@paquier.xyz> From: Fujii Masao Message-ID: Date: Fri, 1 May 2020 12:29:09 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; 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 2020/04/28 17:15, Daniel Gustafsson wrote: >> On 28 Apr 2020, at 07:22, Fujii Masao wrote: >> >> On 2020/04/28 13:37, Michael Paquier wrote: >>> On Mon, Apr 27, 2020 at 12:16:41PM +0200, Daniel Gustafsson wrote: >>>> Based on a recent conversation about backups I had I propose a small tweak to >>>> the pg_basebackup documentation. Listing the user types in the reverse order >>>> from today, putting superuser last, makes it IMO a little clearer that a >>>> REPLICATION role is preferrable to using a superuser for running backups. >>> Makes sense to me. We do that in logical-replication.sgml as well as >>> pg_rewind.sgml (the latter outlines superuser rights last). >> >> Seems there are other documentations having the similar description, >> for example, pg_receivewal.sgml, func.sgml and high-availability.sgml. >> Isn't it better to update also them at the same time? > > That doe make sense. I've updated the places where I think a user configuring > the system might conceivably infer a preference from the order, but have left > the other ones as is. Thanks for updating the patch! It looks good to me. Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION