Re: Upgrading the backend's error-message infrastructure - Mailing list pgsql-interfaces

From Peter Eisentraut
Subject Re: Upgrading the backend's error-message infrastructure
Date
Msg-id Pine.LNX.4.44.0303181520350.2003-100000@peter.localdomain
Whole thread Raw
In response to Re: Upgrading the backend's error-message infrastructure  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-interfaces
Tom Lane writes:

> Hmm.  I can't see any advantage to these over assigning our own codes;
> ours would have at least *some* mnemonic value, rather than being chosen
> completely at random ...

One advantage is that interfaces that are required to use these constants
would not need an internal translation table.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Error-message infrastructure: what about location in PL functions?
Next
From: Peter Eisentraut
Date:
Subject: Re: Upgrading the backend's error-message infrastructure