Skip site navigation (1) Skip section navigation (2)

Bool values under Mac OS X

From: lothar(dot)behrens(at)lollisoft(dot)de
To: pgsql-odbc(at)postgresql(dot)org
Subject: Bool values under Mac OS X
Date: 2005-04-26 12:35:35
Message-ID: 426E51B7.30166.1217E8C@localhost (view raw or whole thread)
Lists: pgsql-odbc

I have detected problems with bool values under Mac OS X. 
Even configuring TrueIsMinus1=1 does not help.

My conversion is these:

bool b = *(bool*) buffer;

Where the buffer is an allocated space on heap to be bound as culumn.
If I use BoolsAsChar=1 I get values from 0 to 1.

The values are the same as under Windows.

Any help ?



Lothar Behrens
Rosmarinstr 3		My public project:
40235 Düsseldorf


pgsql-odbc by date

Next:From: Robert TreatDate: 2005-04-26 13:42:02
Subject: Unrecognized C_parameter type in copy_statement_with_parameters
Previous:From: andersen@modelcreatorDate: 2005-04-26 10:26:24
Subject: Serial

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group