logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pg_conftool - read and edit PostgreSQL cluster configuration files

Author

       Christoph Berg <myon@debian.org>

Debian                                             2025-02-20                                     PG_CONFTOOL(1)

Commands

showparameter|all
           Show a parameter, or all present in this config file.

       setparametervalue
           Set or update a parameter.

       removeparameter
           Remove (comment out) a parameter from a config file.

       edit
           Open the config file in an editor.  Unless $EDITOR is set, vi is used.

Description

pg_conftool allows showing and setting parameters in PostgreSQL configuration files.

       If versioncluster 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 versioncluster is ignored.

Name

       pg_conftool - read and edit PostgreSQL cluster configuration files

Options

-b, --boolean
           Format boolean value as on or off (not for "show all").

       -s, --short
           Show only the value (instead of key = value pair).

       -v, --verbose
           Verbose output.

       --help
           Print help.

See Also

user_clusters(5), postgresqlrc(5)

Synopsis

pg_conftool [options] [versioncluster] [configfile] command

See Also