Skip to content

Commit 832dc19

Browse files
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
1 parent 03ec203 commit 832dc19

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/bin/pg_upgrade/pg_upgrade.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,7 @@ typedef struct
321321
*/
322322
typedef struct
323323
{
324-
bool check; /* true -> ask user for permission to make
325-
* changes */
324+
bool check; /* check clusters only, don't change any data */
326325
bool do_sync; /* flush changes to disk */
327326
transferMode transfer_mode; /* copy files or link them? */
328327
int jobs; /* number of processes/threads to use */

0 commit comments

Comments
 (0)