Re: TAP tests still sensitive to various PG* environment variables - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: TAP tests still sensitive to various PG* environment variables
Date
Msg-id YLhGmSWiDMeimu4a@paquier.xyz
Whole thread Raw
In response to Re: TAP tests still sensitive to various PG* environment variables  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Wed, Jun 02, 2021 at 03:43:46PM -0400, Andrew Dunstan wrote:
> Let's change it to something like:
>
>     my @scrubkeys = qw ( PGCHANNELBINDING
>        PGCLIENTENCODING PGCONNECT_TIMEOUT PGDATA
>        ...
>         );
>     delete @ENV{@scrubkeys};

Good idea.  I have used that.  Thanks.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Fixup some appendStringInfo and appendPQExpBuffer calls
Next
From: David Rowley
Date:
Subject: Re: What to call an executor node which lazily caches tuples in a hash table? (GUC)