Re: Multiple postmaster + RPM + locale issues
От | Alvaro Herrera |
---|---|
Тема | Re: Multiple postmaster + RPM + locale issues |
Дата | |
Msg-id | 20061020135351.GF27869@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: Multiple postmaster + RPM + locale issues (Devrim GUNDUZ <devrim@commandprompt.com>) |
Ответы |
Re: Multiple postmaster + RPM + locale issues
Re: Multiple postmaster + RPM + locale issues Re: Multiple postmaster + RPM + locale issues |
Список | 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@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
В списке pgsql-hackers по дате отправления: