From: Tommy Gildseth <tommy.gildseth@usit.uio.no>
To: Thom Brown <thombrown@gmail.com>
Cc: pgsql-php@postgresql.org, PGSQL Mailing List <pgsql-general@postgresql.org>
Subject: Re: PHP and PostgreSQL boolean data type
Date: Wed, 10 Feb 2010 13:13:22 +0100
Message-ID: <4B72A2E2.4050906@usit.uio.no> (raw)
In-Reply-To: <bddc86151002100404o76e1acc9r469d82a49284b7b5@mail.gmail.com>
References: <bddc86151002100404o76e1acc9r469d82a49284b7b5@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: tommy.gildseth@usit.uio.no, thombrown@gmail.com, pgsql-general@postgresql.org
Subject: Re: PHP and PostgreSQL boolean data type
In-Reply-To: <4B72A2E2.4050906@usit.uio.no>
References: <bddc86151002100404o76e1acc9r469d82a49284b7b5@mail.gmail.com> <4B72A2E2.4050906@usit.uio.no>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox