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

Commit7ae1317

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 parentc55df7c commit7ae1317

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
@@ -814,7 +814,7 @@ parse_oid(char *s, Oid *result)
814814
* Copy files from the input directory to the output directory, reconstructing
815815
* full files from incremental files as required.
816816
*
817-
* If processingisa user-defined tablespace, the tsoid should be the OID
817+
* If processing a user-defined tablespace, the tsoid should be the OID
818818
* of that tablespace and input_directory and output_directory should be the
819819
* toplevel input and output directories for that tablespace. Otherwise,
820820
* tsoid should be InvalidOid and input_directory and output_directory should
@@ -826,7 +826,7 @@ parse_oid(char *s, Oid *result)
826826
*
827827
* n_prior_backups is the number of prior backups that we have available.
828828
* This doesn't count the very last backup, which is referenced by
829-
*output_directory, just the older ones. prior_backup_dirs is an array of
829+
*input_directory, just the older ones. prior_backup_dirs is an array of
830830
* the locations of those previous backups.
831831
*/
832832
staticvoid

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp