File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ Once the building and installation is done, follow those steps:
154154 2. Get the Postgres URI (connection string) for the monitor node:
155155
156156 ~ ~~ bash
157- $ pg_autoctl show uri --monitor --pgdata ./ monitor
157+ $ pg_autoctl show uri --formation monitor
158158 postgres://autoctl_node@localhost:5000/pg_auto_failover? sslmode=require
159159 ~~~
160160
Original file line number Diff line number Diff line change @@ -67,9 +67,8 @@ static void print_all_uri(SSLOptions *ssl,
6767CommandLine show_uri_command =
6868 make_command ("uri" ,
6969 "Show the postgres uri to use to connect to pg_auto_failover nodes" ,
70- " [ --pgdata --monitor -- formation --json ] " ,
70+ " [ --pgdata --formation --json ] " ,
7171 " --pgdata path to data directory\n"
72- " --monitor show the monitor uri\n"
7372 " --formation show the coordinator uri of given formation\n"
7473 " --json output data in the JSON format\n" ,
7574 cli_show_uri_getopts ,
@@ -94,7 +93,7 @@ CommandLine show_state_command =
9493 "Prints monitor's state of nodes in a given formation and group" ,
9594 " [ --pgdata --formation --group ] " ,
9695 " --pgdata path to data directory \n"
97- " --monitor show the monitor uri \n"
96+ " --monitor pg_auto_failover Monitor Postgres URL \n"
9897 " --formation formation to query, defaults to 'default' \n"
9998 " --group group to query formation, defaults to all \n"
10099 " --local show local data, do not connect to the monitor\n"
You can’t perform that action at this time.
0 commit comments