1PG_AUTOCTL GET FORMATION NUMBERP-pGSg_Y_ANaUCuT-tOSoCT_TAfLNaDiGBlEYoTSv(eF1rO)RMATION NUMBER-SYNC-STANDBYS(1)
2
3
4

NAME

6       pg_autoctl  get  formation number-sync-standbys - pg_autoctl get forma‐
7       tion number-sync-standbys
8
9       pg_autoctl get formation number-sync-standbys - get  number_sync_stand‐
10       bys for a formation from the monitor
11

SYNOPSIS

13       This  command  prints a pg_autoctl replication settings for number sync
14       standbys:
15
16          usage: pg_autoctl get formation number-sync-standbys  [ --pgdata ] [ --json ] [ --formation ]
17
18          --pgdata      path to data directory
19          --json        output data in the JSON format
20          --formation   pg_auto_failover formation
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

ENVIRONMENT

40       PGDATA
41          Postgres directory location. Can be used instead of the --pgdata op‐
42          tion.
43
44       PG_AUTOCTL_MONITOR
45          Postgres URI to connect to the monitor node, can be used instead  of
46          the --monitor option.
47
48       XDG_CONFIG_HOME
49          The  pg_autoctl  command stores its configuration files in the stan‐
50          dard place XDG_CONFIG_HOME. See the XDG  Base  Directory  Specifica‐
51          tion.
52
53       XDG_DATA_HOME
54          The pg_autoctl command stores its internal states files in the stan‐
55          dard place XDG_DATA_HOME, which defaults to ~/.local/share. See  the
56          XDG Base Directory Specification.
57

EXAMPLES

59          $ pg_autoctl get formation number-sync-standbys
60          1
61
62          $ pg_autoctl get formation number-sync-standbys --json
63          {
64              "number-sync-standbys": 1
65          }
66

AUTHOR

68       Microsoft
69
71       Copyright (c) Microsoft Corporation. All rights reserved.
72
73
74
75
762.0                           PG_SAeUpTO1C3T,L 2G0E2T3FORMATION NUMBER-SYNC-STANDBYS(1)
Impressum