Re: Permanent settings

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Permanent settings
Дата
Msg-id 20080219191606.GA17284@svr2.hagander.net
обсуждение исходный текст
Ответ на Re: Permanent settings  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Permanent settings  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
On Tue, Feb 19, 2008 at 02:19:16PM -0300, Alvaro Herrera wrote:
> Gregory Stark wrote:
> 
> > The alternative is to have two files and read them both. Then if you change a
> > variable which is overridden by the other source you can warn that the change
> > is ineffective.
> > 
> > I think on balance the include file method is so much simpler that I prefer it.
> 
> I think this is a good idea.  I would suggest being able to query
> exactly which config file a setting came from -- so you can see whether
> it's the stock postgresql.conf, or the locally-modified
> postgresql.local.conf.

Yeah, that's something I've been thinking about quite apart from this one.
If you have a bunch of include files, it can be interesting to know exactly
where the current setting was picked up. It's not like you can't find it
elsewhere, but it's quicker if we could add that to pg_settings. I'll add
that to my TODO list for things to look at when I work on this.

//Magnus



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Permanent settings
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Permanent settings