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

From A. Kretschmer
Subject Re: PHP and PostgreSQL boolean data type
Date
Msg-id 20100210121142.GE17605@a-kretschmer.de
Whole thread Raw
In response to PHP and PostgreSQL boolean data type  (Thom Brown <thombrown@gmail.com>)
Responses Re: PHP and PostgreSQL boolean data type  (Thom Brown <thombrown@gmail.com>)
List pgsql-general
In response to Thom Brown :
> Hi,
>
> 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.

http://andreas.scherbaum.la/blog/archives/302-BOOLEAN-datatype-with-PHP-compatible-output.html

Regards, Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431  2EB0 389D 1DC2 3172 0C99

pgsql-general by date:

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