Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

In response to

pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group