pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Nathan Bossart <nathandbossart@gmail.com>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Magnus Hagander <magnus@hagander.net>
Subject: Re: pgsql: Add 'basebackup_to_shell' contrib module.
Date: Thu, 31 Mar 2022 09:10:02 -0700
Message-ID: <20220331161002.4nerjsam7ugp56fw@alap3.anarazel.de> (raw)
In-Reply-To: <639823.1648740735@sss.pgh.pa.us>
References: <20220330165450.3lruwky7eveddsvq@alap3.anarazel.de>
	<CA+TgmobK9EEyPpVuBs7UL_1wHkgAbFdnAkrFox6h_0-5i7HM2A@mail.gmail.com>
	<285252.1648671723@sss.pgh.pa.us>
	<CA+TgmoYgrjwh8SVPG_hiq1U4=bxj5MaR_RQ+abvO7izm94rEXQ@mail.gmail.com>
	<20220330223531.GA134543@nathanxps13>
	<472639.1648684865@sss.pgh.pa.us>
	<485495.1648692468@sss.pgh.pa.us>
	<f48f62be-56fb-7c0b-7d09-a617b5c6e64a@dunslane.net>
	<CA+TgmoZppyDsGoAYzS7+LQ9O60g9SjAu2YRUWfxLjBFohkxXfA@mail.gmail.com>
	<639823.1648740735@sss.pgh.pa.us>

Hi,

On 2022-03-31 11:32:15 -0400, Tom Lane wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>  * Rewrite pg_hba.conf and pg_ident.conf to use SSPI authentication.  Permit
>  * the current OS user to authenticate as the bootstrap superuser and as any
>  * user named in a --create-role option.
> 
> This script is creating users manually rather than letting the TAP
> infrastructure do it, which is an antipattern.

Seems like Cluster.pm should have a helper for creating roles, which then
would use --create-role internally. So there's at least something to find when
looking through Cluster.pm...

Greetings,

Andres Freund





view thread (66+ messages)  latest in thread

Message-ID: <20220331161002.4nerjsam7ugp56fw@alap3.anarazel.de>
Permalink:  ../20220331161002.4nerjsam7ugp56fw@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20220331161002.4nerjsam7ugp56fw@alap3.anarazel.de

 · 

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: andres@anarazel.de, tgl@sss.pgh.pa.us, robertmhaas@gmail.com, andrew@dunslane.net, nathandbossart@gmail.com, thomas.munro@gmail.com, pgsql-hackers@lists.postgresql.org, magnus@hagander.net
  Subject: Re: pgsql: Add 'basebackup_to_shell' contrib module.
  In-Reply-To: <20220331161002.4nerjsam7ugp56fw@alap3.anarazel.de>
  References: <20220330165450.3lruwky7eveddsvq@alap3.anarazel.de> <CA+TgmobK9EEyPpVuBs7UL_1wHkgAbFdnAkrFox6h_0-5i7HM2A@mail.gmail.com> <285252.1648671723@sss.pgh.pa.us> <CA+TgmoYgrjwh8SVPG_hiq1U4=bxj5MaR_RQ+abvO7izm94rEXQ@mail.gmail.com> <20220330223531.GA134543@nathanxps13> <472639.1648684865@sss.pgh.pa.us> <485495.1648692468@sss.pgh.pa.us> <f48f62be-56fb-7c0b-7d09-a617b5c6e64a@dunslane.net> <CA+TgmoZppyDsGoAYzS7+LQ9O60g9SjAu2YRUWfxLjBFohkxXfA@mail.gmail.com> <639823.1648740735@sss.pgh.pa.us> <20220331161002.4nerjsam7ugp56fw@alap3.anarazel.de>

* 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