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

Lines changed: 1 addition & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy