X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id AE92FD1B511 for ; Mon, 16 Feb 2004 14:05:26 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 39347-01 for ; Mon, 16 Feb 2004 10:05:24 -0400 (AST) Received: from hal.kabsi.at (bottom.kabsi.at [195.202.128.74]) by svr1.postgresql.org (Postfix) with ESMTP id F0C9DD1DD21 for ; Mon, 16 Feb 2004 10:05:19 -0400 (AST) Received: from server (h062040224018.dyn.cm.kabsi.at [62.40.224.18]) by hal.kabsi.at (8.11.1/) with ESMTP id i1GE5MC0000629868 for ; Mon, 16 Feb 2004 15:05:23 +0100 (CET) Received: from keusch.at (alex [192.168.0.4]) by server (Postfix) with ESMTP id 8CDBE4BB4A for ; Mon, 16 Feb 2004 15:05:05 +0100 (CET) Message-ID: <4030CED9.4090506@keusch.at> Date: Mon, 16 Feb 2004 15:08:25 +0100 From: Alexander Keusch User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.6) Gecko/20040124 X-Accept-Language: de-at, de, en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: PostgreSQL 7.4 Error Codes and psqlODBC Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/38 X-Sequence-Number: 3791 Hello! I'm developing a database application on windows 2000 with wxWindows 2.4.2 (www.wxwindows.org) using it's database classes. First I've used PostgreSQL 7.3.4 on a Debian Sagre server, but i hab problems handling errors form the database. The classes from wxWindows always returned a nativ error code of 7 and the sqlState of S1000 (general error) (whether it was inserted a duplicated primary key, or a not existing column was selected ... ). This seems to be a problem of PostgreSQL <7.4 beacause it dosn't know error Codes. So I've installed 7.4.1 with Cygwin. But the application still returns a error code of 7 and a sqlState of S1000. I've already taken a look into the source of wxWindows and it dosn't seems to be a problem ob wxWindows. My question is: Is my assumption right that it is a problem of psqlodbc which is not able to handle these error codes (in version 07.03.0200)? Alexander Keusch