Skip site navigation (1) Skip section navigation (2)

Re: Fix for NLS in pgport

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix for NLS in pgport
Date: 2004-11-28 08:26:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Bruce Momjian wrote:
> I saw Peter's commit to allow NLS lookups from libpgport functions.
> Here is the change to pg_ctl/
>  < GETTEXT_FILES := pg_ctl.c
>  > GETTEXT_FILES := pg_ctl.c ../../port/exec.c
> Peter, do you have to know the C file used by pg_ctl to make these
> adjustments?


> This seems pretty hard to do and maintain.

True, but it's only a workaround that gets the job done without moving 
around too much code at this point.  Clearly, this will have to be 
revisited later.

> Do your  
> tools do checks to make sure all the files are properly
> modified?  Is there a cleaner way to do this like putting all the
> strings in single C file and including that somehow?

I don't think that will make it substantially better.  In fact, putting 
everything in one file would create more useless work for translators.

Peter Eisentraut

In response to

pgsql-hackers by date

Next:From: Peter EisentrautDate: 2004-11-28 08:29:49
Subject: Re: Non-C locale and LIKE
Previous:From: Tatsuo IshiiDate: 2004-11-28 08:25:24
Subject: Re: Non-C locale and LIKE

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group