pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bernard Henry Voynet <bhv@quebecemail.com>
To: pgsql-odbc@postgresql.org
Subject: bool tanformed into char
Date: Thu, 25 Aug 2005 06:13:03 -0700 (PDT)
Message-ID: <20050825061304.EBB7BD3E@dm20.mta.everyone.net> (raw)

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.



Message-ID: <20050825061304.EBB7BD3E@dm20.mta.everyone.net>
Permalink:  ../20050825061304.EBB7BD3E@dm20.mta.everyone.net/
Also on:    postgresql.org/message-id/20050825061304.EBB7BD3E@dm20.mta.everyone.net

 · 

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: bhv@quebecemail.com
  Subject: Re: bool tanformed into char
  In-Reply-To: <20050825061304.EBB7BD3E@dm20.mta.everyone.net>
  References: <20050825061304.EBB7BD3E@dm20.mta.everyone.net>

* 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