pg_conftool: read and edit PostgreSQL cluster configuration files (postgresql-common)
pg_conftool [OPTIONS] [version cluster] [configfile] {show|set|remove|edit} [parameter [value]]
What it does
Shows or changes settings in postgresql.conf (or another config file of a cluster) from the shell. A reload or restart is still needed to apply them.
Examples
$ pg_conftool 18 main show max_connectionswhat the file says
$ sudo pg_conftool 18 main set work_mem 16MBchange it in postgresql.conf
Try pg_conftool in a real terminal Free, in your browser - a real Ubuntu terminal to try it in, with missions that check your work.