PG_AUTOCTL RELOAD(1)

✨ NAME ✨

pg_autoctl reload β€” bestie, it's giving "tell pg_autoctl to go re-read its config" πŸ’…

pg_autoctl reload β€” signal the pg_autoctl for it to reload its configuration


🌸 SYNOPSIS 🌸

okay so this command signals a running pg_autoctl process to reload its configuration from disk, and also signals the managed Postgres service to reload its configuration. two for one, we love to see it 🫢

usage: pg_autoctl reload  [ --pgdata ] [ --json ]

--pgdata      path to data directory

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie πŸ“ β€” the pg_autoctl reload command goes and finds the PID of the running service for whatever --pgdata you gave it. and if that process is still running (vibe check: passed ✨), it sends a SIGHUP signal to it. that's it. that's the whole job. iconic, lowkey, no notes πŸ‘‘


πŸ’– OPTIONS πŸ’–

  • --pgdata β€” where the Postgres node that's being managed locally lives, path-wise. it defaults to the environment variable PGDATA. and psst β€” use --monitor to connect to a monitor from literally anywhere, instead of the monitor URI that a local Postgres node managed with pg_autoctl would use. iykyk 🌈

πŸ‘‘ AUTHOR πŸ‘‘

Microsoft


Copyright (c) Microsoft Corporation. All rights reserved.


okay that's the whole page, you ate that fr fr πŸ’œ this was pg_autoctl reload from the pg_auto_failover manual, version 2.2, dated Apr 07, 2025 β€” mwah, slay, periodt βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from