Error Code - Mailing list pgsql-admin

From Yudha Setiawan
Subject Error Code
Date
Msg-id 008401c2c752$188ec290$ea00a8c0@yudha
Whole thread Raw
List pgsql-admin
Dear Milist;
 
My Application is Developed by Delphi
with Ms-SQL Server as a previous Database
and we are using ODBC/BDE (Borland Database Engine)
for Database connection. And We've been porting
the database to PostgreSQL. So far so Good.
 
And now our problem is How do we get
The Error Code from PostgreSQL.
Because
Our users need to know what
exactly errors is going on. We Used to
be using the BDE Error Code to Let
the Users know the specific Error.
We Have an BDE_ERR_CODE tables
 
-------------------------------------------------
fc_error  |  fc_description
-------------------------------------------------
9729      |  You cannot insert the duplicate code
0001      |  Bla....bla...
0002      |  Blu....blu...
0003      |  Bli....bli...
-------------------------------------------------
 
But PostgreSQL have the same BDE Error Code for
every Error. The number is 13059. And we cannot
make a different for every single errors.
 
Somebody please give me some explanation.
 
 
 
 
 
Yudha Setiawan.
VoIP
    No.        : 01119311223344

pgsql-admin by date:

Previous
From: jerry.nospam@theashergroup.com (Jerry Asher)
Date:
Subject: pg_hba, access control for a webserver, superuser, and joe user
Next
From: Bruno Wolff III
Date:
Subject: Re: pg_hba, access control for a webserver, superuser, and joe user