Roger Leigh <rleigh(at)codelibre(dot)net> writes:
>> On Wed, 2009-09-30 at 11:03 -0400, Andrew Dunstan wrote:
>>> Thinking about this some more, ISTM a much better way of approaching
>>> it would be to provide a flag for psql to turn off the fancy
>>> formatting, and have pg_regress use that flag.
> The attached patch implements this feature. It adds a
> --no-pretty-formatting/-G option to psql (naming isn't my fort,
> so feel free to change it!). This is also documented in the
> SGML docs, and help text. Lastly, this option is used when invoking
> psql by pg_regress, which results in a working testsuite in a UTF-8
It would be a good idea to tie this to a psql magic variable (like
ON_ERROR_STOP) so that it could conveniently be set in ~/.psqlrc.
I'm not actually sure that we need a dedicated command line switch
for it, since you could use "-v varname" instead.
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Andrew Gierth||Date: 2009-09-30 22:55:33|
|Subject: Re: latest hstore patch|
|Previous:||From: Kevin Grittner||Date: 2009-09-30 22:13:04|
|Subject: Re: FSM search modes|