Re: Passing server_encoding to the client is not future-proof

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Passing server_encoding to the client is not future-proof
Дата
Msg-id 9167.1059402412@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Passing server_encoding to the client is not future-proof  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Passing server_encoding to the client is not future-proof  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Has anyone thought of what will happen to the server_encoding parameter
> when the character set/encoding will be settable for individual columns
> and the concept of a global server encoding will go away?  What will
> happen to clients that make use of this parameter?

I would imagine that we'd keep the concept of a per-database encoding,
but it would be become a default value for per-column encoding choices,
rather than the One True Value.  Clients could probably still make use
of server_encoding, though I'm unclear on what they'd use it for now,
let alone then.  ISTM client_encoding is the only setting the client
need deal with directly.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: "is_superuser" parameter creates inconsistencies
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SQLSTATEs for warnings