Re: TODO: Mark change-on-restart-only values in

From: Jim Nasby <jnasby(at)pervasive(dot)com>
To: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
Cc: josh(at)agliodbs(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: TODO: Mark change-on-restart-only values in
Date: 2006-07-24 21:02:25
Message-ID: 390B63E0-2ABA-445C-A79E-56506E6CE970@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Jul 17, 2006, at 2:48 PM, Zdenek Kotala wrote:
> Josh Berkus wrote:
>> Zdenek,
>>> I would like to implement "Mark change-on-restart-only values in
>>> postgresql.conf" item. Anybody works on this? Does it mean add extra
>>> comment to postgresql.conf for variable which has PG_POSTMASTER
>>> context?
>> Somehow I thought you'd already submitted a patch?
> I sent patch for relatively related problem when somebody
> commenting out item in the configuration file. This item is look
> like easy, but I surprise that this item does not have % prefix.
> The question is if it is only about adding extra comments to
> postgresql.conf file.

If memory serves, we also wanted to have the postmaster log a warning
if it reloaded postgresql.conf and found values that had changed but
wouldn't take effect until restart. So presumably the postmaster
would have to keep an in-memory copy of the parsed postgresql.conf
and compare that with the parsed copy it gets after reloading
postgresql.conf.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2006-07-24 21:11:04 Re: Better name/syntax for "online" index creation
Previous Message Robert Lor 2006-07-24 21:00:46 Re: [PATCHES] Generic Monitoring Framework with DTrace patch