Re: 8.0: Absolute path required for INITDB?

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

Josh Berkus <josh(at)agliodbs(dot)com> writes:
> If a relative path is used for the -L option in initdb, the following fatal
> error happens:

7.4 fails in the same way, and probably every prior release too.
The problem is that the backend has done a chdir into the template1
subdirectory, so paths that are relative from your perspective
no longer apply.

It might be worth absolut-izing this path in initdb before it's
passed down, but I can't get exceedingly excited about it.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Sube Singh 2004-08-09 16:00:27 Installation of PostgreSQL
Previous Message Josh Berkus 2004-08-09 01:56:14 8.0: Absolute path required for INITDB?

Browse pgsql-patches by date

  From Date Subject
Next Message markir 2004-08-09 05:37:29 Re: PITR on Win32 - Archive and Restore
Previous Message Mark Kirkwood 2004-08-09 03:37:50 Re: PITR on Win32 - Archive and Restore