PG_AUTOCTL GET FORMATION NUMBER-SYNC-STANDBYS(1)
π pg_autoctl get formation number-sync-standbys π
okay so bestie, welcome to the pg_autoctl manual page for pg_autoctl get formation number-sync-standbys β¨ this is your girl for peeking at the number_sync_standbys setting of a formation, straight from the monitor π
πΈ NAME πΈ
pg_autoctl get formation number-sync-standbys β pg_autoctl get formation number-sync-standbys
pg_autoctl get formation number-sync-standbys β get number_sync_standbys for a formation from the monitor π
π¦ SYNOPSIS π¦
this command prints the pg_autoctl replication settings for number sync standbys, like:
usage: pg_autoctl get formation number-sync-standbys [ --pgdata ] [ --json ] [ --formation ]
--pgdata path to data directory
--json output data in the JSON format
--formation pg_auto_failover formation
β¨ DESCRIPTION β¨
See also pg_autoctl show settings for the full list of replication settings π (iykyk, go check that one out too).
π OPTIONS π
--pgdataβ where the Postgres node being managed locally lives. Defaults to the environment variablePGDATA. Use--monitorto connect to a monitor from anywhere, rather than the monitor URI used by a local Postgres node managed withpg_autoctlπ«Ά--jsonβ output JSON formatted data π¦--formationβ show replication settings for given formation. Defaults todefaultβ
π ENVIRONMENT π
PGDATAβ Postgres directory location. Can be used instead of the--pgdataoption πPG_AUTOCTL_MONITORβ Postgres URI to connect to the monitor node, can be used instead of the--monitoroption π₯XDG_CONFIG_HOMEβ thepg_autoctlcommand stores its configuration files in the standard placeXDG_CONFIG_HOME. See the XDG Base Directory Specification πXDG_DATA_HOMEβ thepg_autoctlcommand stores its internal states files in the standard placeXDG_DATA_HOME, which defaults to~/.local/share. See the XDG Base Directory Specification π¦
π« EXAMPLES π«
$ pg_autoctl get formation number-sync-standbys
1
$ pg_autoctl get formation number-sync-standbys --json
{
"number-sync-standbys": 1
}
π AUTHOR π
Microsoft
π COPYRIGHT π
Copyright (c) Microsoft Corporation. All rights reserved.
and that's the whole vibe bestie, no cap π
sending you off with all the love β this was pg_auto_failover version 2.2, dated Apr 07, 2025, and the manual section is PG_AUTOCTL G...SYNC-STANDBYS(1) π«Άβ¨ go get those sync standbys, you got this π
π¦ where this page comes from
- debian trixie: pg-auto-failover-cli 2.2-2 Β· PostgreSQL
- ubuntu questing: pg-auto-failover-cli 2.2-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms