Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hFKKa-0006sU-Rj for pgsql-committers@arkaria.postgresql.org; Sat, 13 Apr 2019 15:12:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hFKKZ-0002hZ-Ir for pgsql-committers@arkaria.postgresql.org; Sat, 13 Apr 2019 15:12:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hFKKZ-0002hS-6d for pgsql-committers@lists.postgresql.org; Sat, 13 Apr 2019 15:12:35 +0000 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hFKKW-0007vu-8v for pgsql-committers@lists.postgresql.org; Sat, 13 Apr 2019 15:12:34 +0000 Received: by mail-qt1-x844.google.com with SMTP id w5so14550059qtb.11 for ; Sat, 13 Apr 2019 08:12:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=IHQlW94iUmyiNBuvMhomcpv1OSUqdRP1/GASchaCSDk=; b=g3ibVJYTeSyliwLDFJN55FhuN6Gw6L+hqjZ8DGuTe/zPuhsQu/7ZEuQXuyvuiLgVFG rrPyhWrUPQHd9g/jbxM3sQjis40+4cc0ke1E7LQEp3JbAFHntJf8nVesIiroJD69BWdd mIurmTmAj9Pwg/u2PlJsA7aiX7PHhZiYQNFUXpuvkOge/XvPsZ2JAA8KFh6K60WU22TP /B3B/e2cA34Ue4Qu/yQhaqKmHtWU3/1ETIjefBuKmBIWb4xJwfaDTw8J3g5F/+ZztWl2 QnbJr43DJp/Yjx+YvLKgsWfDu8xH1VJmy9bYqTa/9jwBKnNLWtXRf2AoJp17mellM7w4 /jBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=IHQlW94iUmyiNBuvMhomcpv1OSUqdRP1/GASchaCSDk=; b=U9DSviBDRAVdjaMUn6HmWIRIz3hcuAXczb2u3Tz0E22BXjh3WRx4xEDVxGQTuRFid6 +E7LIcfsOE1dpWS5k2Ej+v2xNY11JeaIOzx6zCg8XwKxG4zSBcA8dLXOsI/UjD+AQaNE 4Q+0Gt3rurSgi53NcR9joRLQNfxDDgzXH+iQ/35rxn7Hg/yEug9lAjlqLncB4x1M7/+K UNHEvUWAwTzCCq1lJ0ylBQ3QBh5aP8e46ZSsQaL7CYlXCPJb+M+p6AI0dPDtkbKQr5dG GkWiiWQDTb/Xq4gI4fv45rV/SFX8AjUzjW7RZw98tC8IubmTc8Kvwy0GHYS2Q8hjLHT/ 7pXw== X-Gm-Message-State: APjAAAXxVAtVubvcgwPhxzMt/MvOrB0Al7elLpl4489xl2Z0Eb53twIu FksQReJJXL/Tz1Efy5XOX+s3AQ== X-Google-Smtp-Source: APXvYqynukb+pBOqJjc9QCtb5I+od1g6r+TFGygV8McC7xOlq4Od9JNENn2PWGrubSASPEUtzEpcYQ== X-Received: by 2002:ac8:18d3:: with SMTP id o19mr52390754qtk.139.1555168350334; Sat, 13 Apr 2019 08:12:30 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([201.186.80.67]) by smtp.gmail.com with ESMTPSA id y18sm29897026qty.78.2019.04.13.08.12.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 13 Apr 2019 08:12:29 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 833BA120D9A; Sat, 13 Apr 2019 11:12:25 -0400 (-04) Date: Sat, 13 Apr 2019 11:12:25 -0400 From: Alvaro Herrera To: Michael Paquier Cc: Tom Lane , Andrew Dunstan , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Switch TAP tests of pg_rewind to use a role with minimal permiss Message-ID: <20190413151225.GA4307@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190413042404.GA1753@paquier.xyz> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Apr-13, Michael Paquier wrote: > On Fri, Apr 12, 2019 at 11:54:48PM -0400, Tom Lane wrote: > > Hm. Seems like that test case could also use some work so that it's > > more obvious when it has connection problems. > > For the problem reported, the deal is that we need to add in > pg_indent.conf a mapping to the new user created (as done in > config_sspi_auth()). We can do that with pg_regress --create-role and > PostgresNode.pm::init() can help with that. So the fix is simple > enough. I'll make sure that it works properly at the beginning of > next week. For now the patch is reverted. I'm not sure that reverting and re-committing a slightly improved patch is a better approach than just waiting for the (presumably small) fix to be committed. Leaving a small number of animals in red for a small period is not that bad. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services