pg.ddx.io pgsql-odbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
PostgreSQL 7.4 Error Codes and psqlODBC 2+ messages / 1 participants [nested] [flat]
* PostgreSQL 7.4 Error Codes and psqlODBC @ 2004-02-16 10:32 Alexander Keusch <alex@keusch.at> 0 siblings, 0 replies; 2+ messages in thread From: Alexander Keusch @ 2004-02-16 10:32 UTC (permalink / raw) To: pgsql-odbc Hello! I'm developing a database application on windows 2000 with wxWindows 2.4.2 (www.wxwinodws.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 ^ permalink raw reply [nested|flat] 2+ messages in thread
* PostgreSQL 7.4 Error Codes and psqlODBC @ 2004-02-16 14:08 Alexander Keusch <alex@keusch.at> 0 siblings, 0 replies; 2+ messages in thread From: Alexander Keusch @ 2004-02-16 14:08 UTC (permalink / raw) To: pgsql-odbc 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 ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-02-16 14:08 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2004-02-16 10:32 PostgreSQL 7.4 Error Codes and psqlODBC Alexander Keusch <alex@keusch.at> 2004-02-16 14:08 PostgreSQL 7.4 Error Codes and psqlODBC Alexander Keusch <alex@keusch.at>
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