Bug #618: Incorrect error codes

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug #618: Incorrect error codes
Date: 2002-03-15 12:27:18
Message-ID: 20020315122718.58185475A6E@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Dirk Jacobs (dirk(dot)jacobs(at)tuple(dot)be) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
Incorrect error codes

Long Description
I tried some ODBC stuff. Here I've seen that the S.... result codes are not correct. Most of the time it simply return S1000 which is a general error code and not a specific code. e.g. when you want to create a table that already exists it should return the correct error. ( same for an index that already exists, etc... )

Sample Code

No file was uploaded with this report

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2002-03-15 12:36:24 Bug #619: Not possible to specify foreign key name
Previous Message dirk.jacobs 2002-03-15 12:26:55 ALTER TABLE Problem