Skip to content

Commit 2e560b9

Browse files
committed
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
1 parent 0aaa7cf commit 2e560b9

File tree

1 file changed

+4
-4
lines changed
  • src/backend/access/transam

1 file changed

+4
-4
lines changed

src/backend/access/transam/xlog.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8316,9 +8316,9 @@ issue_xlog_fsync(int fd, XLogSegNo segno, TimeLineID tli)
83168316
* symlinks while extracting files from tar. However for consistency and
83178317
* platform-independence, we do it the same way everywhere.
83188318
*
8319-
* It fills in backup_state with the information required for the backup,
8320-
* such as the minimum WAL location that must be present to restore from
8321-
* this backup (starttli) and the corresponding timeline ID (starttli).
8319+
* It fills in "state" with the information required for the backup, such
8320+
* as the minimum WAL location that must be present to restore from this
8321+
* backup (starttli) and the corresponding timeline ID (starttli).
83228322
*
83238323
* Every successfully started backup must be stopped by calling
83248324
* do_pg_backup_stop() or do_pg_abort_backup(). There can be many
@@ -8634,7 +8634,7 @@ get_backup_status(void)
86348634
* file (if required), resets sessionBackupState and so on. It can optionally
86358635
* wait for WAL segments to be archived.
86368636
*
8637-
* backup_state is filled with the information necessary to restore from this
8637+
* "state" is filled with the information necessary to restore from this
86388638
* backup with its stop LSN (stoppoint), its timeline ID (stoptli), etc.
86398639
*
86408640
* It is the responsibility of the caller of this function to verify the

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy