Re: psql setenv command

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: Josh Kupershmidt <schmiddy(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql setenv command
Date: 2011-09-26 21:16:01
Message-ID: 4E80EB91.6010004@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2011-09-26 21:29:53 Re: BUG #6218: TRAP: FailedAssertion( "!(owner->nsnapshots == 0)", File: "resowner.c", Line: 365)
Previous Message Jeff Janes 2011-09-26 21:07:54 Re: psql setenv command