Bool values under Mac OS X

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




В списке pgsql-odbc по дате отправления:

Предыдущее
От: "andersen@modelcreator"
Дата:
Сообщение: Serial
Следующее
От: Robert Treat
Дата:
Сообщение: Unrecognized C_parameter type in copy_statement_with_parameters