| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Warning on certain configuration file changes |
| Date: | 2006-01-07 04:38:27 |
| Message-ID: | 25972.1136608707@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> I have developed a patch that writes a warning in the server log when a user
> changes a restart-only parameter in the configuration file and does a reload.
> The problem is that you will see this warning once for each running server
> process (unless you sent the HUP signal only to a specific process). Do
> people feel that the warning should only be written once by the postmaster
> process?
Yes. There is precedent already, see the existing code in
ProcessConfigFile:
/*
* To avoid cluttering the log, only the postmaster bleats loudly
* about problems with the config file.
*/
elevel = IsUnderPostmaster ? DEBUG2 : LOG;
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2006-01-07 04:52:31 | Re: [HACKERS] Inconsistent syntax in GRANT |
| Previous Message | Bruce Momjian | 2006-01-07 04:38:00 | Re: [HACKERS] Inconsistent syntax in GRANT |