Re: Allow on/off as input texts for boolean.

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Allow on/off as input texts for boolean.
Дата
Msg-id 499D5C40.7010406@gmx.net
обсуждение исходный текст
Ответ на Allow on/off as input texts for boolean.  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Ответы Re: Allow on/off as input texts for boolean.
Список pgsql-hackers
ITAGAKI Takahiro wrote:
> Here is a patch to allow 'on' and 'off' as input texts for boolean.
> Duplicated boolean parsers in parse_bool() and boolin() are merged
> into a new parse_bool_with_len().

Regarding your FIXME comment, I think parse_bool* should be in bool.c 
and declared in builtins.h, which guc.c already includes. 
(Conceptually, the valid format of a bool should be drived by the 
boolean type, not the GUC system, I think.)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: PostgreSQL Translation - PL/pgSQL current
Следующее
От: Zdenek Kotala
Дата:
Сообщение: Re: vacuumdb --freeze