From: | mlw <pgsql(at)mohawksoft(dot)com> |
---|---|
To: | Robert Treat <xzilla(at)users(dot)sourceforge(dot)net> |
Cc: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>, Christopher Browne <cbbrowne(at)acm(dot)org>, pgsql-hackers(at)postgresql(dot)org, Kevin Brown <kevin(at)sysexperts(dot)com>, Curt Sampson <cjs(at)cynic(dot)net>, Rod Taylor <rbt(at)rbt(dot)ca>, Oliver Elphick <olly(at)lfix(dot)co(dot)uk> |
Subject: | Re: location of the configuration files |
Date: | 2003-02-13 23:25:20 |
Message-ID: | 3E4C2960.6010401@mohawksoft.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Robert Treat wrote:
>On Thu, 2003-02-13 at 14:51, mlw wrote:
>
>
>>Robert Treat wrote:
>>
>>
>>On Thu, 2003-02-13 at 12:13, mlw wrote:
>>
>>
>>
>>My patch only works on the PostgreSQL server code. No changes have been
>>
>>made to the initialization scripts.
>>
>>
>>
>>The patch declares three extra configuration file parameters:
>>
>>hbafile= '/etc/postgres/pg_hba.conf'
>>
>>identfile='/etc/postgres/pg_ident.conf'
>>
>>datadir='/RAID0/postgres'
>>
>>
>>If we're going to do this, I think we need to account for all of the
>>
>>files in the directory including PG_VERSION, postmaster.opts,
>>
>>postmaster.pid. In the end if we can't build so that we are either fully
>>
>>FHS compliant and/or LSB compliant, we've not done enough work on it.
>>
>>
>>postmaster.opts, PG_VERSION, and postmaster.pid are not configuration
>>parameters.
>>
>>
>>
>
>So? I'm not saying they all have to be moved, just they all need to be
>accounted for.
>
OK, what was the point?
>>PG_VERSION is VERY important, it is how you know the version of the
>>database.
>>Postmaster.pid is a postgres writable value
>>AFAIK, postmaster.opts is also a postgres writable value.
>>
>>
>>
>
>IIRC the postmaster.pid file should be in /var/run according to FHS, I'm
>not sure about postmaster.opts though...
>
>Again, if we're going to make a change, let's make sure we think it
>through.
>
I'm not a big fan of the "/var/run" directory convention, especially
when we expect multiple instances of the server to be able to run
concurrently. I suppose it can be a parameter in both the configuration
file and command line.
From | Date | Subject | |
---|---|---|---|
Next Message | Lamar Owen | 2003-02-13 23:26:00 | Re: location of the configuration files |
Previous Message | Bruce Momjian | 2003-02-13 23:18:16 | Re: Brain dump: btree collapsing |