Re: location of the configuration files

From: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
To: Martin Coxall <coxall(at)cream(dot)org>
Cc: Peter Bierman <bierman(at)apple(dot)com>, mlw <pgsql(at)mohawksoft(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: location of the configuration files
Date: 2003-02-14 19:24:19
Message-ID: 20030214192419.A9076103F5@polaris.pinpointresearch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Friday 14 February 2003 6:07 am, Martin Coxall wrote:
> On Thu, 2003-02-13 at 20:28, Steve Crawford wrote:
> > I don't see why we can't keep everyone happy and let the users choose the
> > setup they want. To wit, make the following, probably simple, changes:
> >
> > 1) Have postgresql default to using /etc/postgresql.conf
>
> /etc/postgres/postgresql.conf, if we want to be proper FHS-bitches.
>
> > 2) Add a setting in postgresql.conf specifying the data directory
> > 3) Change the meaning of -D to mean "use this config file"
> > 4) In the absence of a specified data directory in postgresql.conf, use
> > the location of the postgresql.conf file as the data directory
>
> Shouldn't it in that case default to, say /var/lib/postgres?

Idea 4 was just a way to preserve current behaviour for those who desire.
Moving postgresql.conf requires adding the data directory info into
postgresql.conf or specifying it in some other way. If, in the absence of any
specification in postgresql.conf, postgres just looks in the same directory
as postgresql.conf then it will be almost identical to the current setup.

Cheers,
Steve

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Curtis Faith 2003-02-14 19:25:54 Re: Brain dump: btree collapsing
Previous Message Curtis Faith 2003-02-14 19:22:54 Re: Brain dump: btree collapsing