I wrote:
> =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= <ilmari@ilmari.org> writes:
>> Thanks! Just one minor nitpick: setting an %ENV entry to `undef`
>> doesn't unset the environment variable, it sets it to the empty string.
>> To unset a variable it needs to be deleted from %ENV, i.e. `delete
>> $ENV{PGUSER};`.
> Ah. Still, libpq doesn't distinguish, so the test works anyway.
> Not sure if it's worth changing.
Meh ... I had to un-break the test for Windows, so did this while
at it, using the local-in-block method. Thanks for the suggestion.
regards, tom lane