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

From Josh Berkus
Subject 8.0: Absolute path required for INITDB?
Date
Msg-id 200408081856.14009.josh@agliodbs.com
Whole thread Raw
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>)
List pgsql-bugs
8.0 beta CVS of 8/8/2004:

If a relative path is used for the -L option in initdb, the following fatal
error happens:

./initdb -D ../data -L ../share/postgresql/
<snip>
creating system views ... ok
loading pg_description ... ERROR:  could not open file
"../share/postgresql/postgres.description" for reading: No such file or
directory
child process exited with exit code 1

Is this intentional?  The first dozen or so commands work fine with a relative
path, and this executes fine with an absolute path for both -D and -L.

SuSE 9.1, GCC 3.3.3

--
Josh Berkus
Aglio Database Solutions
San Francisco

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #1207: retrieve error
Next
From: Tom Lane
Date:
Subject: Re: 8.0: Absolute path required for INITDB?