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 1pAO4e-0007pM-M8 for pgsql-hackers@arkaria.postgresql.org; Wed, 28 Dec 2022 04:29:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pAO4c-0006zt-9j for pgsql-hackers@arkaria.postgresql.org; Wed, 28 Dec 2022 04:29:50 +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 1pAO4c-0006zj-0J for pgsql-hackers@lists.postgresql.org; Wed, 28 Dec 2022 04:29:50 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pAO4X-0005O8-EW for pgsql-hackers@postgresql.org; Wed, 28 Dec 2022 04:29:49 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 2BS4Te7U254315; Tue, 27 Dec 2022 23:29:40 -0500 From: Tom Lane To: Justin Pryzby cc: Alexander Korotkov , Pavel Borisov , Alvaro Herrera , Steve Chavez , Kyotaro Horiguchi , nathandbossart@gmail.com, pgsql-hackers@postgresql.org Subject: Re: Allow placeholders in ALTER ROLE w/o superuser In-reply-to: <20221228010655.GW1153@telsasoft.com> References: <20221205171120.pvg6v2kdyswvzzca@alvherre.pgsql> <3311900.1670260722@sss.pgh.pa.us> <20221227065456.GU1153@telsasoft.com> <3965704.1672124294@sss.pgh.pa.us> <20221228010655.GW1153@telsasoft.com> Comments: In-reply-to Justin Pryzby message dated "Tue, 27 Dec 2022 19:06:55 -0600" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <254313.1672201780.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 27 Dec 2022 23:29:40 -0500 Message-ID: <254314.1672201780@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Justin Pryzby writes: > This fails when run more than once: > time meson test --setup running --print test_pg_db_role_setting-running/= regress Ah. > It didn't fail for you because it says: > ./src/test/modules/test_pg_db_role_setting/Makefile > +# disable installcheck for now > +NO_INSTALLCHECK =3D 1 So ... exactly why is the meson infrastructure failing to honor that? This test looks sufficiently careless about its side-effects that I completely agree with the decision to not run it in pre-existing installations. Failing to drop a created superuser is just one of its risk factors --- it also leaves around pg_db_role_setting entries. regards, tom lane