Re: passing diff options to pg_regress

Andres Freund <andres@2ndquadrant.com>

From: Andres Freund <andres@2ndquadrant.com>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers@postgresql.org
Date: 2013-01-14T12:04:00Z
Lists: pgsql-hackers
On 2013-01-14 06:57:52 -0500, Peter Eisentraut wrote:
> I sometimes find it useful to view a regression test difference using
> other diff options, such as -u -w or more context.  There is currently
> no easy way to accomplish that.
> 
> I suggest allowing to override the diff options using an environment
> variable, such as PG_REGRESS_DIFF_OPTS.  The patch is very small.
> 
+ERANGE

I usually do this by manually doing the diff, but thats pretty annoying.

Greetings,

Andres Freund

-- 
 Andres Freund	                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services