pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: lothar.behrens@lollisoft.de
To: pgsql-odbc@postgresql.org
Subject: Bool values under Mac OS X
Date: Tue, 26 Apr 2005 14:35:35 +0200
Message-ID: <426E51B7.30166.1217E8C@localhost> (raw)

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






view thread (3+ messages)  latest in thread

Message-ID: <426E51B7.30166.1217E8C@localhost>
Permalink:  ../426E51B7.30166.1217E8C@localhost/
Also on:    postgresql.org/message-id/426E51B7.30166.1217E8C@localhost

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: lothar.behrens@lollisoft.de
  Subject: Re: Bool values under Mac OS X
  In-Reply-To: <426E51B7.30166.1217E8C@localhost>
  References: <426E51B7.30166.1217E8C@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox