Re: [HACKERS] create database doesn't work well in MULTIBYTE mode

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: [HACKERS] create database doesn't work well in MULTIBYTE mode
Дата
Msg-id 38AC0F97.5400498C@alumni.caltech.edu
обсуждение исходный текст
Ответ на RE: [HACKERS] create database doesn't work well in MULTIBYTE mode  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Ответы Re: [HACKERS] create database doesn't work well in MULTIBYTE mode  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
> $6 is already converted from string to ival in another place.
> It seems to me that this change is unnecessary.
> I don't understand why this was changed recently.

At the moment, if the code is compiled without MULTIBYTE enabled, it
will silently ignore any "ENCODING=" clause in a CREATE DATABASE
statement.

Wouldn't it be more appropriate to throw an elog(ERROR) in this case
(or perhaps an elog(WARN))? I've got the code ready to add in.
Comments?
                  - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: [HACKERS] PC Week PostgreSQL benchmark results posted online (fwd)
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: [HACKERS] Almost there on column aliases