pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Yudha Setiawan <yudha@BonBon.net>
To: pgsql-admin@postgresql.org
Subject: Error Code
Date: Wed, 29 Jan 2003 11:50:40 +0700
Message-ID: <008401c2c752$188ec290$ea00a8c0@yudha> (raw)

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

view thread (2+ messages)  latest in thread

Message-ID: <008401c2c752$188ec290$ea00a8c0@yudha>
Permalink:  ../008401c2c752$188ec290$ea00a8c0@yudha/
Also on:    postgresql.org/message-id/008401c2c752$188ec290$ea00a8c0@yudha

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: yudha@BonBon.net
  Subject: Re: Error Code
  In-Reply-To: <008401c2c752$188ec290$ea00a8c0@yudha>
  References: <008401c2c752$188ec290$ea00a8c0@yudha>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox