Re: PHP and PostgreSQL boolean data type - Mailing list pgsql-general

From Tommy Gildseth
Subject Re: PHP and PostgreSQL boolean data type
Date
Msg-id 4B72A2E2.4050906@usit.uio.no
Whole thread Raw
In response to PHP and PostgreSQL boolean data type  (Thom Brown <thombrown@gmail.com>)
List pgsql-general
Thom Brown wrote:
>  Is this a limitation of libpq or a flawed implementation in the php
> library?  And if this is just the case for backwards-compatibility, is
> there a way to switch it to a more sensible PHP data type?

Using PDO(http://no.php.net/pdo) will at least give you native values
for true/false. Arrays, I don't know, since I don't use them.

--
Tommy Gildseth

pgsql-general by date:

Previous
From: Carsten Kropf
Date:
Subject: Re: Extending SQL in C using VARIABLE length type
Next
From: Thom Brown
Date:
Subject: Re: PHP and PostgreSQL boolean data type