Re: location of the configuration files

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Vince Vielhaber <vev(at)michvhf(dot)com>, "J(dot) M(dot) Brenner" <doom(at)kzsu(dot)stanford(dot)edu>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: location of the configuration files
Date: 2003-02-13 19:13:14
Message-ID: 1045163594.10914.48.camel@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 2003-02-13 at 18:45, Bruce Momjian wrote:
> Now, on to this configuration discussion. Seems moving the config file
> out of $PGDATA requies either:
>
> 1) we specifiy both the config directory and the data directory on
> postmaster start
>
> 2) we specify the pgdata directory inside postgresql.conf or
> other config file
>
> Is this accurate?

The default start would read the config file from its predefined
location, set by ./configure. No command line options would be
necessary for the postmaster to run, though they could be provided.

The config file should contain the pgdata location; this and any other
parameter should be overridden if a different location is specified by a
command-line option. I think the config should be able to contain all
information that can be specified on the command line (except, of
course, the location of the configuration file.)

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"The earth is the LORD'S, and the fullness thereof; the
world, and they that dwell therein."
Psalms 24:1

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Oliver Elphick 2003-02-13 19:15:36 Re: location of the configuration files
Previous Message mlw 2003-02-13 19:06:23 Re: location of the configuration files