Re: PHP and PostgreSQL boolean data type

Tommy Gildseth <[email protected]> Wed, 10 Feb 2010 13:13:22 +0100
Newsgroups gmane.comp.db.postgresql.general,gmane.comp.db.postgresql.php
Message-ID <[email protected]>
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

-- 
Sent via pgsql-general mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general