boolean to int - Mailing list pgsql-general

From Mage
Subject boolean to int
Date
Msg-id 4055FAEB.3020009@mage.hu
Whole thread Raw
Responses Re: boolean to int
Re: boolean to int
List pgsql-general
       Hello,

I'm wondering why pgsql doesn't support boolean typecasts like select
true::int;
Many client applications including php assign 1 to true and 0 to false

I see no use of pgsql boolean type with php, I use int2 or integer.

       Mage



pgsql-general by date:

Previous
From: Edwin Pauli
Date:
Subject: Re: PostgeSQL problem (server crashed?)
Next
From: Steve Crawford
Date:
Subject: Re: returning row numbers in select