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

From Roger Leigh
Subject Re: garbage in psql -l
Date
Msg-id 20091126090836.GF14791@codelibre.net
Whole thread Raw
In response to Re: garbage in psql -l  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, Nov 25, 2009 at 11:34:35PM -0500, Tom Lane wrote:
> Roger Leigh <rleigh@codelibre.net> writes:
> > The following patch adds in an nl_langinfo(CODESET) check in
> > addition to the existing client encoding check.
>
> I think the consensus is pretty clear that we should just set the
> default linestyle to ascii and not try to be cute with it.  (I had
> already committed a patch to that effect before I saw your message.)

OK.  It would be nice if this could be revisited at the point the
work Peter mentioned about automatically selecting the client
encoding based upon the user's locale is ready for committing.

> The right way for people who want to see the nice graphics is to put
> "\pset linestyle unicode" into their .psqlrc.

OK.


Regards,
Roger

--  .''`.  Roger Leigh: :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/`. `'   Printing on
GNU/Linux?      http://gutenprint.sourceforge.net/  `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail. 

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: unknown libpq service entries ignored
Next
From: Jeff Davis
Date:
Subject: Re: operator exclusion constraints