@@ -2693,14 +2693,14 @@ usage(const char *progname)
2693
2693
printf (_ (" -U, --username=NAME database superuser name\n" ));
2694
2694
printf (_ (" -W, --pwprompt prompt for a password for the new superuser\n" ));
2695
2695
printf (_ (" -X, --xlogdir=XLOGDIR location for the transaction log directory\n" ));
2696
- printf (_ (" -x, --xid=START_XID specify start xid value in hex format for new db instance to test 64-bit xids,\n"
2696
+ printf (_ (" -x, --xid=START_XID specify start xid value in decimal format for new db instance to test 64-bit xids,\n"
2697
2697
" default value is 0\n" ));
2698
2698
printf (_ ("\nLess commonly used options:\n" ));
2699
2699
printf (_ (" -d, --debug generate lots of debugging output\n" ));
2700
2700
printf (_ (" -k, --data-checksums use data page checksums\n" ));
2701
2701
printf (_ (" -L DIRECTORY where to find the input files\n" ));
2702
2702
printf (_ (" -m, --multixact-id=START_MX_ID\n"
2703
- " specify start multixact id value in hex format for new db instance\n"
2703
+ " specify start multixact id value in decimal format for new db instance\n"
2704
2704
" to test 64-bit xids, default value is 0\n" ));
2705
2705
printf (_ (" -n, --noclean do not clean up after errors\n" ));
2706
2706
printf (_ (" -N, --nosync do not wait for changes to be written safely to disk\n" ));
@@ -3469,9 +3469,9 @@ main(int argc, char *argv[])
3469
3469
printf (_ ("Running in debug mode.\n" ));
3470
3470
break ;
3471
3471
case 'm' :
3472
- if (sscanf (optarg , HEX_XID_FMT , & start_mx_id ) != 1 )
3472
+ if (sscanf (optarg , XID_FMT , & start_mx_id ) != 1 )
3473
3473
{
3474
- fprintf (stderr , "%s: invalid hex value of multixact-id\n" , progname );
3474
+ fprintf (stderr , "%s: invalid decimal value of multixact-id\n" , progname );
3475
3475
exit (1 );
3476
3476
}
3477
3477
break ;
@@ -3535,9 +3535,9 @@ main(int argc, char *argv[])
3535
3535
xlog_dir = pg_strdup (optarg );
3536
3536
break ;
3537
3537
case 'x' :
3538
- if (sscanf (optarg , HEX_XID_FMT , & start_xid ) != 1 )
3538
+ if (sscanf (optarg , XID_FMT , & start_xid ) != 1 )
3539
3539
{
3540
- fprintf (stderr , "%s: invalid hex value of xid\n" , progname );
3540
+ fprintf (stderr , "%s: invalid decimal value of xid\n" , progname );
3541
3541
exit (1 );
3542
3542
}
3543
3543
break ;
0 commit comments