Fix new auto_explain test case for Windows.
Tom Lane <tgl@sss.pgh.pa.us>
Fix new auto_explain test case for Windows.
In commit 7c34555f8, I overlooked the need to configure SSPI
on Windows to allow login as the non-superuser role.
Fix that by adding auth_extra/--create-role incantation
(which, oddly enough, doesn't actually create the role).
Per buildfarm.
While here, upgrade the mechanism for temporarily setting
$ENV{PGUSER}, as per recommendation from ilmari.
Discussion: https://postgr.es/m/87edy7j1zz.fsf@wibble.ilmari.org
Files
| Path | Change | +/− |
|---|---|---|
| contrib/auto_explain/t/001_auto_explain.pl | modified | +20 −19 |
Discussion
- Fwd: Unprivileged user can induce crash by using an SUSET param in PGOPTIONS 25 messages · 2022-07-21 → 2022-07-27