From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Blind attempt to fix SSPI-auth case in 010_dump_connstr.pl.
Date: Sun, 30 Jun 2019 17:34:52 +0000
Message-ID: <E1hhdj2-0000u4-0d@gemulon.postgresql.org> (raw)
Blind attempt to fix SSPI-auth case in 010_dump_connstr.pl.
Up to now, pg_regress --config-auth had a hard-wired assumption
that the target cluster uses the default bootstrap superuser name.
pg_dump's 010_dump_connstr.pl TAP test uses non-default superuser
names, and was klugily getting around the restriction by listing
the desired superuser name as a role to "create". This is pretty
confusing (or at least, it confused me). Let's make it clearer by
allowing --config-auth mode to be told the bootstrap superuser name.
Repurpose the existing --user switch for that, since it has no
other function in --config-auth mode.
Per buildfarm. I don't have an environment at hand in which I can
test this fix, but the buildfarm should soon show if it works.
Discussion: https://postgr.es/m/3142.1561840611@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/681cca86f5071379c4a8599ef9387b666b7e6879
Modified Files
--------------
src/bin/pg_dump/t/010_dump_connstr.pl | 15 ++++++++------
src/test/regress/pg_regress.c | 38 ++++++++++++++++++++++-------------
2 files changed, 33 insertions(+), 20 deletions(-)
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: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Blind attempt to fix SSPI-auth case in 010_dump_connstr.pl.
In-Reply-To: <E1hhdj2-0000u4-0d@gemulon.postgresql.org>
References: <E1hhdj2-0000u4-0d@gemulon.postgresql.org>
* 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