option.c.diff

text/x-patch

Filename: option.c.diff
Type: text/x-patch
Part: 0
Message: 9.0 beta2 pg_upgrade command line parsing

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
File+
contrib/pg_upgrade/option.c 1 1
diff --git a/contrib/pg_upgrade/option.c b/contrib/pg_upgrade/option.c
index 83300a9..a4760a7 100644
--- a/contrib/pg_upgrade/option.c
+++ b/contrib/pg_upgrade/option.c
@@ -46,7 +46,7 @@ parseCommandLine(migratorContext *ctx, int argc, char *argv[])
 		{"verbose", no_argument, NULL, 'v'},
 		{NULL, 0, NULL, 0}
 	};
-	char		option;			/* Command line option */
+	int		option;			/* Command line option */
 	int			optindex = 0;	/* used by getopt_long */
 	int			user_id;