Re: psql setenv command

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: Josh Kupershmidt <schmiddy@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-09-26T21:16:01Z
Lists: pgsql-hackers

On 09/26/2011 05:07 PM, Jeff Janes wrote:
>
> But in any case, considering that we are both wondering if it works on
> Windows, I think that argues that an automatic regression test would
> be very handy.
>
>

I think an automated test should be possible. Something like:

    \setenv PGFOO blurfl
    \! echo $PGFOO %PGFOO%


and then have a couple of alternative results. When I get time to get 
back to this I'll experiment.

cheers

andrew