Re: PostgreSQL driver handles boolean values incorrectly...

From: Date: Tue, 09 Nov 2004 01:19:42 +0000
Subject: Re: PostgreSQL driver handles boolean values incorrectly...
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-13795@lists.php.net to get a copy of this message
Hi Sean: On Mon, Nov 08, 2004 at 10:32:57AM -0800, Sean Chittenden wrote: > > Bah, provide a backwards compatibility config option. The PHP extension isn't a place for that. PDO or some database abstraction layer written in PHP is. Anyway, as mentioned, none of the DBMS's output a boolean data type in PHP. So, why even bother? Or, why stop at PostgreSQL? > NULL can be a legit value for any column depending on the DDL. NULL > can also be an invalid value for any particular column. I don't see > how this makes any difference. My point was BIT isn't a good mapping for proper boolean functionality. --Dan Hi Steph :) -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.internals (#13795) next »