1PG_AUTOCTL GET NODE CANDIDATE-PRpIgO_RaIuTtYoP(_G1f_)aAiUlToOvCeTrL GET NODE CANDIDATE-PRIORITY(1)
2
3
4

NAME

6       pg_autoctl get node candidate-priority - pg_autoctl get node candidate-
7       priority
8
9       pg_autoctl get candidate-priority  -  get  candidate-priority  property
10       from the monitor
11

SYNOPSIS

13       This command prints pg_autoctl candidate priority for a given node:
14
15          usage: pg_autoctl get node candidate-priority  [ --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 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

EXAMPLES

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

AUTHOR

52       Microsoft
53
55       Copyright (c) Microsoft Corporation. All rights reserved.
56
57
58
59
602.0                              Sep 1P3G,_A2U0T2O3CTL GET NODE CANDIDATE-PRIORITY(1)
Impressum