Doc: fix a description regarding WAL summarizer on glossary page
Doc: fix a description regarding WAL summarizer on glossary page
От:
Masahiro Ikeda <ikedamsh@oss.nttdata.com>
Дата:
Hi,
While searching the definition of auxiliary processes, I noticed that
the
description of the WAL summarizer is incorrect. Additionally, I think
it's
better to add a description for the WAL writer similar to other
Auxiliary
processes. What do you think?
# patch
```
diff --git a/doc/src/sgml/glossary.sgml b/doc/src/sgml/glossary.sgml
index a81c17a869..405fe6dc8b 100644
--- a/doc/src/sgml/glossary.sgml
+++ b/doc/src/sgml/glossary.sgml
@@ -164,6 +164,7 @@
the WAL
archiver,
the WAL
receiver
(but not the WAL
senders),
+ the WAL
summarizer,
and the WAL
writer.
@@ -2199,7 +2200,7 @@
WAL summarizer (process)
- A special backend
process
+ An auxiliary
process
that summarizes WAL data for
incremental
backups.
@@ -2213,7 +2214,8 @@
WAL writer (process)
- A process that writes WAL
records
+ An auxiliary
process
+ that writes WAL
records
from shared
memory to
WAL files.
```
# additional information
As mentioned in miscadmin.h, WAL summarizer is one of auxiliary
processes.
(postgres/src/include/miscadmin.h)
```
/*
* Auxiliary processes. These have PGPROC entries, but they are not
* attached to any particular database. There can be only one of each
of
* these running at a time.
*
* If you modify these, make sure to update NUM_AUXILIARY_PROCS and the
* glossary in the docs.
*/
B_ARCHIVER,
B_BG_WRITER,
B_CHECKPOINTER,
B_STARTUP,
B_WAL_RECEIVER,
B_WAL_SUMMARIZER,
B_WAL_WRITER,
```
Indeed, it calls InitAuxiliaryProcess() instead of InitProcess().
But, the description of WAL summarizer says that it's one of backend
processes.
> WAL summarizer (process)
> A special backend process that summarizes WAL data for incremental
> backups.
https://www.postgresql.org/docs/devel/glossary.html
Regards,
--
Masahiro Ikeda
NTT DATA CORPORATION
Re: Doc: fix a description regarding WAL summarizer on glossary page
On Tue, Jun 11, 2024 at 06:06:11PM +0900, Masahiro Ikeda wrote: > While searching the definition of auxiliary processes, I noticed that the > description of the WAL summarizer is incorrect. Additionally, I think it's > better to add a description for the WAL writer similar to other Auxiliary > processes. What do you think? Good catch. Would you like to attach a patch? -- Michael
RE: Doc: fix a description regarding WAL summarizer on glossary page
>> While searching the definition of auxiliary processes, I noticed that >> the description of the WAL summarizer is incorrect. Additionally, I >> think it's better to add a description for the WAL writer similar to >> other Auxiliary processes. What do you think? > > Good catch. Would you like to attach a patch? Thanks for your response. Please take a look at the attached patch. I've confirmed that it passes all tests. Regards, -- Masahiro Ikeda NTT DATA CORPORATION
Re: Doc: fix a description regarding WAL summarizer on glossary page
On Thu, Jun 13, 2024 at 07:24:10AM +0000, Masahiro.Ikeda@nttdata.com wrote: > Thanks for your response. Please take a look at the attached patch. > I've confirmed that it passes all tests. Thanks for the patch. Will check and apply. -- Michael
Re: Doc: fix a description regarding WAL summarizer on glossary page
От:
Masahiro Ikeda <ikedamsh@oss.nttdata.com>
Дата:
On 2024-06-13 17:01, Michael Paquier wrote: > On Thu, Jun 13, 2024 at 07:24:10AM +0000, Masahiro.Ikeda@nttdata.com > wrote: >> Thanks for your response. Please take a look at the attached patch. >> I've confirmed that it passes all tests. > > Thanks for the patch. Will check and apply. Thanks for applying. Regards, -- Masahiro Ikeda NTT DATA CORPORATION