Re: Unicode UTF-8 table formatting for psql text output

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Roger Leigh <rleigh@codelibre.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Peter Eisentraut <peter_e@gmx.net>, "Brad T. Sliger" <brad@sliger.org>, pgsql-hackers@postgresql.org, Robert Haas <robertmhaas@gmail.com>, Selena Deckelmann <selenamarie@gmail.com>, Alvaro Herrera <alvherre@commandprompt.com>, Roger Leigh <rleigh@debian.org>
Date: 2009-09-30T15:03:05Z
Lists: pgsql-hackers

Andrew Dunstan wrote:
>
>
> Roger Leigh wrote:
>> Here we just force the locale to C.  This does have the disadvantage
>> that --no-locale is made redundant, and any tests which are dependent
>> upon locale (if any?) will be run in the C locale.
>>
>>
>>   
>
> That is not a solution. We have not that long ago gone to some lengths 
> to provide for buildfarm testing in various locales. We're not going 
> to undo that.
>
>

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.

cheers

andrew