PG_AUTOCTL_RELOAD(1)

πŸ“¦
version 2.1 Β· 2 versions
, in fedora 43, fedora 44

πŸ’– PG_AUTOCTL RELOAD(1) πŸ’–

okay bestie, welcome to the pg_autoctl reload page from the pg_auto_failover manual. yes she's a whole vibe, and yes she's here to tell you how to gently poke a running service until it re-reads its config. let's go ✨


πŸ¦‹ NAME πŸ¦‹

pg_autoctl reload β€” pg_autoctl reload

pg_autoctl reload β€” signal the pg_autoctl so it can reload its configuration. it's giving "hey bestie, refresh ur settings" energy 🫢


🌸 SYNOPSIS 🌸

so this command signals a running pg_autoctl process to reload its configuration from disk, and it also signals the managed Postgres service to reload its configuration. two-for-one, iconic, no cap πŸ’…

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

--pgdata      path to data directory

✨ DESCRIPTION ✨

the pg_autoctl reload command finds the PID of the running service for the given --pgdata, and if the process is still running, it sends a SIGHUP signal to the process. that's it, that's the whole plot. lowkey elegant, highkey effective 🌈


πŸ’… OPTIONS πŸ’…

  • --pgdata β€” the location of the Postgres node being managed locally. it defaults to the environment variable PGDATA. and listen: use --monitor to connect to a monitor from anywhere, rather than the monitor URI used by a local Postgres node managed with pg_autoctl. iykyk πŸŽ€

πŸ‘‘ AUTHOR πŸ‘‘

Microsoft


Copyright (c) Microsoft Corporation. All rights reserved.


and that's the tea, bestie 🧚 go forth and SIGHUP responsibly. remember: every single flag, every default, every path β€” all still facts, all still real, the vibes are just cuter now πŸ’œ

signing off from pg_auto_failover version 2.1, dated Jan 18, 2025 β€” stay hydrated, reload ur config, and slay βœ¨πŸ’–πŸŽ€

πŸ“¦ where this page comes from