Re: boolean to int

From: Mage <mage(at)mage(dot)hu>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: boolean to int
Date: 2004-03-16 00:23:16
Message-ID: 405648F4.4070507@mage.hu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mike Nolan 2004-03-16 02:23:40 Re: Trigger loop question
Previous Message Alex Satrapa 2004-03-16 00:15:35 Re: boolean to int