Re: Explicit configuration file - Mailing list pgsql-hackers

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

> I have added the option of explicitly specifying a postgresql.conf (-C) file on
> the command line. I have also added two config file entries:
>
> pghbaconfig, and pgdatadir.
>
> "pghbaconfig" allows multiple different databases running on the same machine
> to use the same hba file, rather than the hard coded $PGDATA/pg_hba.conf.

That could be mildly useful, although symlinks make this already possible,
and a bit clearer, IMHO.

> "pgdatadir" works with the explicit configuration file so that the data
> directory can be specified in the configuration file, not on the command line
> or environment.

So you exchange having to specify the data directory with having to
specify the configuration file which specifies the data directory.  This
doesn't add any functionality, it only adds one more indirection.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: ECPG is okay again
Next
From: Peter Eisentraut
Date:
Subject: Re: ODBC functions in gram.y