Bug #618: Incorrect error codes - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Bug #618: Incorrect error codes
Date
Msg-id 20020315122718.58185475A6E@postgresql.org
Whole thread Raw
List pgsql-bugs
Dirk Jacobs (dirk.jacobs@tuple.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
S1000which is a general error code and not a specific code. e.g. when you want to create a table that already exists it
shouldreturn the correct error. ( same for an index that already exists, etc... )
 


Sample Code


No file was uploaded with this report

pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #617: In SQL the tableowner is not allowed
Next
From: Stefano Reksten
Date:
Subject: Re: Bug #616: Alter table add foreign key