Re: garbage in psql -l

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Roger Leigh <rleigh(at)codelibre(dot)net>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: garbage in psql -l
Date: 2009-11-25 13:36:49
Message-ID: 9837222c0911250536x76ba34fm7cd69cfe345f2ac5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 24, 2009 at 22:35, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Oleg Bartunov <oleg(at)sai(dot)msu(dot)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 Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Emmanuel Cecchet 2009-11-25 13:39:27 Re: Partitioning option for COPY
Previous Message Andres Freund 2009-11-25 13:33:18 Re: Application name patch - v3