Re: Unicode UTF-8 table formatting for psql text output - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Unicode UTF-8 table formatting for psql text output
Date
Msg-id 4AC395A9.6050202@dunslane.net
Whole thread Raw
In response to Re: Unicode UTF-8 table formatting for psql text output  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Unicode UTF-8 table formatting for psql text output
Re: Unicode UTF-8 table formatting for psql text output
List pgsql-hackers

Peter Eisentraut wrote:
> 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.
>>     
>
> Well, it might not be a bad idea, but adding a feature just to satisfy
> the test suite instead of fixing the test suite doesn't feel satisfying.
> Is there another use case?
>
>   

Sure, as Tom noted pg_regress probably won't be the only user. There are 
lots of legacy scripts out there that parse psql output, and it should 
be of use to them.

cheers

andrew


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Unicode UTF-8 table formatting for psql text output
Next
From: Peter Eisentraut
Date:
Subject: Re: Linux LSB init script