Re: Feature freeze and the great elog changeover - Mailing list pgsql-hackers

From Dennis Björklund
Subject Re: Feature freeze and the great elog changeover
Date
Msg-id Pine.LNX.4.44.0306252329220.25222-100000@zigo.dhs.org
Whole thread Raw
In response to Re: Feature freeze and the great elog changeover  (Paul Ramsey <pramsey@refractions.net>)
List pgsql-hackers
On Wed, 25 Jun 2003, Paul Ramsey wrote:

> Ignorance on my part, probably. You mentioned elog() so I grepped for it 
> and found lots of this stuff:
> 
> elog(FATAL, "data directory %s was not found", checkdir)
> elog(FATAL, "could not read permissions of directory %s: %m", 
>                checkdir);
> 
> I am probably just misunderstanding something.

It's taken care of by the gettext system.

One thing that I would like to see in the future (but probably wont for
many years still) is a log file that is saved in a format like

"data directory %s was not found", "/usr/"

where you can view the log with some (gui och command-line) tool that
translates it when you look at it. Then anyone can look at the log using
their language and you don't have to decide one one language when you 
start the server.

Maybe something for postgresql X.

-- 
/Dennis



pgsql-hackers by date:

Previous
From: nolan@celery.tssi.com
Date:
Subject: Re: Updating psql for features of new FE/BE protocol
Next
From: Tom Lane
Date:
Subject: Re: Updating psql for features of new FE/BE protocol