Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 114C09F9290 for ; Mon, 5 Nov 2007 19:36:07 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 98466-02 for ; Mon, 5 Nov 2007 19:36:02 -0400 (AST) Received: from web31812.mail.mud.yahoo.com (web31812.mail.mud.yahoo.com [68.142.207.75]) by postgresql.org (Postfix) with SMTP id 7A2BE9F9274 for ; Mon, 5 Nov 2007 19:36:02 -0400 (AST) Received: (qmail 26366 invoked by uid 60001); 5 Nov 2007 23:36:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=kVWXtNqKlITbZPB938xPnL85xRjaRq4J5EejQNFV8DfpGHaYo+kn8YXbG9Y/xRgW/750aMfD5HjUlH1h4luSf/0qeZ7jRhF1KAnB9S+yzVRk8Y05qapNixCWHYL+SUEueI1k+2i9ju9Ev1f/etHKpFxOuL9UhOAQe0wFw23zjnQ=; X-YMail-OSG: _88nVU0VM1kN3Y2HT5eglvtuXKNL2SuPIZ3L9Zi6U2LnefcD92.wwCRkXJyqK3qOWg-- Received: from [12.180.237.138] by web31812.mail.mud.yahoo.com via HTTP; Mon, 05 Nov 2007 15:35:55 PST X-Mailer: YahooMailWebService/0.7.154 Date: Mon, 5 Nov 2007 15:35:55 -0800 (PST) From: Richard Broersma Jr Subject: Either I broke PostgreSQL or I found an ODBC bug To: Postgresql ODBC List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <707788.26077.qm@web31812.mail.mud.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/3 X-Sequence-Number: 9218 I am using the ODBC provider [8.02.05.0000] to connect my postgresql database [8.2.5] with my MS ACCESS XP front-end. This is what I am seeing: When I issue a select statement from with-in ms-access, the Boolean field that contain null values are returning as false( as 0 in the datasheet view). My expectation is that null Boolean values display as null rather than false. When I issue the same query with-in psql the null boolean values correctly display as NULL. A while back I applied the following directions to MS-Access' [yes/no] type to create a better mapping with PostgreSQL's Boolean type. I don't know if these direction are redundant to what is already provided in the ODBC provider. Perhaps the operator that I've created is causing the problem I am seeing. http://archives.postgresql.org/pgsql-odbc/2006-09/msg00103.php FROM MS-Access: SELECT did, chktagdesc WHERE did = 13601 AND chktagdesc IS NULL; did |chktagdesc --------+----------- 13601 | 0 FROM psql proj02u20411=> select did, chktagdesc from docs.lfworkscope where did = 13601 and chktagdesc is null; did | chktagdesc -------+------------ 13601 | (1 row) Can anyone where find where this problem is coming from? Regards, Richard Broersma Jr.