Re: Where is SSPI auth username determined for TAP tests?
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2019-07-03T06:20:24Z
Lists: pgsql-hackers
Attachments
- dump-tap-cleanup.patch (text/x-diff) patch
On Sun, Jun 30, 2019 at 12:09:18PM -0400, Tom Lane wrote: > We could apply the same hack on the source node, but I wonder if it > wouldn't be better to make this less of a kluge. I'm tempted to > propose that "pg_regress --config-auth --user XXX" should understand > XXX as the bootstrap superuser name, and then we could clean up > 010_dump_connstr.pl by using that. I have been reviewing that part, and the part to split the bootstrap user from the set of extra roles created looks fine to me. Now, it seems to me that you can simplify 010_dump_connstr.pl as per the attached because PostgresNode::Init can take care of --auth-config part with the correct options using auth_extra. What do you think about the cleanup attached? -- Michael
Commits
-
Simplify TAP tests of pg_dump for connection strings
- d5ab9a891cb5 13.0 landed
-
Blind attempt to fix SSPI-auth case in 010_dump_connstr.pl.
- 681cca86f507 12.0 landed