Re: garbage in psql -l
| От | Tom Lane |
|---|---|
| Тема | Re: garbage in psql -l |
| Дата | |
| Msg-id | 22057.1259090367@sss.pgh.pa.us обсуждение |
| Ответ на | Re: garbage in psql -l (Peter Eisentraut <peter_e@gmx.net>) |
| Ответы |
Re: garbage in psql -l
Re: garbage in psql -l Re: garbage in psql -l |
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> Anyway, that patch to set the client encoding automatically from the
> locale sounds even more useful now.
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).
I wonder whether the most prudent solution wouldn't be to prevent
default use of linestyle=unicode if ~/.psqlrc hasn't been read.
regards, tom lane
В списке pgsql-hackers по дате отправления: