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

From Peter Eisentraut
Subject Re: Explicit config patch 7.2B4
Date
Msg-id Pine.LNX.4.30.0112181946040.637-100000@peter.localdomain
Whole thread Raw
In response to Re: Explicit config patch 7.2B4  (mlw <markw@mohawksoft.com>)
Responses Re: Explicit config patch 7.2B4
List pgsql-hackers
mlw writes:

> 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

I like the latter better because of the symmetry of -C with -D.

Btw., the following issues still need to be addressed:

- Location of SSL certificate files (Are they appropriate for /etc?  What does Apache do?)

- Location of secondary password files.  By default they should probably track pg_hba.conf.  Is that enough?

- Location of charset.conf and the associated recode tables

For a start, putting all of these under -C is probably sufficient.  More
complicated setups can be achieved using symlinks. ;-)

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Don Baccus
Date:
Subject: Re: PG 7.2b4 bug?
Next
From: Peter Eisentraut
Date:
Subject: Re: [PATCHES] Problem compiling postgres sql --with-tcl