X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2763D537C8 for ; Tue, 26 Apr 2005 09:35:14 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 77855-07 for ; Tue, 26 Apr 2005 12:35:02 +0000 (GMT) Received: from Mail2.KONTENT.De (mail2.kontent.de [81.88.34.59]) by svr1.postgresql.org (Postfix) with ESMTP id E28C15369D for ; Tue, 26 Apr 2005 09:35:00 -0300 (ADT) Received: from jedi.behrens.de (p508CC0F6.dip0.t-ipconnect.de [80.140.192.246]) by Mail2.KONTENT.De (Postfix) with ESMTP id D4951388036 for ; Tue, 26 Apr 2005 14:35:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by jedi.behrens.de (Postfix) with ESMTP id 3700F1D843 for ; Tue, 26 Apr 2005 14:34:12 +0200 (CEST) Received: from jedi.behrens.de ([127.0.0.1]) by localhost (jedi [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30609-05 for ; Tue, 26 Apr 2005 14:34:09 +0200 (CEST) Received: from anakin (anakin.behrens.de [192.168.150.240]) by jedi.behrens.de (Postfix) with ESMTP id 1B1231D831 for ; Tue, 26 Apr 2005 14:34:09 +0200 (CEST) From: lothar.behrens@lollisoft.de To: pgsql-odbc@postgresql.org Date: Tue, 26 Apr 2005 14:35:35 +0200 MIME-Version: 1.0 Subject: Bool values under Mac OS X Message-ID: <426E51B7.30166.1217E8C@localhost> X-mailer: Pegasus Mail for Windows (4.21c, DE v4.21c R1a) Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Content-description: Mail message body X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.251 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200504/79 X-Sequence-Number: 5238 Hi, I have detected problems with bool values under Mac OS X. Even configuring TrueIsMinus1=3D1 does not help. My conversion is these: bool b =3D *(bool*) buffer; Where the buffer is an allocated space on heap to be bound as culumn. If I use BoolsAsChar=3D1 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=FCsseldorf http://sourceforge.net/projects/lbdmf