Fix some comments of do_pg_backup_start() and do_pg_backup_stop()

Both functions referred to an incorrect variable name, so make the whole
more consistent.

Oversight in 7d70809.

Author: Kyotaro Horiguchi, Bharath Rupireddy
Discussion: https://postgr.es/m/20220927.172427.467118514018439476.horikyota.ntt@gmail.com
This commit is contained in:
Michael Paquier 2022-09-28 09:58:44 +09:00
parent 0aaa7cf698
commit 2e560b974e

View File

@ -8316,9 +8316,9 @@ issue_xlog_fsync(int fd, XLogSegNo segno, TimeLineID tli)
* symlinks while extracting files from tar. However for consistency and * symlinks while extracting files from tar. However for consistency and
* platform-independence, we do it the same way everywhere. * platform-independence, we do it the same way everywhere.
* *
* It fills in backup_state with the information required for the backup, * It fills in "state" with the information required for the backup, such
* such as the minimum WAL location that must be present to restore from * as the minimum WAL location that must be present to restore from this
* this backup (starttli) and the corresponding timeline ID (starttli). * backup (starttli) and the corresponding timeline ID (starttli).
* *
* Every successfully started backup must be stopped by calling * Every successfully started backup must be stopped by calling
* do_pg_backup_stop() or do_pg_abort_backup(). There can be many * do_pg_backup_stop() or do_pg_abort_backup(). There can be many
@ -8634,7 +8634,7 @@ get_backup_status(void)
* file (if required), resets sessionBackupState and so on. It can optionally * file (if required), resets sessionBackupState and so on. It can optionally
* wait for WAL segments to be archived. * wait for WAL segments to be archived.
* *
* backup_state is filled with the information necessary to restore from this * "state" is filled with the information necessary to restore from this
* backup with its stop LSN (stoppoint), its timeline ID (stoptli), etc. * backup with its stop LSN (stoppoint), its timeline ID (stoptli), etc.
* *
* It is the responsibility of the caller of this function to verify the * It is the responsibility of the caller of this function to verify the