Re: psql setenv command - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: psql setenv command
Date
Msg-id 4E80EB91.6010004@dunslane.net
Whole thread Raw
In response to Re: psql setenv command  (Jeff Janes <jeff.janes@gmail.com>)
Responses Re: psql setenv command
List 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


pgsql-hackers by date:

Previous
From: Andreas Karlsson
Date:
Subject: EXECUTE tab completion
Next
From: Florian Pflug
Date:
Subject: Re: bug of recovery?