PG_CONFTOOL(1)

✨ PG_CONFTOOL(1) ✨

okay bestie, welcome to pg_conftool πŸ’– this is section 1 of the manual, from the Debian PostgreSQL infrastructure era, and she is here to help you read and edit PostgreSQL cluster config files without losing your whole mind πŸ’…


🌸 NAME 🌸

pg_conftool β€” read and edit PostgreSQL cluster configuration files πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

pg_conftool [options] [version cluster] [configfile] command

✨ DESCRIPTION ✨

so, like, pg_conftool lets you show and set parameters in PostgreSQL configuration files. that's the whole gig. she's a config file whisperer 🧚

if you ghost the version cluster part and don't give it at all, it defaults to the default cluster β€” check user_clusters(5) and postgresqlrc(5) for the deets on that, iykyk πŸ“–

and if you skip configfile, it just defaults to postgresql.conf like it's no big deal. configfile can also be a path, and in that case version cluster gets completely ignored β€” not even a vibe check, just straight up sidelined πŸ’€


πŸ’… OPTIONS πŸ’…

  • -b, --boolean β€” format boolean values as on or off. ⚠️ heads up: this does not work for "show all", so don't come crying to me when it doesn't.
  • -s, --short β€” just show the value, not the whole key = value pair. short queen behavior ✨
  • -v, --verbose β€” verbose output, because sometimes you want her to talk more πŸ’¬
  • --help β€” print help. classic. iconic. we love a --help. 🫢

πŸ‘‘ COMMANDS πŸ‘‘

  • show parameter|all β€” show a single parameter, or all of the parameters present in this config file. pick your fighter ⭐
  • set parameter value β€” set or update a parameter. this is the glow-up button 🌈
  • remove parameter β€” remove a parameter from a config file by commenting it out. she's not gone, she's just resting πŸ™ˆ
  • edit β€” open the config file in an editor. unless $EDITOR is set, vi gets used, so... godspeed to anyone who hasn't learned how to exit vi yet 😭 (it's :q! bestie, you're welcome)

πŸ¦‹ SEE ALSO πŸ¦‹

user_clusters(5), postgresqlrc(5)


πŸ’œ AUTHOR πŸ’œ

Christoph Berg <myon@debian.org> β€” the legend herself πŸŽ€


and that's the whole page, bestie!! written by Debian, dated 2026-07-28, and that's your sign-off πŸ’– now go forth and set some parameters, you absolute main character πŸ‘‘βœ¨

πŸ“¦ where this page comes from