log rotatoin doc updates

Started by Ed L.about 22 years ago6 messagespatches
Jump to latest
#1Ed L.
pgsql@bluepolka.net
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;

Attachments:

runtime.sgml.difftext/x-diff; charset=us-ascii; name=runtime.sgml.diffDownload+40-40
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Ed L. (#1)
Re: log rotatoin doc updates

"Ed L." <pgsql@bluepolka.net> 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 <variablelist> and format the examples as independent paragraphs.
Comments anyone?

regards, tom lane

#3Ed L.
pgsql@bluepolka.net
In reply to: Tom Lane (#2)
Re: log rotatoin doc updates

On Friday September 17 2004 4:44, Tom Lane wrote:

"Ed L." <pgsql@bluepolka.net> 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
<filename>postgresql.conf</filename> 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

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Ed L. (#3)
Re: log rotatoin doc updates

"Ed L." <pgsql@bluepolka.net> 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

#5James William Pye
flaw@rhid.com
In reply to: Tom Lane (#2)
Re: log rotatoin doc updates

! <para>
! Example: To keep

Why aren't 'example' tags used here? Seems it would be more appropriate
then "<para>Example: ...</para>"..

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 <variablelist>'?

Have the examples follow the <variablelist> or have the examples set in
such a way so as the <listitem>'s indentation doesn't affect the
example's text?

--
Regards,
James William Pye

#6Tom Lane
tgl@sss.pgh.pa.us
In reply to: James William Pye (#5)
Re: log rotatoin doc updates

James William Pye <flaw@rhid.com> writes:

Also, what do you mean by 'break out of the <variablelist>'?

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