Bug #487: Erroneus values of BOOLEANS - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Bug #487: Erroneus values of BOOLEANS
Date
Msg-id 200110181013.f9IADjM02296@postgresql.org
Whole thread Raw
List pgsql-bugs
Miguel Juan (mjuan@cibal.es) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
Erroneus values of  BOOLEANS

Long Description
I did not find a "report a bug" for the ODBC driver so I send it here:

I thing it is a problem of the ODBC driver, when you unmark the option "Bools as char" in the ODBC conficuration,
always returns "false" in any querys that have to returns a boolean type. 

The problem is when you ask the value of the field it returns FALSE.

I'm using PostgreSQL 7.2 and ODBC driver is the  7.01.00.07

You can go arround checking the "bools as char option" and then you can compare the result as a integer or a string
(0:false, 1:true) 



Sample Code


No file was uploaded with this report

pgsql-bugs by date:

Previous
From: "Steve SAUTETNER"
Date:
Subject: Re: Bug #486: tab-complete.o: filename_completion_function reference not found when make'ing either 7.1.2 or 7.1.3 under Windows 2000
Next
From: Tom Lane
Date:
Subject: Re: Bug #486: tab-complete.o: filename_completion_function reference not found when make'ing either 7.1.2 or 7.1.3 under Windows 2000