mirror of
https://github.com/postgres/postgres.git
synced 2025-11-04 20:11:56 +03:00
pg_createsubscriber: Rename option --socket-directory to --socketdir
For consistency with the equivalent option in pg_upgrade. Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com> Reviewed-by: Euler Taveira <euler@eulerto.com> Discussion: https://www.postgresql.org/message-id/flat/1ed82b9b-8e20-497d-a2f8-aebdd793d595%40eisentraut.org
This commit is contained in:
@@ -226,7 +226,7 @@ usage(void)
|
||||
printf(_(" -n, --dry-run dry run, just show what would be done\n"));
|
||||
printf(_(" -p, --subscriber-port=PORT subscriber port number (default %s)\n"), DEFAULT_SUB_PORT);
|
||||
printf(_(" -P, --publisher-server=CONNSTR publisher connection string\n"));
|
||||
printf(_(" -s, --socket-directory=DIR socket directory to use (default current directory)\n"));
|
||||
printf(_(" -s, --socketdir=DIR socket directory to use (default current dir.)\n"));
|
||||
printf(_(" -t, --recovery-timeout=SECS seconds to wait for recovery to end\n"));
|
||||
printf(_(" -U, --subscriber-username=NAME subscriber username\n"));
|
||||
printf(_(" -v, --verbose output verbose messages\n"));
|
||||
@@ -1871,7 +1871,7 @@ main(int argc, char **argv)
|
||||
{"dry-run", no_argument, NULL, 'n'},
|
||||
{"subscriber-port", required_argument, NULL, 'p'},
|
||||
{"publisher-server", required_argument, NULL, 'P'},
|
||||
{"socket-directory", required_argument, NULL, 's'},
|
||||
{"socketdir", required_argument, NULL, 's'},
|
||||
{"recovery-timeout", required_argument, NULL, 't'},
|
||||
{"subscriber-username", required_argument, NULL, 'U'},
|
||||
{"verbose", no_argument, NULL, 'v'},
|
||||
|
||||
Reference in New Issue
Block a user