Re: [HACKERS] Path expansion in initdb

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] Path expansion in initdb
Date: 2004-11-29 01:13:49
Message-ID: 200411290113.iAT1Dnb27506@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Peter Eisentraut wrote:
> It used to be that calling
>
> initdb -D /some/where
>
> suggested starting
>
> postmaster -D /some/where
>
> and
>
> ./mydir/bin/initdb -D ./mydir/var/data
>
> suggested starting
>
> ./mydir/bin/postmaster -D ./mydir/var/data
>
> In the current sources, the path to the postmaster is fully expanded in
> either case (resulting in something like
> /home/peter/./mydir/bin/postmaster in the second case). (Curiously,
> the data directory path is not changed.) I don't find this to be an
> improvement. Is there a reason for this change?

I have applied the following patch to address your concerns. We needed
this anyway because we were not using native paths in the display.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 2.0 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-11-29 02:03:54 Re: [pgsql-www] pg_autovacuum is nice ... but ...
Previous Message Tom Lane 2004-11-29 00:57:07 Re: Status of server side Large Object support?

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-11-29 01:41:58 Re: Charset WIN1252
Previous Message Tom Lane 2004-11-28 23:51:05 Re: pg_dumplo schema support