Fix comment in pg_upgrade.h.

Contrary to what the comment for the "check" struct member claims,
'pg_upgrade --check' performs only the checks and does not ask the
user for permission to make changes.

Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/ZnHk7ci5IuTWVc_c%40nathan
This commit is contained in:
Nathan Bossart 2024-06-19 16:12:18 -05:00
parent 03ec203164
commit 832dc19ea6

View file

@ -321,8 +321,7 @@ typedef struct
*/ */
typedef struct typedef struct
{ {
bool check; /* true -> ask user for permission to make bool check; /* check clusters only, don't change any data */
* changes */
bool do_sync; /* flush changes to disk */ bool do_sync; /* flush changes to disk */
transferMode transfer_mode; /* copy files or link them? */ transferMode transfer_mode; /* copy files or link them? */
int jobs; /* number of processes/threads to use */ int jobs; /* number of processes/threads to use */