Re: PHP and PostgreSQL boolean data type

Поиск
Список
Период
Сортировка
От Torsten Zühlsdorff
Тема Re: PHP and PostgreSQL boolean data type
Дата
Msg-id hl0cdb$a3k$1@news.eternal-september.org
обсуждение исходный текст
Ответ на PHP and PostgreSQL boolean data type  (Thom Brown <thombrown@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: questions about a table's row estimates
Следующее
От: Carsten Kropf
Дата:
Сообщение: Re: Extending SQL in C using VARIABLE length type