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 formated data.
34
35       --formation
36              Show replication settings for given formation. Defaults  to  de‐
37              fault.
38

EXAMPLES

40          $ pg_autoctl get formation number-sync-standbys
41          1
42
43          $ pg_autoctl get formation number-sync-standbys --json
44          {
45              "number-sync-standbys": 1
46          }
47

AUTHOR

49       Microsoft
50
52       Copyright (c) Microsoft Corporation. All rights reserved.
53
54
55
56
571.6                           PG_JAaUnTO2C1T,L 2G0E2T2FORMATION NUMBER-SYNC-STANDBYS(1)
Impressum