From b8a5c3ac6fe5b4c321270ae256492e11b8276445 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Tue, 12 May 2020 19:13:04 +0200 Subject: [PATCH] Fix incorrect command in reference documentation. Also update process to command to be more consistent with the surrounding text. --- doc/xml/reference.xml | 2 +- src/config/define.auto.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/xml/reference.xml b/doc/xml/reference.xml index 38883e2d9..18f6da854 100644 --- a/doc/xml/reference.xml +++ b/doc/xml/reference.xml @@ -229,7 +229,7 @@ The asynchronous archive-push command writes acknowledgements into the spool path when it has successfully stored WAL in the archive (and errors on failure) so the foreground process can quickly notify . Acknowledgement files are very small (zero on success and a few hundred bytes on error). - The asynchronous archive-push process queues WAL in the spool path so it can be provided very quickly when requests it. Moving files to is most efficient when the spool path is on the same filesystem as pg_xlog/pg_wal. + The asynchronous archive-get command queues WAL in the spool path so it can be provided very quickly when requests it. Moving files to is most efficient when the spool path is on the same filesystem as pg_xlog/pg_wal. The data stored in the spool path is not strictly temporary since it can and should survive a reboot. However, loss of the data in the spool path is not a problem. will simply recheck each WAL segment to ensure it is safely archived for archive-push and rebuild the queue for archive-get. diff --git a/src/config/define.auto.c b/src/config/define.auto.c index 393493746..ed58af53e 100644 --- a/src/config/define.auto.c +++ b/src/config/define.auto.c @@ -4543,7 +4543,7 @@ static ConfigDefineOptionData configDefineOptionData[] = CFGDEFDATA_OPTION_LIST "in the archive (and errors on failure) so the foreground process can quickly notify PostgreSQL. Acknowledgement " "files are very small (zero on success and a few hundred bytes on error).\n" "\n" - "The asynchronous archive-push process queues WAL in the spool path so it can be provided very quickly when PostgreSQL " + "The asynchronous archive-get command queues WAL in the spool path so it can be provided very quickly when PostgreSQL " "requests it. Moving files to PostgreSQL is most efficient when the spool path is on the same filesystem as " "pg_xlog/pg_wal.\n" "\n"