Re: [COMMITTERS] pgsql: Rename pg_regress option --multibyte to --encoding

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [COMMITTERS] pgsql: Rename pg_regress option --multibyte to --encoding
Дата
Msg-id 1302899760.3774.22.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Rename pg_regress option --multibyte to --encoding  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: [COMMITTERS] pgsql: Rename pg_regress option --multibyte to --encoding  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On Fri, 2011-04-15 at 12:28 -0400, Andrew Dunstan wrote:
> Yeah, what is the point of this?:
> 
>     -# Adjust REGRESS_OPTS because we need a UTF8 database
>     -REGRESS_OPTS = --dbname=$(CONTRIB_TESTDB) --multibyte=UTF8 --no-locale
>     +# We need a UTF8 database +ENCODING = UTF8 +NO_LOCALE = 1
> 
> 
> Wouldn't it have worked just to change the way we spelled the option 
> name in the REGRESS_OPTS line?

It would have, but this way you have the same uniform interface
everywhere.  For example, you can easily override the encoding that that
test prescribes.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: regression test client encoding
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: regression test client encoding