pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix new auto_explain test case for Windows.
Date: Wed, 27 Jul 2022 22:58:45 +0000
Message-ID: <E1oGpzI-001Y7s-EF@gemulon.postgresql.org> (raw)

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

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1d01d198536f24995f2d5271f55c73be644438fc

Modified Files
--------------
contrib/auto_explain/t/001_auto_explain.pl | 39 +++++++++++++++---------------
1 file changed, 20 insertions(+), 19 deletions(-)



view thread (2+ messages)

Message-ID: <E1oGpzI-001Y7s-EF@gemulon.postgresql.org>
Permalink:  ../E1oGpzI-001Y7s-EF@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oGpzI-001Y7s-EF@gemulon.postgresql.org

 · 

reply

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: Fix new auto_explain test case for Windows.
  In-Reply-To: <E1oGpzI-001Y7s-EF@gemulon.postgresql.org>
  References: <E1oGpzI-001Y7s-EF@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