pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: pgsql: Superuser can permit passwordless connections on postgres_fdw
Date: Sat, 21 Dec 2019 11:18:06 +0900
Message-ID: <20191221021806.GA15758@paquier.xyz> (raw)
In-Reply-To: <32150.1576870942@sss.pgh.pa.us>
References: <E1iiBFm-0001RN-N2@gemulon.postgresql.org>
	<20191220120208.GA4258@paquier.xyz>
	<11297.1576868677@sss.pgh.pa.us>
	<32150.1576870942@sss.pgh.pa.us>

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

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (9+ messages)  latest in thread

Message-ID: <20191221021806.GA15758@paquier.xyz>
Permalink:  ../20191221021806.GA15758@paquier.xyz/
Also on:    postgresql.org/message-id/20191221021806.GA15758@paquier.xyz

 · 

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-committers@postgresql.org
  Cc: michael@paquier.xyz, tgl@sss.pgh.pa.us, andrew@dunslane.net, pgsql-hackers@lists.postgresql.org
  Subject: Re: pgsql: Superuser can permit passwordless connections on postgres_fdw
  In-Reply-To: <20191221021806.GA15758@paquier.xyz>
  References: <E1iiBFm-0001RN-N2@gemulon.postgresql.org> <20191220120208.GA4258@paquier.xyz> <11297.1576868677@sss.pgh.pa.us> <32150.1576870942@sss.pgh.pa.us> <20191221021806.GA15758@paquier.xyz>

* 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