Bool values under Mac OS X

Поиск
Список
Период
Сортировка
Искать
От
lothar.behrens@lollisoft.de
Тема
Bool values under Mac OS X
Дата
Msg-id
426E51B7.30166.1217E8C@localhost
Список
Дерево обсуждения
Bool values under Mac OS X lothar.behrens@lollisoft.de
Re: Bool values under Mac OS X Tom Lane <tgl@sss.pgh.pa.us>
Re: Bool values under Mac OS X lothar.behrens@lollisoft.de
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



В списке pgsql-odbc по дате отправления
От: andersen@modelcreator
Дата:
Сообщение: Serial
От: Robert Treat
Дата:
FAQ