1PG_AUTOCTL GET NODE REPLICATION-pQgU_OaRuUtMoP(_G1f_)aAiUlToOvCeTrL GET NODE REPLICATION-QUORUM(1)
2
3
4

NAME

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

SYNOPSIS

13       This command prints pg_autoctl replication quorun 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

DESCRIPTION

23       See also pg_autoctl_show_settings for the full list of replication set‐
24       tings.
25

OPTIONS

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 formated 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

EXAMPLES

42          $ pg_autoctl get node replication-quorum --name node1
43          true
44
45          $ pg_autoctl get node replication-quorum --name node1 --json
46          {
47              "name": "node1",
48              "replication-quorum": true
49          }
50

AUTHOR

52       Microsoft
53
55       Copyright (c) Microsoft Corporation. All rights reserved.
56
57
58
59
601.6                              Nov 2P4G,_A2U0T2O1CTL GET NODE REPLICATION-QUORUM(1)
Impressum