From: | mlw <pgsql(at)mohawksoft(dot)com> |
---|---|
To: | pgsql-patches-owner <pgsql-patches-owner(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Subject: | Configuration file patch |
Date: | 2003-02-14 04:15:57 |
Message-ID: | 3E4C6D7D.4050805@mohawksoft.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
This patch allows using PostgreSQL with a command line configuration
file parameter instead of the data directory.
If no configuration is specified, postmaster operates as it always has.
The configuration file is specified with the "-C" parameter, as:
postmaster -C /somepath/somefile.conf
Within the configuration file, there are three new parameters: data_dir,
hba_conf, and ident_conf. They are used as:
hba_conf = 'pathanme_to_pg_hba.conf'
ident_conf='pathname_to_pg_ident.conf'
data_dir='path_to_data'
If the above parameters are not specified, then the default is to look
for these file in the PGDATA directory.
Command line arguments take precedent over configuration file.
This patch is not a be-all end-all of configuration. It should be able
to fit PostgreSQL into a FHS with the exception of the '/var/run'
requirement.
Attachment | Content-Type | Size |
---|---|---|
pgec.patch | text/plain | 9.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-02-14 04:23:44 | Re: [HACKERS] More benchmarking of wal_buffers |
Previous Message | Josh Berkus | 2003-02-14 04:15:13 | Re: [HACKERS] Changing the default configuration |