Re: Internationalized error messages - Mailing list pgsql-hackers

From Denis Perchine
Subject Re: Internationalized error messages
Date
Msg-id 01030911344204.00457@dyp.perchine.com
Whole thread Raw
In response to Re: Internationalized error messages  (Ian Lance Taylor <ian@airs.com>)
List pgsql-hackers
> I like this approach.  One of the nice things about Oracle is that
> they have an error manual.  All Oracle errors have an associated
> number.  You can look up that number in the error manual to find a
> paragraph giving details and workarounds.  Admittedly, sometimes the
> further details are not helpful, but sometimes they are.  The basic
> idea of being able to look up an error lets programmers balance the
> need for a terse error message with the need for a fuller explanation.

One of the examples when you need exact error message code is when you want 
to separate unique index violations from other errors. This often needed when 
you want just do insert, and leave all constraint checking to database...

-- 
Sincerely Yours,
Denis Perchine

----------------------------------
E-Mail: dyp@perchine.com
HomePage: http://www.perchine.com/dyp/
FidoNet: 2:5000/120.5
----------------------------------


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: 7.0.3 Bitset dumping
Next
From: Hiroshi Inoue
Date:
Subject: Re: How to handle waitingForLock in LockWaitCancel()