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.dunstan@2ndquadrant.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Switch TAP tests of pg_rewind to use a role with minimal permiss
Date: Sat, 13 Apr 2019 13:24:04 +0900
Message-ID: <20190413042404.GA1753@paquier.xyz> (raw)
In-Reply-To: <20540.1555127688@sss.pgh.pa.us>
References: <E1hElQt-0002CM-4A@gemulon.postgresql.org>
	<3cd43d33-f415-cc41-ade3-7230ab15b2c9@2ndQuadrant.com>
	<17438.1555124363@sss.pgh.pa.us>
	<CD188DC1-988D-4201-A349-162F64575C7E@paquier.xyz>
	<20540.1555127688@sss.pgh.pa.us>

On Fri, Apr 12, 2019 at 11:54:48PM -0400, Tom Lane wrote:
> Hm.  Seems like that test case could also use some work so that it's
> more obvious when it has connection problems.

For the problem reported, the deal is that we need to add in
pg_indent.conf a mapping to the new user created (as done in
config_sspi_auth()).  We can do that with pg_regress --create-role and
PostgresNode.pm::init() can help with that.  So the fix is simple
enough.  I'll make sure that it works properly at the beginning of
next week.  For now the patch is reverted.
--
Michael

Attachments:

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

view thread (9+ messages)  latest in thread

Message-ID: <20190413042404.GA1753@paquier.xyz>
Permalink:  ../20190413042404.GA1753@paquier.xyz/
Also on:    postgresql.org/message-id/20190413042404.GA1753@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.dunstan@2ndquadrant.com
  Subject: Re: pgsql: Switch TAP tests of pg_rewind to use a role with minimal permiss
  In-Reply-To: <20190413042404.GA1753@paquier.xyz>
  References: <E1hElQt-0002CM-4A@gemulon.postgresql.org> <3cd43d33-f415-cc41-ade3-7230ab15b2c9@2ndQuadrant.com> <17438.1555124363@sss.pgh.pa.us> <CD188DC1-988D-4201-A349-162F64575C7E@paquier.xyz> <20540.1555127688@sss.pgh.pa.us> <20190413042404.GA1753@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