Re: Explicit configuration file

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: mlw <markw(at)mohawksoft(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Explicit configuration file
Date: 2001-12-10 13:07:44
Message-ID: Pine.LNX.4.30.0112092001440.631-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-12-10 13:08:07 Re: Third call for platform testing
Previous Message mlw 2001-12-10 13:05:35 Re: Explicit configuration file