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

From Peter Eisentraut
Subject Re: garbage in psql -l
Date
Msg-id 1259088718.14216.0.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: garbage in psql -l  (Oleg Bartunov <oleg@sai.msu.su>)
Responses Re: garbage in psql -l
List pgsql-hackers
On tis, 2009-11-24 at 21:32 +0300, Oleg Bartunov wrote:
> On Tue, 24 Nov 2009, Tom Lane wrote:
> 
> > Oleg Bartunov <oleg@sai.msu.su> writes:
> >> On Tue, 24 Nov 2009, Tom Lane wrote:
> >>> Hm, you only see it for -l and not for all tabular output?  That's
> >>> a bit strange.
> >
> >> yes, I'm surprising myself. Teodor has no problem, but he is under FreeBSD,
> >> while I use slackware linux. Here is ldd output.
> >
> > What's your locale environment?  ("env | grep ^L" would help.)
> 
> LC_COLLATE=ru_RU.KOI8-R
> LANG=C
> LC_CTYPE=ru_RU.KOI8-R
> 
> I had no problem with this.

Seems like a mismatch between client encoding and actual locale
environment.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: garbage in psql -l
Next
From: Scott Marlowe
Date:
Subject: Re: [GENERAL] Updating column on row update