Re: BUG #4344: initdb -L timezone directory

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Domingo Alvarez Duarte" <mingodad(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4344: initdb -L timezone directory
Date: 2008-08-07 16:04:06
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

"Domingo Alvarez Duarte" <mingodad(at)gmail(dot)com> writes:
> I expected initdb to use "-L" value to timezone too and for all other files
> that is expected to be on share directory.

-L only affects where initdb looks for its own input files; it has
nothing to do with where the backend looks for the PGSHAREDIR files.

I rather wonder whether -L has any reason to live at all. initdb's
default is to locate PGSHAREDIR relative to where it finds the backend
executable, which is consistent with what the backend itself is going
to do. Is there any scenario where specifying a different location
wouldn't be broken?

regards, tom lane

In response to


Browse pgsql-bugs by date

  From Date Subject
Next Message Chris Schroter 2008-08-07 16:04:42 Postgres Vacuum Password
Previous Message Tom Lane 2008-08-07 14:42:27 Re: BUG #4345: ERROR: OUT OF MEMORY