From: | mlw <markw(at)mohawksoft(dot)com> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Explicit configuration file |
Date: | 2001-12-08 15:58:42 |
Message-ID: | 3C1238B2.766A6F37@mohawksoft.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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.
"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.
One can start postgres as:
postmaster -C /etc/pgsql/mydb1.conf
Postgres will get all its required information from "mydb1.conf."
Does anyone see any value to these mods? I wanted to be able to run multiple
PostgreSQL instances on the same machine, and having the ability to keep these
control files in a central location and share the HBA control files between
databases may be helpful for admins. It will certainly make my life easier.
Attachment | Content-Type | Size |
---|---|---|
config.patch | text/plain | 6.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Lockhart | 2001-12-08 15:59:52 | Re: text -> time cast problem |
Previous Message | John James | 2001-12-08 12:07:04 | mapping physical memeory space |