aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2024-06-19 16:12:18 -0500
committerNathan Bossart <nathan@postgresql.org>2024-06-19 16:12:18 -0500
commit832dc19ea681a54c153228a96112bea68dbff022 (patch)
tree4063b074559e9bcb717136a27c525be25d03239e
parent03ec203164119f11f0eab4c83c97a8527e2b108d (diff)
downloadpostgresql-832dc19ea681a54c153228a96112bea68dbff022.tar.gz
postgresql-832dc19ea681a54c153228a96112bea68dbff022.zip
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
-rw-r--r--src/bin/pg_upgrade/pg_upgrade.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/pg_upgrade/pg_upgrade.h b/src/bin/pg_upgrade/pg_upgrade.h
index 92bcb693fbf..8afe240bdfb 100644
--- a/src/bin/pg_upgrade/pg_upgrade.h
+++ b/src/bin/pg_upgrade/pg_upgrade.h
@@ -321,8 +321,7 @@ typedef struct
*/
typedef struct
{
- bool check; /* true -> ask user for permission to make
- * changes */
+ bool check; /* check clusters only, don't change any data */
bool do_sync; /* flush changes to disk */
transferMode transfer_mode; /* copy files or link them? */
int jobs; /* number of processes/threads to use */