pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Keusch <alex@keusch.at>
To: pgsql-odbc@postgresql.org
Subject: PostgreSQL 7.4 Error Codes and psqlODBC
Date: Mon, 16 Feb 2004 15:08:25 +0100
Message-ID: <4030CED9.4090506@keusch.at> (raw)

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



view thread (2+ messages)

Message-ID: <4030CED9.4090506@keusch.at>
Permalink:  ../4030CED9.4090506@keusch.at/
Also on:    postgresql.org/message-id/4030CED9.4090506@keusch.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: alex@keusch.at
  Subject: Re: PostgreSQL 7.4 Error Codes and psqlODBC
  In-Reply-To: <4030CED9.4090506@keusch.at>
  References: <4030CED9.4090506@keusch.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox