PG_AUTOCTL DROP FORMATION(1)
π pg_autoctl drop formation (manual page 1, pg_auto_failover)
okay bestie, welcome to pg_autoctl drop formation β yes that's the command, yes it's the manual, yes we're doing this together π«Ά
β¨ NAME β¨
pg_autoctl drop formation β literally just pg_autoctl drop formation, that's the name, that's the vibe.
pg_autoctl drop formation β it drops a formation on the pg_auto_failover monitor. gone. poof. bye girl π
πΈ SYNOPSIS πΈ
so this command drops an existing formation on the monitor, and here's exactly what that looks like:
usage: pg_autoctl drop formation [ --pgdata --formation ]
--pgdata path to data directory
--monitor pg_auto_failover Monitor Postgres URL
--formation name of the formation to drop
π OPTIONS π
--pgdataβ where the Postgres node that's being managed locally lives. defaults to the environment variablePGDATA. and listen, you can use--monitorto connect to a monitor from anywhere, instead of the monitor URI that a local Postgres node managed withpg_autoctlis using. flexibility, we love her β¨--monitorβ the Postgres URI you use to connect to the monitor. it must use theautoctl_nodeusername and target thepg_auto_failoverdatabase name. no cap. and if you need to see the Postgres URI, you can show it from the monitor node withpg_autoctl show uri. iconic π--formationβ the name of the formation to drop from the monitor. that's it. that's the one. drop her πΈ
π¦ ENVIRONMENT π¦
PGDATAβ Postgres directory location. you can use this instead of the--pgdataoption. same energy, different delivery πPG_AUTOCTL_MONITORβ Postgres URI to connect to the monitor node, and yes you can use this instead of the--monitoroption. slayXDG_CONFIG_HOMEβ thepg_autoctlcommand stores its configuration files in the standard placeXDG_CONFIG_HOME. see the XDG Base Directory Specification for the deets π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. the standard place stays standard, periodt π«
π AUTHOR π
Microsoft π«Ά
π COPYRIGHT π
Copyright (c) Microsoft Corporation. All rights reserved.
bestie reminder: this is the real deal, so keep the actual facts close. nothing here is guesswork β it's all straight from the page. no cap. π₯
okay that's the whole thing, you ate that π version 2.2, dated Apr 07, 2025 β mwah, go drop that formation, main character energy only ππ¦
π¦ 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