1PG_AUTOCTL DROP FORMATION(1) pg_auto_failover PG_AUTOCTL DROP FORMATION(1)
2
3
4
6 pg_autoctl drop formation - pg_autoctl drop formation
7
8 pg_autoctl drop formation - Drop a formation on the pg_auto_failover
9 monitor
10
12 This command drops an existing formation on the monitor:
13
14 usage: pg_autoctl drop formation [ --pgdata --formation ]
15
16 --pgdata path to data directory
17 --monitor pg_auto_failover Monitor Postgres URL
18 --formation name of the formation to drop
19
21 --pgdata
22 Location of the Postgres node being managed locally. Defaults to
23 the environment variable PGDATA. Use --monitor to connect to a
24 monitor from anywhere, rather than the monitor URI used by a lo‐
25 cal Postgres node managed with pg_autoctl.
26
27 --monitor
28 Postgres URI used to connect to the monitor. Must use the au‐
29 toctl_node username and target the pg_auto_failover database
30 name. It is possible to show the Postgres URI from the monitor
31 node using the command pg_autoctl show uri.
32
33 --formation
34 Name of the formation to drop from the monitor.
35
37 PGDATA
38 Postgres directory location. Can be used instead of the --pgdata op‐
39 tion.
40
41 PG_AUTOCTL_MONITOR
42 Postgres URI to connect to the monitor node, can be used instead of
43 the --monitor option.
44
45 XDG_CONFIG_HOME
46 The pg_autoctl command stores its configuration files in the stan‐
47 dard place XDG_CONFIG_HOME. See the XDG Base Directory Specifica‐
48 tion.
49
50 XDG_DATA_HOME
51 The pg_autoctl command stores its internal states files in the stan‐
52 dard place XDG_DATA_HOME, which defaults to ~/.local/share. See the
53 XDG Base Directory Specification.
54
56 Microsoft
57
59 Copyright (c) Microsoft Corporation. All rights reserved.
60
61
62
63
642.0 Sep 13, 2023 PG_AUTOCTL DROP FORMATION(1)