Re: pgsql: Accept 'on' and 'off' as input for boolean data type, unifying

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Accept 'on' and 'off' as input for boolean data type, unifying
Дата
Msg-id 27699.1236616437@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgsql: Accept 'on' and 'off' as input for boolean data type, unifying  (petere@postgresql.org (Peter Eisentraut))
Список pgsql-committers
petere@postgresql.org (Peter Eisentraut) writes:
> Accept 'on' and 'off' as input for boolean data type, unifying the syntax
> that the data type and GUC accepts.

ISTM the failure case in parse_bool_with_len will dump core if "result"
is passed as NULL.

            regards, tom lane

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

Предыдущее
От: petere@postgresql.org (Peter Eisentraut)
Дата:
Сообщение: pgsql: Tweak the regression test case so that the ordering of numbers
Следующее
От: petere@postgresql.org (Peter Eisentraut)
Дата:
Сообщение: pgsql: In parse_bool_with_len, avoid crash when no result pointer is