Re: garbage in psql -l

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, 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:00:02
Message-ID: 1259154002.17967.14.camel@fsopti579.F-Secure.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On tis, 2009-11-24 at 14:19 -0500, Tom Lane wrote:
> I think you're being overoptimistic to assume that that's going to
> eliminate the issue. It might patch things for Oleg's particular
> configuration; but the real problem IMO is that people are depending
> on ~/.psqlrc to set encoding/locale related behavior, and that file
> isn't read before executing -l/-c (not to mention -X).

The -l/-c case should probably be fixed. If the output contains
non-ASCII data, then it's not going to display correctly. Not so much a
problem for -l, but definitely for -c, and of course with the Unicode
line drawing now in fact also for -l.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2009-11-25 13:18:46 Re: tsearch parser inefficiency if text includes urls or emails - new version
Previous Message Peter Eisentraut 2009-11-25 12:57:18 Re: garbage in psql -l