Re: [GENERAL] RE: [HACKERS] error messages not only English

From: Peter T Mount <psqlhack(at)retep(dot)org(dot)uk>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: vadim(at)krs(dot)ru, peter(at)maidstone(dot)gov(dot)uk, sferac(at)bo(dot)nettuno(dot)it, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] RE: [HACKERS] error messages not only English
Date: 1998-05-26 20:12:09
Message-ID: Pine.LNX.3.95.980526204528.2407B-100000@retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Tue, 26 May 1998, Bruce Momjian wrote:

> >
> > Why into C variables? You could have a function that returns the correct
> > string for the error code, and have it default if it can't access the
> > table.
>
> So we run an internal SQL query to get the error message from a table?
> I guess we could do it, but the system state while in elog() is only
> partial. You would have to do the longjump, reset, then ru the query.

Ah, I see what you mean.

The idea of using text files, could be a way round this.

--
Peter T Mount peter(at)retep(dot)org(dot)uk or petermount(at)earthling(dot)net
Main Homepage: http://www.retep.org.uk
************ Someday I may rebuild this signature completely ;-) ************
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter(at)maidstone(dot)gov(dot)uk

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Mount 1998-05-26 20:20:43 Re: [GENERAL] About oids
Previous Message Bruce Momjian 1998-05-26 18:18:14 Re: [GENERAL] RE: [HACKERS] error messages not only English

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-05-26 20:24:25 Re: [HACKERS] Current sources?
Previous Message Tom Lane 1998-05-26 19:59:57 Re: [GENERAL] RE: [HACKERS] error messages not only English