Re: Add PG version number to NLS files

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Martin Pitt <mpitt(at)debian(dot)org>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Add PG version number to NLS files
Date: 2005-06-25 15:04:16
Message-ID: 200506251504.j5PF4GX02204@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > Am Samstag, 25. Juni 2005 04:24 schrieb Bruce Momjian:
> >> We absolutely want to support multiple installed versions of PostgreSQL.
>
> > But we don't support installing multiple versions on top of each other, which
> > is the only scenario where this patch would be useful.
>
> I agree with Peter. AFAICS, the binaries go into $prefix/bin and the
> NLS files go into $prefix/share/locale, so there is no more nor less
> conflict among different versions' NLS files than their executables.
> In both cases the only supported way to have multiple installations
> at once is to use different install prefixes. So why complicate matters
> like this?

OK. I guess I am confused.

Right now bindtextdomain() just calls something like
bindtextdomain("libpq"), etc. How does it know to use the proper
share/locale? And is bindtextdomain("psql") different?

I am just trying to understand how things work.

--
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Martin Pitt 2005-06-25 15:42:56 Re: Add PG version number to NLS files
Previous Message Tom Lane 2005-06-25 14:40:02 Re: get_rel_* functions in lsyscache.c

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-06-25 15:23:27 Re: plperl features
Previous Message Tom Lane 2005-06-25 14:27:31 Re: Add PG version number to NLS files