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 flat)
Thread:
Lists: pgsql-odbc
Hi,

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 ?

Thanks

Lothar

-- 
Lothar Behrens		www.lollisoft.de
Rosmarinstr 3		My public project:
40235 Düsseldorf  	http://sourceforge.net/projects/lbdmf




Responses

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-2014 The PostgreSQL Global Development Group