X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 745EED7FBE for ; Thu, 25 Aug 2005 10:13:02 -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 72148-07 for ; Thu, 25 Aug 2005 13:13:00 +0000 (GMT) Received: from omta08.mta.everyone.net (sitemail3.everyone.net [216.200.145.37]) by svr1.postgresql.org (Postfix) with ESMTP id EAE0DD7FF8 for ; Thu, 25 Aug 2005 10:12:59 -0300 (ADT) Received: from dm20.mta.everyone.net (bigiplb-dsnat [172.16.0.19]) by omta08.mta.everyone.net (Postfix) with ESMTP id 392E74041E for ; Thu, 25 Aug 2005 06:13:04 -0700 (PDT) X-Eon-Dm: dm20 Received: from mailweb26.everyone.net (172.16.0.19 [172.16.0.19]) by dm20.mta.everyone.net (EON-AUTHRELAY2) with ESMTP id dm20.430d3d53.b2e6 for ; Thu, 25 Aug 2005 06:13:04 -0700 (PDT) X-Eon-Sig: AQJgD5pDDcPgRutqeAIAAAAB,4b3f1b6710d925de1a61ae3934b1ddd8 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Date: Thu, 25 Aug 2005 06:13:03 -0700 (PDT) From: Bernard Henry Voynet To: pgsql-odbc@postgresql.org Subject: bool tanformed into char Reply-To: bhv@quebecemail.com X-Originating-Ip: [82.121.27.225] Message-Id: <20050825061304.EBB7BD3E@dm20.mta.everyone.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.096 required=5 tests=[AWL=0.046, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200508/209 X-Sequence-Number: 5848 Hello I am working on a project that uses ADO over ODBC to access several types of data bases and now PostgreSQL. When a field has been declared as bool in PostgreSQL, it is always seen as char(1) from ADO's fields. This behavior happens whatever the "Bools as char" parameter of the ODBC driver is in the configuration panel of the driver. I am using the 08.00.0102 version of the driver When I use the PgOleDb provider, the fields are correct. _____________________________________________________________ Obtenez aussi votre adresse electronique gratuite de Quebecemail.com http://www.quebecemail.com, un service gratuit et permanent.