Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group