Re: [SQL] Type casting bool?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [SQL] Type casting bool?
Дата
Msg-id 2517.950423769@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [SQL] Type casting bool?  ("tjk@tksoft.com" <tjk@tksoft.com>)
Список pgsql-sql
A number of people have suggested that there should be an int4(bool)
conversion function, but no one's got round to actually writing it.

Presumably the behavior ought to befalse => 0true  => 1NULL  => NULL
        regards, tom lane


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

Предыдущее
От: "tjk@tksoft.com"
Дата:
Сообщение: Re: [SQL] Type casting bool?
Следующее
От: Peter Stamfest
Дата:
Сообщение: text -> char