8.0: Absolute path required for INITDB?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-bugs(at)postgreSQL(dot)org
Subject: 8.0: Absolute path required for INITDB?
Date: 2004-08-09 01:56:14
Message-ID: 200408081856.14009.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-08-09 04:14:30 Re: 8.0: Absolute path required for INITDB?
Previous Message Joe Conway 2004-08-07 18:29:07 Re: [PATCHES] [BUGS] casting strings to multidimensional arrays yields

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-08-09 02:23:00 Re: PITR on Win32 - Archive and Restore
Previous Message Christopher Kings-Lynne 2004-08-09 01:51:16 Re: [PATCHES] That dump-comments-on-composite-type-columns patch...