Re: pgsql: Add 'basebackup_to_shell' contrib module.
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>,
Nathan Bossart <nathandbossart@gmail.com>,
Andres Freund <andres@anarazel.de>,
Thomas Munro <thomas.munro@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Magnus Hagander <magnus@hagander.net>
Date: 2022-03-31T15:32:15Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes: > On Thu, Mar 31, 2022 at 10:52 AM Andrew Dunstan <andrew@dunslane.net> wrote: >> We should probably fix the test though, so it doesn't require Unix >> sockets. It should be possible, although I haven't looked yet to see how. > Our mutual colleague Neha Sharma pointed out this email message to me: > http://postgr.es/m/106926.1643842376@sss.pgh.pa.us Ah, right. > I actually don't understand why using pg_regress --auth-extra would > fix it, or what that option does, or why we're even running pg_regress > at all in PostgreSQL::Test::Cluster::init. I think it might be to fix > this exact issue, but there's no SGML documentation for pg_regress, I'm not volunteering to fix that, but this comment in pg_regress.c is probably adequately illuminating: * 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. regards, tom lane
Commits
-
Print information about type of test and subdirectory before running tests.
- 28bdfa2adfc6 15.0 landed
-
In basebackup_to_shell tests, properly set up pg_hba.conf.
- fea1cc49e4ab 15.0 landed
-
Add .gitignore for basebackup_to_shell.
- f8e0d900afed 15.0 landed
-
basebackup_to_shell: Add TAP test.
- 027fa0fd7261 15.0 landed
-
Document basebackup_to_shell.required_role.
- 26a0c025e233 15.0 landed
-
Add 'basebackup_to_shell' contrib module.
- c6306db24bd9 15.0 cited