Re: gettext calls in pgport - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: gettext calls in pgport
Date
Msg-id 200410181443.i9IEhbu26983@candle.pha.pa.us
Whole thread Raw
In response to gettext calls in pgport  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: gettext calls in pgport  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Peter Eisentraut wrote:
> As has previously been pointed out, the strings marked up for gettext 
> translation in the pgport library don't work and need to be moved back 
> to where they once came from, unless someone wants to add gettext and 
> locale setup in pgport.  (That might be silly, because in theory locale 
> and gettext functions could one day become part of pgport.)  I claim 
> that pgport is a low-layer library that works on the operating system 
> level and should communicate with its callers via error codes.

Error codes seem like a lot more work than it is worth.  I vote for
adding gettext support to /port.  Also adding error codes duplicates all
the error strings in the call sites.

Added to open items list:
*  Add gettext support to src/port

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: additional GCC warnings
Next
From: "Zeugswetter Andreas DAZ SD"
Date:
Subject: Re: Open Items