passing diff options to pg_regress

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-hackers@postgresql.org
Date: 2013-01-14T11:57:52Z
Lists: pgsql-hackers

Attachments

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.