Re: Explicit config patch 7.2B4

mlw <markw@mohawksoft.com>

From: mlw <markw@mohawksoft.com>
To: Marko Kreen <marko@l-t.ee>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2001-12-17T17:56:53Z
Lists: 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.