pg_conftool1
Read and edit postgresql cluster configuration files
Usage
pg_conftool [options]
[version
cluster]
[configfile]
command
Overview
pg_conftool allows showing and setting parameters in PostgreSQL configuration files.
If version cluster is omitted, it defaults to the default cluster (see user_clusters(5) and postgresqlrc(5)). If configfile is omitted, it defaults to postgresql.conf. configfile can also be a path, in which case version cluster is ignored.
Options
-
-b, --boolean -
Format boolean value as
onoroff(not for "show all").
-
-s, --short -
Show only the value (instead of key = value pair).
-
-v, --verbose -
Verbose output.
-
--help -
Print help.
Commands
|
Show a parameter, or all present in this config file. |
|---|---|
|
Set or update a parameter. |
|
Remove (comment out) a parameter from a config file. |
|
Open the config file in an editor. Unless $EDITOR is set, |
Releases
6 releases since Debian 8 (Jessie); the text changed 5 times.
--boolean since Debian 10 (Buster);
-b since Debian 10 (Buster).