9.3 RC1 psql encoding reporting inconsistently?

Поиск
Список
Период
Сортировка
От Michael Nolan
Тема 9.3 RC1 psql encoding reporting inconsistently?
Дата
Msg-id CAOzAquLfNfNAtheB-Rwr24XKWZgQYN6Rj8LeHpbV9EHH4bi60w@mail.gmail.com
обсуждение исходный текст
Ответы Re: 9.3 RC1 psql encoding reporting inconsistently?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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 (9.3rc1)
Type "help" for help.

postgres=# \l                       List of databases Name     Owner   Encoding  Collate Ctype   Access privileges
--------- -------- --------- ------- ----- ---------------------
postgres  postgres SQL_ASCII C       C
template0 postgres SQL_ASCII C       C     =c/postgres          +
postgres=CTc/postgres
template1 postgres SQL_ASCII C       C     =c/postgres          +
postgres=CTc/postgres
(3 rows)

postgres=# \set
AUTOCOMMIT = 'on'
ECHO = 'queries'
PROMPT1 = '%/%R%# '
PROMPT2 = '%/%R%# '
PROMPT3 = '>> '
VERBOSITY = 'default'
VERSION = 'PostgreSQL 9.3rc1 on i686-pc-linux-gnu, compiled by gcc
(GCC) 4.1.2 20070925 (Red Hat 4.1.2-27), 32-bit'
DBNAME = 'postgres'
USER = 'postgres'
PORT = '5432'
ENCODING = 'UTF8'
postgres=#
--
Mike Nolan



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: dynamic shared memory
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 9.3 RC1 psql encoding reporting inconsistently?