Re: [HACKERS] Multiple postmaster + RPM + locale issues

2006-10-20 Thread Markus Schaber
Hi, Devrim, Devrim GUNDUZ wrote: I have almost finished working on multiple rpm + postmaster issue today. The spec file and patches in pgsqlrpms cvs work almost as expected and does some preliminary work about multiple postmaster installation issue (we can build the rpms and they are

Re: [HACKERS] Multiple postmaster + RPM + locale issues

2006-10-20 Thread Peter Eisentraut
Am Freitag, 20. Oktober 2006 15:19 schrieb Markus Schaber: Devrim GUNDUZ wrote: I have almost finished working on multiple rpm + postmaster issue today. The spec file and patches in pgsqlrpms cvs work almost as expected and does some preliminary work about multiple postmaster installation

Re: [HACKERS] Multiple postmaster + RPM + locale issues

2006-10-20 Thread Devrim GUNDUZ
Hi Markus, On Fri, 2006-10-20 at 15:19 +0200, Markus Schaber wrote: Did you look at how the debian guys handle this? No, but I believe what Peter wrote two days before was a solution of Debian guys. Regards, -- The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564 PostgreSQL

Re: [HACKERS] Multiple postmaster + RPM + locale issues

2006-10-20 Thread Devrim GUNDUZ
Hi Peter, On Fri, 2006-10-20 at 15:37 +0200, Peter Eisentraut wrote: Did you look at how the debian guys handle this? [EMAIL PROTECTED]:~$ 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

Re: [HACKERS] Multiple postmaster + RPM + locale issues

2006-10-20 Thread Alvaro Herrera
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? [EMAIL PROTECTED]:~$ ls -1 /usr/share/locale/de/LC_MESSAGES/p* snip Quick question: Could you please point me a way to change the names of

Re: [HACKERS] Multiple postmaster + RPM + locale issues

2006-10-20 Thread Devrim GUNDUZ
Hi Alvaro, On Fri, 2006-10-20 at 10:53 -0300, Alvaro Herrera wrote: 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. Thanks. Let

Re: [HACKERS] Multiple postmaster + RPM + locale issues

2006-10-20 Thread Peter Eisentraut
Am Freitag, 20. Oktober 2006 15:53 schrieb Alvaro Herrera: 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.0 +0200 postgresql-8.1beta3/src/bin/pg_controldata/pg_controldata.c

Re: [HACKERS] Multiple postmaster + RPM + locale issues

2006-10-20 Thread Tom Lane
Alvaro Herrera [EMAIL PROTECTED] writes: 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.0 +0200 postgresql-8.1beta3/src/bin/pg_controldata/pg_controldata.c 2005-10-13

Re: [HACKERS] Multiple postmaster + RPM + locale issues

2006-10-20 Thread Alvaro Herrera
Tom Lane wrote: Alvaro Herrera [EMAIL PROTECTED] writes: 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.0 +0200

Re: [HACKERS] Multiple postmaster + RPM + locale issues

2006-10-20 Thread Devrim GUNDUZ
Hi, On Fri, 2006-10-20 at 10:25 -0400, Tom Lane wrote: Egad. What an ugly, unmaintainable crock. I want to second this. I would not make this in RPM spec file. What about changing localedir='${prefix}/share/locale' line (in configure) to

Re: [HACKERS] Multiple postmaster + RPM + locale issues

2006-10-20 Thread Peter Eisentraut
Tom Lane wrote: Egad. What an ugly, unmaintainable crock. There is one major PostgreSQL release per year, so even the time thinking about an alternative solution is longer than just taking the existing solution. -- Peter Eisentraut http://developer.postgresql.org/~petere/

Re: [HACKERS] Multiple postmaster + RPM + locale issues

2006-10-20 Thread Peter Eisentraut
Devrim GUNDUZ wrote: localedir='${prefix}/share/locale/pgsql/$PGMAJORVERSION' It's probably better not to create nonstandard directories below /usr/share/locale, because that's not your directory. If you want to go with nonstandard paths, create one in /usr/share/postgresql/. -- Peter

[HACKERS] Multiple postmaster + RPM + locale issues

2006-10-18 Thread Devrim GUNDUZ
Hi, I have almost finished working on multiple rpm + postmaster issue today. The spec file and patches in pgsqlrpms cvs work almost as expected and does some preliminary work about multiple postmaster installation issue (we can build the rpms and they are installed correctly). I have a question

Re: [HACKERS] Multiple postmaster + RPM + locale issues

2006-10-18 Thread Peter Eisentraut
Devrim GUNDUZ wrote: However, I think we need to install locale files of each major releases to different directory. No, you should rename the locale files, like psql-8.1.po. -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---(end of