Re: [GENERAL] ODBC and Native error codes

From: Robert Sundstrm <robert(dot)f3a(dot)sundstrom(at)home(dot)se>
To: pgsql-odbc(at)postgresql(dot)org
Cc: "Andy Hallam" <ahm(at)exel(dot)co(dot)uk>
Subject: Re: [GENERAL] ODBC and Native error codes
Date: 2001-11-13 10:09:37
Message-ID: 4.2.0.58.20011113110647.01372e70@snobben.mimer.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-odbc

At 16:38 2001-11-06 , you wrote:
>[...]
>OK - PostgreSQL (Like all the other Database vendors above) does return an
>informative string, but it should also return the correct Native ANSI SQL
>number.
>[...]

Hello.
To be precise, the SQL standard does not specify anything about native
error codes. The vendor may return whetever they like. The standardized way
of managing error codes is through SQLSTATE:s, which are 5 character strings.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Carl van Tast 2001-11-13 10:15:52 Re: What's the fastest way to do this?
Previous Message waheed rahman 2001-11-13 10:01:44 Please help me Sir !

Browse pgsql-odbc by date

  From Date Subject
Next Message Alexaki Sofia 2001-11-13 16:17:37 how to use ODBC interface
Previous Message Jean-Michel POURE 2001-11-13 09:33:08 Re: Last inserted id