log rotatoin doc updates
log rotatoin doc updates
This patch updates log rotation documentation: + Removed false statement that log_filename can only be changed on restart (it is reloadable via sighup); + Added a couple of examples; + Cleaned up a few smgl tags;
Re: log rotatoin doc updates
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"Ed L." writes: > This patch updates log rotation documentation: Applied, except for > + Removed false statement that log_filename can only be changed on restart > (it is reloadable via sighup); The statement was correct as given so I didn't remove it. (If you think it should mention that SIGHUP works, there are several dozen other uses of the identical wording to describe SIGHUP variables ...) > + Added a couple of examples; I moved these down a little, since it didn't seem to make sense to provide an example before all the relevant variables had been discussed. I'm not sure about the markup here; it might be better to break out of the and format the examples as independent paragraphs. Comments anyone? regards, tom lane
Re: log rotatoin doc updates
От:
"Ed L." <pgsql@bluepolka.net>
Дата:
On Friday September 17 2004 4:44, Tom Lane wrote: > "Ed L." writes: > > This patch updates log rotation documentation: > > Applied, except for > > > + Removed false statement that log_filename can only be changed on > > restart (it is reloadable via sighup); > > The statement was correct as given so I didn't remove it. (If you think > it should mention that SIGHUP works, there are several dozen other uses > of the identical wording to describe SIGHUP variables ...) "This option can only be set at server start or in the postgresql.conf configuration file." My misunderstanding. I misread the above to mean SIGHUP did not work, as opposed to postgresql.conf variables for which SIGHUP *will* reload them. I guess the word "only" refers to not being able to use SET? Ed
Re: log rotatoin doc updates
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"Ed L." writes: > My misunderstanding. I misread the above to mean SIGHUP did not work, as > opposed to postgresql.conf variables for which SIGHUP *will* reload them. > I guess the word "only" refers to not being able to use SET? Or ALTER DATABASE, ALTER USER, etc. I guess the wording assumes that you know that altering postgresql.conf requires a SIGHUP to make anything happen. I wouldn't object to inserting some explicit mention of SIGHUP into these canned phrases, if it can be done without making it much longer or more obscure. Any thoughts? regards, tom lane
Re: log rotatoin doc updates
> !
> ! Example: To keep
Why aren't 'example' tags used here? Seems it would be more appropriate
then "Example: ..."..
Example tag: (http://www.docbook.org/tdg/en/html/example.html)
(http://developer.postgresql.org/docs/postgres/runtime-config.html)
Tom:
Also, what do you mean by 'break out of the '?
Have the examples follow the or have the examples set in
such a way so as the 's indentation doesn't affect the
example's text?
--
Regards,
James William Pye
Re: log rotatoin doc updates
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
James William Pye writes: > Also, what do you mean by 'break out of the '? I meant end the variablelist, format the examples, start a new variablelist for the following variables. Or we could put the examples at the end of the subsection, but that seems awkwardly far away. regards, tom lane