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 1hgPWy-0004Lj-5S for pgsql-committers@arkaria.postgresql.org; Thu, 27 Jun 2019 08:13:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hgPWw-0004ip-N7 for pgsql-committers@arkaria.postgresql.org; Thu, 27 Jun 2019 08:13:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hgPWw-0004do-A2 for pgsql-committers@lists.postgresql.org; Thu, 27 Jun 2019 08:13:18 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hgPWp-0002bH-PJ for pgsql-committers@lists.postgresql.org; Thu, 27 Jun 2019 08:13:17 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 2B19D2208E; Thu, 27 Jun 2019 04:13:11 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 27 Jun 2019 04:13:11 -0400 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=fm2; bh=IDPQ4PpXinA2t2kZ6xRvVK93xLu lMaPuaebl0+J6D1U=; b=dAw9C9hiNCUhdEDa8GVkbDgkG642G5wBSqWzM8CA46P fzXqQ+YM43SzKwdZuofLc4PAdgWVIPktyBBP4x54/YnL0UUCsOmguacEnQnT6ZbM Cm7EnXB9wt4ElK3c8NSAguV6GPxarqcyRRIVHKuI6OphLyfHvM+LVFTbKqQuiwaa I3N6Ko3ZrWURI1vm6dzG4n3+I/C151c0va3Kf91FTQkjhbV+gNtI1loj2gInQ5lc dWLCRo+OrQrZUlBjgtjdzZLZz69cGZdtUuCSLIZ4XAx/h2EDs1CT7FwMinpeGJqW G/ZlvL/OZFo0FOy1dreOmdyzUtBeaeWFMAh0QpEACBw== 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=fm3; bh=IDPQ4P pXinA2t2kZ6xRvVK93xLulMaPuaebl0+J6D1U=; b=W88kriDPT9AGzIvebqP9aj osPYLPfGpQTiPSPZXkEBrHCFyA1xOLJCdkS/48QUql6xKqpgtcVTJe0IFOyBvlxa JiImubGFinTwO+CcncVxcH8hdRCarON96+rvu2ry6IDDMYF8LwKyxY9mxd3bY8HP S0O+KQw5AneCrCTM9mnXYDcO8W+OQ+JdMXl8eRpibED/CHKEokUFlWr0ti3KpG8Q Ny8dNykw1c5eqXUt323rIhjg6HKOrrtIpt+uKs8BHp98uN2LIgmFFR1Y43TrYAhJ 2H8cqtUEwGd8u3aEivBNKTsHYqGzdG6ABRcVHPDZ10wLB1uQUbv2bYm3h6L6Czog == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudekgddtvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdefhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenucfk phepudduuddruddtvddrudektddrudekheenucfrrghrrghmpehmrghilhhfrhhomhepmh hitghhrggvlhesphgrqhhuihgvrhdrgiihiienucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 7E1ED8005B; Thu, 27 Jun 2019 04:12:41 -0400 (EDT) Date: Thu, 27 Jun 2019 17:12:22 +0900 From: Michael Paquier To: Stephen Frost Cc: Alvaro Herrera , Tom Lane , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Drop test user when done with it. Message-ID: <20190627081222.GC3509@paquier.xyz> References: <20190626185948.GA14895@alvherre.pgsql> <20190626190733.GD2480@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9dgjiU4MmWPVapMU" Content-Disposition: inline In-Reply-To: <20190626190733.GD2480@tamriel.snowman.net> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --9dgjiU4MmWPVapMU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 26, 2019 at 03:07:33PM -0400, Stephen Frost wrote: > Yes, thanks, and specifically this: >=20 > https://www.postgresql.org/message-id/20181130163728.GE3415%40tamriel.sno= wman.net >=20 > Adding 'DROP IF EXISTS' to the top to have things cleaned up so that the > run can be repeated is fine. Removing things at the end of the test > script would defeat the entire purpose of those tests. The problem is that if you do an installcheck, then the role persists in the instance of Postgres installed. That's not a good thing, and contrary to the test policy. And your solution does nothing about that. -- Michael --9dgjiU4MmWPVapMU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl0UemYACgkQnvQgOdby QH32Nw/+LVV+pZy7AQM0fwXJbkG/9PDN1IsFxOHHZ5DYULij20tQX8Q6wmJXNdU2 S3mPvLTFW+B1GWA2hXNU4q7j/+wPEqpz/PKIEmXMMxh2pkS0ZcuaJrAzlyRqRPVM NRqnOCOG+bad02x2w0yYqfFE7IEdQNZXh+yv9hJfj6ZvOvs7TST1Z/nMILjUMd2n DXLcKnkXLxcIw+3AeBm0ZtxV8o0rylucKvKZpS7uxYbreI3n8khgsZglw33v0xlc RIK+klmzJ5ZAfYndpChR/601WghFwoakiu6oj0Lb8Md8BWMfTcjD3qavXnuyS2io uofn33MoiPLkYDgWSOwblNm7AU4jfkUkVS8avdy9nxAaSC3FkswHMTcsIltWxHsi kZ7Y/QrPQOP+DsMKaLNN49eJB3erVcG+KPY5hgBnMy73O7ZsupCTTnqNKItlDcmR 6dmlgLpFo4EvX7rlIlgPRCImdy+Oxf+Lp1L+rsRBA2Lm9vYFXgCaIOPuLvlJ4nWC zuMoHcy09st2KdgBoKnII23NVERPQbIKHf23uXGUqEPapGc0xV6+hkJ/aHoyiM5B bB7g3slX+S+1FcTUB5yFAdq8nHbDN1VvOT8tpv7jor34wB5SQjSNvh4mzuevMhXa okEOax+cDPupwTTBoR0kJB1BLGpNbRrk+LNolreaqH71xsZsd7g= =ddSN -----END PGP SIGNATURE----- --9dgjiU4MmWPVapMU--