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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Allow on/off as input texts for boolean.
Дата
Msg-id 49B52919.2040108@gmx.net
обсуждение исходный текст
Ответ на Re: Allow on/off as input texts for boolean.  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers
ITAGAKI Takahiro wrote:
> Peter Eisentraut <peter_e@gmx.net> wrote:
> 
>> ITAGAKI Takahiro wrote:
>>> Here is a patch to allow 'on' and 'off' as input texts for boolean.
>> 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.)
> 
> Here is an updated patch to move parse_bool* into bool.c.
> I also added tests of on/off values to the regression test.

applied


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

Предыдущее
От: Emanuel Calvo Franco
Дата:
Сообщение: Re: problem inserting in GIN index
Следующее
От: KaiGai Kohei
Дата:
Сообщение: Re: Updates of SE-PostgreSQL 8.4devel patches (r1704)