1PG_AUTOCTL GET NODE REPLICATION-pQgU_OaRuUtMoP(_G1f_)aAiUlToOvCeTrL GET NODE REPLICATION-QUORUM(1)
2
3
4
6 pg_autoctl get node replication-quorum - pg_autoctl get node replica‐
7 tion-quorum
8
9 pg_autoctl get replication-quorum - get replication-quorum property
10 from the monitor
11
13 This command prints pg_autoctl replication quorum for a given node:
14
15 usage: pg_autoctl get node replication-quorum [ --pgdata ] [ --json ] [ --formation ] [ --name ]
16
17 --pgdata path to data directory
18 --formation pg_auto_failover formation
19 --name pg_auto_failover node name
20 --json output data in the JSON format
21
23 See also pg_autoctl show settings for the full list of replication set‐
24 tings.
25
27 --pgdata
28 Location of the Postgres node being managed locally. Defaults to
29 the environment variable PGDATA. Use --monitor to connect to a
30 monitor from anywhere, rather than the monitor URI used by a lo‐
31 cal Postgres node managed with pg_autoctl.
32
33 --json Output JSON formatted data.
34
35 --formation
36 Show replication settings for given formation. Defaults to de‐
37 fault.
38
39 --name Show replication settings for given node, selected by name.
40
42 PGDATA
43 Postgres directory location. Can be used instead of the --pgdata op‐
44 tion.
45
46 PG_AUTOCTL_MONITOR
47 Postgres URI to connect to the monitor node, can be used instead of
48 the --monitor option.
49
50 XDG_CONFIG_HOME
51 The pg_autoctl command stores its configuration files in the stan‐
52 dard place XDG_CONFIG_HOME. See the XDG Base Directory Specifica‐
53 tion.
54
55 XDG_DATA_HOME
56 The pg_autoctl command stores its internal states files in the stan‐
57 dard place XDG_DATA_HOME, which defaults to ~/.local/share. See the
58 XDG Base Directory Specification.
59
61 $ pg_autoctl get node replication-quorum --name node1
62 true
63
64 $ pg_autoctl get node replication-quorum --name node1 --json
65 {
66 "name": "node1",
67 "replication-quorum": true
68 }
69
71 Microsoft
72
74 Copyright (c) Microsoft Corporation. All rights reserved.
75
76
77
78
792.0 Sep 1P3G,_A2U0T2O3CTL GET NODE REPLICATION-QUORUM(1)