Re: garbage in psql -l - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: garbage in psql -l
Date
Msg-id 9837222c0911250536x76ba34fm7cd69cfe345f2ac5@mail.gmail.com
Whole thread Raw
In response to Re: garbage in psql -l  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: garbage in psql -l
List pgsql-hackers
On Tue, Nov 24, 2009 at 22:35, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Oleg Bartunov <oleg@sai.msu.su> writes:
>> what's benefit of using linestyle=unicode ? I like old ASCII style
>> for console.
>
> Well, I have to grant that it looks pretty spiffy on a unicode-enabled
> display.  Whether that's enough reason to risk breaking things for
> people with non-unicode-enabled displays is certainly worth debating.
>
> Maybe we should just make the default be linestyle=ascii all the time,
> and tell people to turn it on in their ~/.psqlrc if they want it.

FWIW, this patch also *completely* breaks the default windows
installs, which will have the database in UTF-8 but there is *never*
any UTF-8 support on the console (only UTF-16).

So +1 for not making it the default... Or at least have logic based on
the *client* to figure out what the default should be, in case that
can be made consistent.

-- Magnus HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Application name patch - v3
Next
From: Emmanuel Cecchet
Date:
Subject: Re: Partitioning option for COPY