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 1iiULY-0006GW-QR for pgsql-hackers@arkaria.postgresql.org; Sat, 21 Dec 2019 02:18:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iiULW-0007Kw-Ge for pgsql-hackers@arkaria.postgresql.org; Sat, 21 Dec 2019 02:18:22 +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 1iiULU-0007Ko-LF for pgsql-hackers@lists.postgresql.org; Sat, 21 Dec 2019 02:18:22 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iiULQ-0006yn-LC for pgsql-hackers@lists.postgresql.org; Sat, 21 Dec 2019 02:18:20 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 4CFDB5D2; Fri, 20 Dec 2019 21:18:13 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 20 Dec 2019 21:18:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=pfS6C+7nOt7ch0txSfRwBS7aJqR 9DI+0HLzkqGxkuvc=; b=L/qN1xb0hpBi9Q5PcXCYQiIxhGJX+87o99ffpYmF/L4 MNhb3soFey/Op9Vc0NsxtPIiHuI2u2Puaw9QVlwokthw0rYVhefQBWmRXrT5OYbr 2oVX2gbPk5cqZ70nFh1HF+vj9LotPfqBbv3v3OsBIfRX+a/6+fci9HTsSHf9DY1d QfTLmAzQ16pb+VHwGb1wL1WcErn9rfa00CyT8AYIawrwIEx2L+Skeeb514DL6cPq /cprpp046u27/0/VMaeuZc9CXYZLGNA6SwHsp0ZDhWICvQgZPrN3gATB53GiXvwG E4YaAiALg+/Bw5ZX8C+egfW9r0XcpKPlaalv+/m+iLg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=pfS6C+ 7nOt7ch0txSfRwBS7aJqR9DI+0HLzkqGxkuvc=; b=b+goGAyoldbRYF0isFa9P0 BM5eN3WoVq58dJKQryzd+VeiacQ06HWcDuj8DCN+vIWmJVY75W9Ub9zXD3MNG3wm Xui+ZN5uqZZ3bH9bKGrChvqzD/wQ9S4OEs7HrTFAVjrSz0CEwHJLGXugJsEtzzo+ mmS9wI19oAnqf7ogTAkWsqyUZRopVMA5tKuNAh/oTwHuVkVqmMLdxMZoILFlsRe6 diYGti710Lw+rCiqgqRV21WW2JzJGBZDoPYlZwOF32Rw2VMYN6UmCgvwkGPzsFWn AtHwpyoJHgMwk8BXjAa32ryx/qfiIBKu8GRo8ineQp8IGMfbqzTQvPVgavicepHg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddugedggeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucfkphepuddukedrvdeguddrvdegkedrudeftdenucfrrghr rghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiienucevlh hushhtvghrufhiiigvpedt X-ME-Proxy: Received: from paquier.xyz (mp76f1f882.ap.nuro.jp [118.241.248.130]) by mail.messagingengine.com (Postfix) with ESMTPA id DA1E03060C37; Fri, 20 Dec 2019 21:18:10 -0500 (EST) Date: Sat, 21 Dec 2019 11:18:06 +0900 From: Michael Paquier To: Tom Lane Cc: Andrew Dunstan , pgsql-hackers@lists.postgresql.org Subject: Re: pgsql: Superuser can permit passwordless connections on postgres_fdw Message-ID: <20191221021806.GA15758@paquier.xyz> References: <20191220120208.GA4258@paquier.xyz> <11297.1576868677@sss.pgh.pa.us> <32150.1576870942@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline In-Reply-To: <32150.1576870942@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Dec 20, 2019 at 02:42:22PM -0500, Tom Lane wrote: > Concretely, I think we ought to do (and back-patch) the attached. Thanks for the fix, I have not been able to look at that. > I notice in testing this that the "nosuper" business added by > 6136e94dc is broken in more ways than what the buildfarm is > complaining about: it leaves the role around at the end of the > test. That's a HUGE violation of project policy, for security > reasons as well as the fact that it makes it impossible to run > "make installcheck" twice without getting different results. Roles left behind at the end of a test are annoying. Here is an idea: make pg_regress check if any roles prefixed by "regress_" are left behind at the end of a test. This will not work until test_pg_dump is cleaned up, just a thought. -- Michael --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl39gN4ACgkQnvQgOdby QH2xUQ//RfZmHZU8hdenr7PUb5shG85bFggkz4m7W0fjsEF1oyFVfKKnngpCvx1l R7HO/feotWU8YzDawk3Na3uvW6VJjH67wX5F1hazVfMv77iC8OCJULZ/GekUQXam 7fX5WjI6hoQwpS9QOURv49iewIv3kZm7FkjcQbfTXHy7HOURQjaYQS5D3AkmULfR KR7Bf6UTuZjmDWvUssW4/o8YpPXSbc8EnhTXP2x76A2vK0pgu42hCD6uAhBVowOZ jwlYQPG46KTv0Y5/K30UpteUD/W8kkt4MdZt4q6cCGbJ3ruVzWOu/uxUdq3fpqYW lSPLIw3emXO2MPKpM//NtxUiTM9VNxxbdiDLzf1Icr9WD7qiCSJEt0Zqldt01Bjp itX6pQU4GXiVskPefZNYg0tfE6W7tSfrZ7ur2iFVRCoXi3SB9MPxvf8b4uAHhLIe fCCpvpNdJjfPkkSACrP63jZ/t5RKfbCyMk8wd0jXzIRDwirch4iymAc07awsR1vi Jyx5XQXmUzHb+y4NxV3thhc92srmbZw2NDKnFH/QB9LukpznS0/cEmJvDxKC/yfb xlWL7GSnQskmVljXJRlf32SNwU3d3Xr2A/e0Ogerf8IRgTjzMI8ufGyIaVWpj36s 9EXxs6hKZL+HrYM6Tj2wFCJ2TWzTVoUmpR1j8LD8iLseghcnA5E= =W5nU -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm--