From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Devrim GUNDUZ <devrim(at)commandprompt(dot)com> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, Markus Schaber <schabi(at)logix-tt(dot)com>, "pgsqlrpms-hackers(at)pgfoundry(dot)org" <pgsqlrpms-hackers(at)pgfoundry(dot)org> |
Subject: | Re: Multiple postmaster + RPM + locale issues |
Date: | 2006-10-20 13:53:51 |
Message-ID: | 20061020135351.GF27869@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Devrim GUNDUZ wrote:
> Hi Peter,
>
> On Fri, 2006-10-20 at 15:37 +0200, Peter Eisentraut wrote:
> > > Did you look at how the debian guys handle this?
> >
> > pei(at)bell:~$ ls -1 /usr/share/locale/de/LC_MESSAGES/p*
> <snip>
>
> Quick question: Could you please point me a way to change the names
> of .mo files and make each PostgreSQL release see its own locale
> directory?
The package files are here:
http://packages.debian.org/unstable/misc/postgresql-8.1
you can find the patch Debian applies following a link below (the
diff.gz), on which you see the method for doing this.
ISTM these parts of that patch should be applied to our code:
+--- postgresql-8.1beta3-old/src/bin/pg_controldata/pg_controldata.c 2005-10-03 02:28:41.000000000 +0200
++++ postgresql-8.1beta3/src/bin/pg_controldata/pg_controldata.c 2005-10-13 18:00:42.000000000 +0200
+@@ -73,7 +73,7 @@
+ char *strftime_fmt = "%c";
+ const char *progname;
+
+- set_pglocale_pgservice(argv[0], "pg_controldata");
++ set_pglocale_pgservice(argv[0], "pg_controldata-8.1");
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-10-20 13:59:54 | Re: row-wise comparison question/issue |
Previous Message | Merlin Moncure | 2006-10-20 13:52:36 | Re: row-wise comparison question/issue |