Received: from mail.neroc.nl (mail.neroc.nl [212.52.0.12]) by hub.org (8.9.3/8.9.3) with ESMTP id GAA05874; Thu, 30 Sep 1999 06:37:53 -0400 (EDT) (envelope-from ruttenberg@mail.neroc.nl) Received: from [212.52.7.230] (hermes.ehv.neroc.nl [212.52.7.230]) by mail.neroc.nl (8.9.3/8.9.3) with SMTP id MAA06992; Thu, 30 Sep 1999 12:33:19 +0200 Message-Id: <199909301033.MAA06992@mail.neroc.nl> Subject: ODBC-client->Linux-server: datatype boolean not recognized? Date: Thu, 30 Sep 1999 12:39:13 +0200 x-sender: ruttenberg@mail.neroc.nl x-mailer: Claris Emailer 2.0v3, January 22, 1998 From: Jelle Ruttenberg To: "postgresql-interfaces" cc: "postgresql-general" , "postgresql-bugs" Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Hello all, I'm trying to connect from a ODBC-client to PostgreSQL on a Linux-server. All is going well, except that the ODBC-client seems not to recognize the PostgreSQL boolean-datatype. Is this really caused by PostgreSQL? If yes: is there a workaround, like altering the datatypename in the proper places (pg_type?)? If no: then it is another problem and can somebody give a hint? Thanks, Jelle. I tested and encountered it in the following testsituations: Situation 1: Client: Mac via OpenLink ODBC-Client Server: Linux RH 6.0 via OpenLink Requestbroker Result: it looks like PostgreSQL-boolean is converted to SQL_C_CHAR Situation 2: Client: NT with psqlODBC Server: same Linux Result: in MS-Query: - viewing the table-definitions, it comes with the message that it doesn't recognize datatype 'bool' - selecting values it looks like PostgreSQL-boolean is converted to a numeric PostgreSQL: 6.5.1 -------------------------------------------------------------- NEROC Publishing Solutions Jelle Ruttenberg De Run 1131, 5503 LB Veldhoven Phone : +31-(0)40-2586641 P.O.Box 133, 5500 AC Veldhoven Fax : +31-(0)40-2541893 The Netherlands E-mail : ruttenberg@neroc.nl --------------------------------------------------------------