Error Code

From: "Yudha Setiawan" <yudha(at)BonBon(dot)net>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Error Code
Date: 2003-01-29 04:50:40
Message-ID: 008401c2c752$188ec290$ea00a8c0@yudha
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-admin by date

  From Date Subject
Next Message Shridhar Daithankar<shridhar_daithankar@persistent.co.in> 2003-01-29 06:22:06 Re: [ADMIN] Cannot connect to the database (PG 7.3)
Previous Message Tom Lane 2003-01-29 04:40:58 Re: [ADMIN] Cannot connect to the database (PG 7.3)