Fix for NLS in pgport

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Fix for NLS in pgport
Date: 2004-11-28 01:21:42
Message-ID: 200411280121.iAS1LgG27671@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I saw Peter's commit to allow NLS lookups from libpgport functions.
Here is the change to pg_ctl/nls.mk:

< 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. Do your tools
do checks to make sure all the nls.mk 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?

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-11-28 03:32:53 Re: Problems using pgxs on Win32
Previous Message Tom Lane 2004-11-28 00:40:43 Re: VACUUM FULL FREEZE is unsafe