Re: 9.3 RC1 psql encoding reporting inconsistently?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 9.3 RC1 psql encoding reporting inconsistently?
Дата
Msg-id 26519.1378166065@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 9.3 RC1 psql encoding reporting inconsistently?  (Michael Nolan <htfoot@gmail.com>)
Ответы Re: 9.3 RC1 psql encoding reporting inconsistently?  (David Johnston <polobo@yahoo.com>)
Список pgsql-hackers
Michael Nolan <htfoot@gmail.com> writes:
> This is 9.3 RC1 on a Fedora 7 system. Why does \l report the encoding
> as SQL_ASCII and \set report it as UTF8?

psql sets client_encoding based on its environment (LANG or related
variables).  That's been true for some time --- since 9.1, according
to a quick check.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Nolan
Дата:
Сообщение: 9.3 RC1 psql encoding reporting inconsistently?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [v9.4] row level security