Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfb9ec9c

Browse files
pg_combinebackup: Fix incorrect code documentation
The code comment for parse_oid accidentally used the wrong parameterwhen referring to the location of the last backup. Also, while there,improve sentence wording by removing a superfluous word.Backpatch to v17 where pg_combinebackup was addeddAuthor: Amul Sul <sulamul@gmail.com>Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Reviewed-by: Robert Haas <robertmhaas@gmail.com>Discussion:https://postgr.es/m/CAAJ_b95ecWgzcS4K3Dx0E_Yp-SLwK5JBasFgioKMSjhQLw9xvg@mail.gmail.comBackpatch-through: 17
1 parent8c153fc commitfb9ec9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/pg_combinebackup/pg_combinebackup.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ parse_oid(char *s, Oid *result)
804804
* Copy files from the input directory to the output directory, reconstructing
805805
* full files from incremental files as required.
806806
*
807-
* If processingisa user-defined tablespace, the tsoid should be the OID
807+
* If processing a user-defined tablespace, the tsoid should be the OID
808808
* of that tablespace and input_directory and output_directory should be the
809809
* toplevel input and output directories for that tablespace. Otherwise,
810810
* tsoid should be InvalidOid and input_directory and output_directory should
@@ -816,7 +816,7 @@ parse_oid(char *s, Oid *result)
816816
*
817817
* n_prior_backups is the number of prior backups that we have available.
818818
* This doesn't count the very last backup, which is referenced by
819-
*output_directory, just the older ones. prior_backup_dirs is an array of
819+
*input_directory, just the older ones. prior_backup_dirs is an array of
820820
* the locations of those previous backups.
821821
*/
822822
staticvoid

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp