Re: boolean to int - Mailing list pgsql-general

From Mage
Subject Re: boolean to int
Date
Msg-id 405648F4.4070507@mage.hu
Whole thread Raw
In response to Re: boolean to int  (Alex Satrapa <alex@lintelsys.com.au>)
List 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 by date:

Previous
From: Alex Satrapa
Date:
Subject: Re: boolean to int
Next
From: Mike Nolan
Date:
Subject: Re: Trigger loop question