From: | mlw <pgsql(at)mohawksoft(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Kevin Brown <kevin(at)sysexperts(dot)com>, pgsql-hackers(at)postgresql(dot)org, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Subject: | Re: location of the configuration files |
Date: | 2003-02-13 06:10:41 |
Message-ID: | 3E4B36E1.5040809@mohawksoft.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
>mlw <pgsql(at)mohawksoft(dot)com> writes:
>
>
>>The idea that a, more or less, arbitrary data location determines the
>>database configuration is wrong. It should be obvious to any
>>administrator that a configuration file location which controls the
>>server is the "right" way to do it.
>>
>>
>
>I guess I'm just dense, but I entirely fail to see why this is the One
>True Way To Do It. What you seem to be proposing (ignoring
>syntactic-sugar issues) is that we replace "postmaster -D
>/some/data/dir" by "postmaster -config /some/config/file". I am not
>seeing the nature of the improvement. It looks to me like the sysadmin
>must now grant the Postgres DBA write access on *two* directories, viz
>/some/config/ and /wherever/the/data/directory/is. How is that better
>than granting write access on one directory? Given that we can't manage
>to standardize the data directory location across multiple Unixen, how
>is it that we will be more successful at standardizing a config file
>location?
>
>All I see here is an arbitrary break with our past practice. I do not
>see any net improvement.
>
>
>
There is a pretty well understood convention that a configuration file
will be located in some standard location depending on your distro.
Would you disagree with that?
There is also a convention that most servers are configured by a
configuration file, located in a central location. Look at sendmail,
named,, et al.
Here is the test, configure a server, with sendmail, named, apache, and
PostgreSQL. Tell me which of these systems doesn't configure right.
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-02-13 06:12:17 | Re: [HACKERS] Changing the default configuration (was Re: |
Previous Message | Bruce Momjian | 2003-02-13 05:53:49 | Re: targetlist functions part 1 (was [HACKERS] targetlist |