Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13795 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53135 invoked by uid 1010); 9 Nov 2004 01:19:43 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 53083 invoked from network); 9 Nov 2004 01:19:43 -0000 Received: from unknown (HELO mail1.panix.com) (166.84.1.72) by pb1.pair.com with SMTP; 9 Nov 2004 01:19:43 -0000 Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mail1.panix.com (Postfix) with ESMTP id ADB3C5958D for ; Mon, 8 Nov 2004 20:19:42 -0500 (EST) Received: (from analysis@localhost) by panix5.panix.com (8.11.6p3/8.8.8/PanixN1.1) id iA91Jgi07202 for internals@lists.php.net; Mon, 8 Nov 2004 20:19:42 -0500 (EST) Date: Mon, 8 Nov 2004 20:19:42 -0500 To: PHP Internals List Message-ID: <20041109011942.GA24009@panix.com> References: <30EB6453-305B-11D9-80C2-000A95C705DC@chittenden.org> <20041107220011.GA7261@panix.com> <9C51B9C2-31B4-11D9-8EBB-000A95C705DC@chittenden.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9C51B9C2-31B4-11D9-8EBB-000A95C705DC@chittenden.org> User-Agent: Mutt/1.4.2.1i Subject: Re: [PHP-DEV] PostgreSQL driver handles boolean values incorrectly... From: danielc@analysisandsolutions.com (Daniel Convissor) 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