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

From Torsten Zühlsdorff
Subject Re: PHP and PostgreSQL boolean data type
Date
Msg-id hl0cdb$a3k$1@news.eternal-september.org
Whole thread Raw
In response to PHP and PostgreSQL boolean data type  (Thom Brown <thombrown@gmail.com>)
List pgsql-general
Thom Brown schrieb:

> A long-standing problem we've had with PostgreSQL queries in PHP is
> that the returned data for boolean columns is the string 'f' instead
> of the native boolean value of false.

This problem is solved since nearly 5 years with PDO. You can use an
abstraction like DDDBL (see my signature) if you want to save time while
using PDO.

Greetings from Germany,
Torsten

--
http://www.dddbl.de - ein Datenbank-Layer, der die Arbeit mit 8
verschiedenen Datenbanksystemen abstrahiert,
Queries von Applikationen trennt und automatisch die Query-Ergebnisse
auswerten kann.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: questions about a table's row estimates
Next
From: Carsten Kropf
Date:
Subject: Re: Extending SQL in C using VARIABLE length type