From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Switch TAP tests of pg_rewind to use a role with minimal permiss
Date: Fri, 12 Apr 2019 22:05:06 -0400
Message-ID: <3cd43d33-f415-cc41-ade3-7230ab15b2c9@2ndQuadrant.com> (raw)
In-Reply-To: <E1hElQt-0002CM-4A@gemulon.postgresql.org>
References: <E1hElQt-0002CM-4A@gemulon.postgresql.org>
On 4/11/19 9:56 PM, Michael Paquier wrote:
> Switch TAP tests of pg_rewind to use a role with minimal permissions
>
> Up to now the tests of pg_rewind have been using a superuser for all the
> tests (which is the default of many tests actually, and something that
> ought to be reviewed) when involving an online source server, still it
> is possible to use a non-superuser role to do that as long as this role
> is granted permissions to execute all the source-side functions used for
> the rewind. This is possible since v11, and was already documented as
> of bfc8068.
>
> This will allow to catch up easily any change in pg_rewind if the tool
> begins to use more backend-side functions, so as the properties
> introduced by v11 are kept.
>
jacana and bowerbird don't seem happy with this.
cheers
andrew
--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: andrew.dunstan@2ndquadrant.com, michael@paquier.xyz
Subject: Re: pgsql: Switch TAP tests of pg_rewind to use a role with minimal permiss
In-Reply-To: <3cd43d33-f415-cc41-ade3-7230ab15b2c9@2ndQuadrant.com>
References: <E1hElQt-0002CM-4A@gemulon.postgresql.org> <3cd43d33-f415-cc41-ade3-7230ab15b2c9@2ndQuadrant.com>
* 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