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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-odbc by date

  From Date Subject
Next Message Robert Treat 2005-04-26 13:42:02 Unrecognized C_parameter type in copy_statement_with_parameters
Previous Message andersen@modelcreator 2005-04-26 10:26:24 Serial