Re: 8.0: Absolute path required for INITDB? - Mailing list pgsql-bugs

From Josh Berkus
Subject Re: 8.0: Absolute path required for INITDB?
Date
Msg-id 200408091220.42721.josh@agliodbs.com
Whole thread Raw
In response to Re: 8.0: Absolute path required for INITDB?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: 8.0: Absolute path required for INITDB?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: 8.0: Absolute path required for INITDB?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: 8.0: Absolute path required for INITDB?  (CoL <col@mportal.hu>)
List pgsql-bugs
Tom,

> Well, that does deserve investigation.  But I've been initdb'ing
> frequently and not noticed any problems.  What configure switches
> did you use exactly?  Did you try to move the installation tree
> after configure?

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
This means you have a corrupted installation or identified
the wrong directory with the invocation option -L.
postgres@mole:/usr/local/pg80b/bin>

I don't recall having this issue with 7.4.

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco

pgsql-bugs by date:

Previous
From: Josh Berkus
Date:
Subject: Re: 8.0: Absolute path required for INITDB?
Next
From: Tom Lane
Date:
Subject: Re: 8.0: Absolute path required for INITDB?