Re: location of the configuration files
От | Oliver Elphick |
---|---|
Тема | Re: location of the configuration files |
Дата | |
Msg-id | 1045157294.3089.457.camel@linda.lfix.co.uk обсуждение исходный текст |
Ответ на | Re: location of the configuration files (Christopher Browne <cbbrowne@acm.org>) |
Список | pgsql-hackers |
On Thu, 2003-02-13 at 13:32, Christopher Browne wrote: > > Everybody has room in /etc for another 10K of data. Where you have > > room for something that might potentially be a half terrabyte of > > data, and is not infrequently several gigabytes or more, is pretty > > system-depenendent. > > Ah, but this has two notable problems: > > 1. It assumes that there is "a location" for "the configuration files > for /the single database instance./" > > If I have a second database instance, that may conflict. I think that moving configuration to [/usr/local]/etc/postgresql implies the need for sub-directories by port, possibly with a default config to be used if there is no port-specific config file. > 2. It assumes I have write access to /etc > > If I'm a Plain Old User, as opposed to root, I may only have > read-only access to /etc. The location should be configurable; I hope we're talking about the default here. For distributions it should be /etc/postgresql; for local builds it should be /usr/local/etc/postgresql, assuming you have root access. If you don't, the -c configfile switch suggested elsewhere in this debate would be needed. -- Oliver Elphick Oliver.Elphick@lfix.co.uk Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C ======================================== "The earth is the LORD'S, and the fullness thereof; the world, and they thatdwell therein." Psalms 24:1
В списке pgsql-hackers по дате отправления: