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 1nZzaX-000562-D1 for pgsql-hackers@arkaria.postgresql.org; Thu, 31 Mar 2022 18:32:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nZzaW-0007nN-9A for pgsql-hackers@arkaria.postgresql.org; Thu, 31 Mar 2022 18:32:04 +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 1nZzaV-0007YY-Tu for pgsql-hackers@lists.postgresql.org; Thu, 31 Mar 2022 18:32:03 +0000 Received: from relay8-d.mail.gandi.net ([217.70.183.201]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZzaS-00082Y-JZ for pgsql-hackers@lists.postgresql.org; Thu, 31 Mar 2022 18:32:03 +0000 Received: (Authenticated sender: adsend@dunslane.net) by mail.gandi.net (Postfix) with ESMTPSA id 283D11BF203; Thu, 31 Mar 2022 18:31:56 +0000 (UTC) Message-ID: <0bfabc23-20b5-22d7-bd93-2ae5fd8080a5@dunslane.net> Date: Thu, 31 Mar 2022 14:31:55 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: pgsql: Add 'basebackup_to_shell' contrib module. Content-Language: en-US To: Tom Lane , Robert Haas Cc: Nathan Bossart , Andres Freund , Thomas Munro , PostgreSQL Hackers , Magnus Hagander References: <20220329222504.aylyimyub6igsvpy@alap3.anarazel.de> <684ed71e-0876-60c0-8e44-066ba702f0a6@dunslane.net> <20220330163024.fsbpbxwxh5oo2ktx@alap3.anarazel.de> <20220330165450.3lruwky7eveddsvq@alap3.anarazel.de> <285252.1648671723@sss.pgh.pa.us> <20220330223531.GA134543@nathanxps13> <472639.1648684865@sss.pgh.pa.us> <485495.1648692468@sss.pgh.pa.us> <639823.1648740735@sss.pgh.pa.us> <61e2e2c0-1b1c-3b48-4d5c-2fe581e63121@dunslane.net> <648071.1648745113@sss.pgh.pa.us> From: Andrew Dunstan In-Reply-To: <648071.1648745113@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/31/22 12:45, Tom Lane wrote: > > On looking closer, the combination of --config-auth and --create-role > *only* fixes the config files for SSPI, it doesn't expect the server > to be running. > > I agree that the documentation of this is nonexistent and the design > is probably questionable, but I'm not volunteering to fix either. > If you are, step right up. In the meantime, I believe (without > having tested) that the correct incantation is to use auth_extra > but *also* create the user further down. > I will take fixing it as a TODO. But not until after feature freeze. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com