Re: 8.0: Absolute path required for INITDB?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: 8.0: Absolute path required for INITDB?
Date: 2004-08-09 19:20:42
Message-ID: 200408091220.42721.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

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(at)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(at)mole:/usr/local/pg80b/bin>

I don't recall having this issue with 7.4.

--
-Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message CoL 2004-08-09 20:17:51 Re: 8.0: Absolute path required for INITDB?
Previous Message Josh Berkus 2004-08-09 17:11:01 Re: 8.0: Absolute path required for INITDB?

Browse pgsql-patches by date

  From Date Subject
Next Message Greg Sabino Mullane 2004-08-09 19:54:35 Small addition to syslogger.c
Previous Message Josh Berkus 2004-08-09 17:11:01 Re: 8.0: Absolute path required for INITDB?