X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id AB3309DC9ED for ; Tue, 20 Dec 2005 06:18:41 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 47580-06 for ; Tue, 20 Dec 2005 06:18:39 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 3527B9DC82A for ; Tue, 20 Dec 2005 06:18:36 -0400 (AST) Received: from new-mail.nec.com.cn (new-mail.nec.com.cn [211.100.22.21]) by svr4.postgresql.org (Postfix) with ESMTP id A763B5AF0AA for ; Tue, 20 Dec 2005 10:18:37 +0000 (GMT) Received: from internal-mail.nec.com.cn (unknown [172.28.88.254]) by new-mail.nec.com.cn (Postfix) with ESMTP id 9E00643866 for ; Tue, 20 Dec 2005 18:14:52 +0800 (CST) Received: from mailsv.necas.nec.com.cn (localhost.localdomain [127.0.0.1]) by internal-mail.nec.com.cn (Postfix) with ESMTP id 004E3178003 for ; Tue, 20 Dec 2005 18:33:54 +0800 (CST) Received: from [172.28.9.208] (ip9_208.necas.nec.com.cn [172.28.9.208]) by mailsv.necas.nec.com.cn (8.11.6/8.11.6) with ESMTP id jBKAIIp31902 for ; Tue, 20 Dec 2005 18:18:18 +0800 Message-ID: <43A7DA53.4010006@necas.nec.com.cn> Date: Tue, 20 Dec 2005 18:17:55 +0800 From: zhaoxin User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: ODBC ErrorCode issue Content-Type: text/plain; charset=Shift_JIS Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200512/273 X-Sequence-Number: 6752 Hi. I have a issue with PostgreSQL ODBC Driver (psqlodbc-08.01.0102) If I use this driver to connect database , it always return the same error code like this : sqlstate = HY000 , NativeError = 7 whatever error occurred . so I can not differ the error type with the sqlstate and NativeError that occurred . I try to change the driver to psqlodbc-8_01_0104 , the issue do not happen. but what is wrong with psqlodbc-08.01.0102 ? Regards, zhao xin