Re: pgsql: Add 'basebackup_to_shell' contrib module.
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>, Robert Haas <robertmhaas@gmail.com>
Cc: 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-31T14:51:53Z
Lists: pgsql-hackers
On 3/30/22 22:07, Tom Lane wrote: > So ... none of the Windows buildfarm members actually like this > test script. They're all showing failures along the lines of > > not ok 2 - fails if basebackup_to_shell.command is not set: matches > > # Failed test 'fails if basebackup_to_shell.command is not set: matches' > # at t/001_basic.pl line 38. > # 'pg_basebackup: error: connection to server at "127.0.0.1", port 55358 failed: FATAL: SSPI authentication failed for user "backupuser" > # ' > # doesn't match '(?^:shell command for backup is not configured)' > > Does the CI setup not account for this issue? > > I have configured fairywren and drongo to use Unix sockets., and they have turned green Here are the settings I'm using in the config's build_env section: PG_TEST_USE_UNIX_SOCKETS => 1, PG_REGRESS_SOCK_DIR => 'C:/Users/pgrunner/AppData/Local/Temp', 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. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com
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