Josh Berkus <josh@agliodbs.com> writes:
> Here's the issue: if you start initdb from a directory other than PGBASE, you
> can run into trouble:
> postgres@mole:/usr/local/pg80b/bin> ./initdb -D ../data
> initdb: file "/usr/local/pg80b/bin/share/postgresql/postgres.bki" does not
> exist
Actually, the problem seems to be specific to the use of "." or ".." in
the invocation path. I have applied a patch that seems to fix it for
me.
> I don't recall having this issue with 7.4.
All that path-hacking logic is new in 8.0, I believe. Before we were
using some shell utilities to do it for us.
regards, tom lane