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 7CEEF5333C for ; Mon, 28 Mar 2005 15:55:12 +0100 (BST) 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 70016-05 for ; Mon, 28 Mar 2005 14:55:10 +0000 (GMT) Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id D2FB653337 for ; Mon, 28 Mar 2005 15:55:08 +0100 (BST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 9A62D30954; Mon, 28 Mar 2005 16:55:11 +0200 (MET DST) From: lothar.behrens@lollisoft.de (Lothar Behrens) X-Newsgroups: pgsql.interfaces.odbc Subject: SQL_CHAR, SQL_INTEGER or SQL_BIT datatype problem Date: 28 Mar 2005 06:53:51 -0800 Organization: http://groups.google.com Lines: 14 Message-ID: <5f0eaa28.0503280653.31a035d5@posting.google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200503/99 X-Sequence-Number: 5117 Hi, I have tried to install postgreSQL 8.0 on Windows 2000 and ran into problems, when using my code to bind columns to memory. The code works fine, when used with postgreSQL 7.x on a linux box and client on windows. The code uses SQLDescribeCol(...) to get the datatype for the query. And I use simple switch statement for my supported datatypes. Are there any differences in these database versions ? Thanks Lothar