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 DC3418B9E29 for ; Sun, 6 Feb 2005 03:33:04 +0000 (GMT) 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 76887-01 for ; Sun, 6 Feb 2005 03:32:47 +0000 (GMT) Received: from smtp3.libero.it (smtp3.libero.it [193.70.192.127]) by svr1.postgresql.org (Postfix) with ESMTP id CEC798B9B8F for ; Sun, 6 Feb 2005 03:32:50 +0000 (GMT) Received: from localhost (172.16.1.84) by smtp3.libero.it (7.0.027-DD01) id 41F925A20021253A for pgsql-odbc@postgresql.org; Sun, 6 Feb 2005 04:32:50 +0100 Received: from Astro (62.98.123.22) by smtp1.libero.it (7.0.027-DD01) id 41BF654A03B54196 for pgsql-odbc@postgresql.org; Sun, 6 Feb 2005 04:32:45 +0100 From: "Marco Tamanti" To: Subject: varchar problem after installing postgresql-8.0.1 on windows Date: Sun, 6 Feb 2005 04:35:41 +0100 Message-ID: <000901c50bfc$ef7c1dc0$0200a8c0@Astro> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by amavisd-new at libero.it serv5 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.75 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST X-Spam-Level: * X-Archive-Number: 200502/22 X-Sequence-Number: 4912 Before installing version 8.0.1 of postgresql on windows 2000 SP4, I was in this situation: postgresql 7.3.4 on a linux machine pgsqlodbc-07_03_0100 Borland C++Builder 4 updated Pack 1. After installing postgresql-8.0.1 on the same machine where I run C++Builder, I've had a problem with varchar (or character varying): When I run applications built with c++builder I get the error ": field '' not found.", where and are appropriate values. With Database Explorer, I can see that all the information on the tables are correct and that the fields are there. If I enter an SQL statement "select * from tablename" the result does not contain varchar fields. If I do "select fieldname from tablename" where fieldname is a varchar field, I get the column with all empty values. Using pgadmin none of these problems appear. All queries are ok. The same problem appears even if I connect to the old postgres 7.3.4 on linux. This, after the installation of the 8.0.1 version. I've tried to reinstall Windows 2000, C++Builder (now version 5), pgsqlodbc-07_03_0200 and the old database 7.3.4 on linux was perfectly responding. After installing postgres 8.0.1 on windows the problem came out again. Even when I remove postgres 8.0.1 the problem persist. I suppose there's a problem on odbc driver, but I tried to install it again with no result. I tried to reinstall C++Builder and no result again. Anyone with the same problem? Any solution? I'm using SQL_ASCII coding. Most of testing has been done on a varchar(50) field, not null, storage extended. Thanks, Marco Tamanti