Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

In response to


pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group