|
|
Sponsor |
Re: Error Codes in 7.4: msg#00081db.postgresql.odbc
Hi Gabor, I'm afraid the answer is, most likely, no. The ODBC driver works with version 2 of the client-server protocol. This version does not have error codes support. Shachar SZ?CS Gabor wrote: >Dear Gurus, > >As of v7.4, PostgreSQL supports error codes. I'd like to know if we may hope >for a version of psqlODBC that handles error codes. > >I tried with PostgreSQL 7.4.1, ODBCExpress 6.0 (dated 2003 Oct) and psqlodbc >7.3.1.0 (dated 2003 May 15) and got the following (I assume useless) answer. > >Also tried psqlodbc 7.3.2.4 (dated 2003 Nov 12) and the SQLGetDiagRec >function, with the same result. > > Message = "ERROR: update or delete on \"cikk\" violates foreign key >constraint \"$1\" on \"szallitolevel_tetele\"" > Native = 7 > SQLState = "HY000" > >AFAIK these error codes say something like "general error" in ODBC terms :) >This so-called state, "HY000" is not even an SQL state, unless I'm fatally >mistaken. It's some kind of ODBC state, isn't it? > >Awaiting your kind response, > >G. > > -- Shachar Shemesh Lingnu Open Systems Consulting http://www.lingnu.com/ ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Problem with unixODBC, Stergios Zissakis |
|---|---|
| Next by Date: | MS Access Linked Table, Philippe Lang |
| Previous by Thread: | Error Codes in 7.4 (was: Re: error 23000 is not treated in psqlODBC), SZ?CS Gabor |
| Next by Thread: | MS Access Linked Table, Philippe Lang |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|