Re: Explicit config patch 7.2B4 - Mailing list pgsql-hackers

From mlw
Subject Re: Explicit config patch 7.2B4
Date
Msg-id 3C1E31E5.A59101C1@mohawksoft.com
Whole thread Raw
In response to Explicit config patch 7.2B4  (mlw <markw@mohawksoft.com>)
Responses Re: Explicit config patch 7.2B4  (Lamar Owen <lamar.owen@wgcr.org>)
Re: Explicit config patch 7.2B4  (Marko Kreen <marko@l-t.ee>)
Re: Explicit config patch 7.2B4  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Marko Kreen wrote:
> 
> On Sun, Dec 16, 2001 at 09:35:58AM -0500, mlw wrote:
> > This allows
> >
> > postmaster -C /etc/pgsql/mydb.conf
> 
> Nice.
> 
> > In the config file there are two more options:
> >
> > datadir = '/u01/postgres'
> > hbaconfig = '/etc/pgsql/pg_hba.conf'
> 
> What about pg_ident.conf?

I will submit a complete patch that includes pg_ident.conf as well.

Here is a question for the great minds here:

If a user has used the "-C" option, as in:

postmaster -C /etc/pgsql/mydb.conf

Should I then, and first, see if there is a "/etc/pgsql/pg_hba.conf" or
"/etc/pgsql/pg_ident.conf" and use it as an explicit path?


How about:

postmaster -C /etc/pgsql

Should I then look for:

/etc/pgsql/postgresql.conf
/etc/pgsql/pg_hba.conf
/etc/pgsql/pg_ident.conf

?

Just curious what you think.


pgsql-hackers by date:

Previous
From: Lamar Owen
Date:
Subject: Re: Explicit config patch 7.2B4
Next
From: Lamar Owen
Date:
Subject: Re: Explicit config patch 7.2B4