Re: boolean to int

Поиск
Список
Период
Сортировка
От Mage
Тема Re: boolean to int
Дата
Msg-id 405648F4.4070507@mage.hu
обсуждение исходный текст
Ответ на Re: boolean to int  (Alex Satrapa <alex@lintelsys.com.au>)
Список pgsql-general
Alex Satrapa wrote:

>
>
> Thanks for the example of the use of casts.

This works fine for functions or inserts, but I still can't use in
select * statements. I need explicit cast or I have to deal with 't' and
'f' in php.
Although a new user defined boolean type and some c programming can
help. Any other way?

       Mage




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

Предыдущее
От: Alex Satrapa
Дата:
Сообщение: Re: boolean to int
Следующее
От: Mike Nolan
Дата:
Сообщение: Re: Trigger loop question