pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: Alexander Korotkov <aekorotkov@gmail.com>
Cc: Pavel Borisov <pashkin.elfe@gmail.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Steve Chavez <steve@supabase.io>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: nathandbossart@gmail.com
Cc: pgsql-hackers@postgresql.org
Subject: Re: Allow placeholders in ALTER ROLE w/o superuser
Date: Tue, 27 Dec 2022 23:29:40 -0500
Message-ID: <254314.1672201780@sss.pgh.pa.us> (raw)
In-Reply-To: <20221228010655.GW1153@telsasoft.com>
References: <20221205171120.pvg6v2kdyswvzzca@alvherre.pgsql>
	<3311900.1670260722@sss.pgh.pa.us>
	<CAPpHfdu+6eNT1m_LTH52Q4teqogLPLDj-CmwXC8t7nf32ree-g@mail.gmail.com>
	<CAPpHfdsvoJ5xV-azUkXcgOav_x6Y5_B=B9MfM0mafESswuKvAA@mail.gmail.com>
	<CALT9ZEGYOQBuN36yz6BYUaqk6ddLL-xLZaO7KiyRzEskJ6BeOA@mail.gmail.com>
	<CAPpHfdtSKAOx3EuSTSzFouFjOhAijNpCptK-JOs1XM_kJSB4gQ@mail.gmail.com>
	<CAPpHfdsZtFQO7uFecmvM1umaAAuCRxHV-eskkV=zgmM8LL-Jiw@mail.gmail.com>
	<20221227065456.GU1153@telsasoft.com>
	<3965704.1672124294@sss.pgh.pa.us>
	<20221228010655.GW1153@telsasoft.com>

Justin Pryzby <pryzby@telsasoft.com> 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 = 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





view thread (49+ messages)  latest in thread

Message-ID: <254314.1672201780@sss.pgh.pa.us>
Permalink:  ../254314.1672201780@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/254314.1672201780@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pryzby@telsasoft.com, aekorotkov@gmail.com, pashkin.elfe@gmail.com, alvherre@alvh.no-ip.org, steve@supabase.io, horikyota.ntt@gmail.com, nathandbossart@gmail.com
  Subject: Re: Allow placeholders in ALTER ROLE w/o superuser
  In-Reply-To: <254314.1672201780@sss.pgh.pa.us>
  References: <20221205171120.pvg6v2kdyswvzzca@alvherre.pgsql> <3311900.1670260722@sss.pgh.pa.us> <CAPpHfdu+6eNT1m_LTH52Q4teqogLPLDj-CmwXC8t7nf32ree-g@mail.gmail.com> <CAPpHfdsvoJ5xV-azUkXcgOav_x6Y5_B=B9MfM0mafESswuKvAA@mail.gmail.com> <CALT9ZEGYOQBuN36yz6BYUaqk6ddLL-xLZaO7KiyRzEskJ6BeOA@mail.gmail.com> <CAPpHfdtSKAOx3EuSTSzFouFjOhAijNpCptK-JOs1XM_kJSB4gQ@mail.gmail.com> <CAPpHfdsZtFQO7uFecmvM1umaAAuCRxHV-eskkV=zgmM8LL-Jiw@mail.gmail.com> <20221227065456.GU1153@telsasoft.com> <3965704.1672124294@sss.pgh.pa.us> <20221228010655.GW1153@telsasoft.com> <254314.1672201780@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox