Re: garbage in psql -l

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Roger Leigh <rleigh(at)codelibre(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: garbage in psql -l
Date: 2009-11-25 12:57:18
Message-ID: 1259153838.17967.11.camel@fsopti579.F-Secure.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On ons, 2009-11-25 at 00:14 +0000, Roger Leigh wrote:
> For the specific case here, where the locale is KOI8-R, we can
> determine at runtime that this isn't a UTF-8 locale and stay
> using ASCII. I'll be happy to send a patch in to correct this
> specific case.

There is already a proposed patch to set the client encoding from the
locale, but it is pending on some other API refactoring.

The problem at hand, however, is that psql -l happens before the client
encoding settings are applied, which should be fixed in any case.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2009-11-25 13:00:02 Re: garbage in psql -l
Previous Message Peter Eisentraut 2009-11-25 12:52:31 Re: garbage in psql -l