Bug #487: Erroneus values of BOOLEANS

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug #487: Erroneus values of BOOLEANS
Date: 2001-10-18 10:13:45
Message-ID: 200110181013.f9IADjM02296@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Miguel Juan (mjuan(at)cibal(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Meskes 2001-10-18 10:54:41 Re: ecpg - GRANT bug
Previous Message Steve SAUTETNER 2001-10-18 09:07:23 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