diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2021-04-24 10:13:07 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2021-04-24 10:13:07 -0400 |
commit | b859d94c638968ccbb517ac7e151bdd94ed7c16a (patch) | |
tree | 6f2b0c5d482919addd0d4a2c1fb019ba1533c01b /doc/src | |
parent | aa271209f6d995488fc5cba9731415f974823990 (diff) | |
download | postgresql-b859d94c638968ccbb517ac7e151bdd94ed7c16a.tar.gz postgresql-b859d94c638968ccbb517ac7e151bdd94ed7c16a.zip |
Provide pg_amcheck with an --install-missing option
This will install amcheck in the database if not present. The default
schema is for the extension is pg_catalog, but this can be overridden by
providing a value for the option.
Mark Dilger, slightly editorialized by me.
(rather divergent)
Discussion: https://postgr.es/m/bdc0f7c2-09e3-ee57-8471-569dfb509234@dunslane.net
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/pg_amcheck.sgml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/pg_amcheck.sgml b/doc/src/sgml/ref/pg_amcheck.sgml index d01e26faa81..d4989c9f231 100644 --- a/doc/src/sgml/ref/pg_amcheck.sgml +++ b/doc/src/sgml/ref/pg_amcheck.sgml @@ -218,6 +218,23 @@ PostgreSQL documentation </varlistentry> <varlistentry> + <term><option>--install-missing</option></term> + <term><option>--install-missing=<replaceable class="parameter">schema</replaceable></option></term> + <listitem> + <para> + Install any missing extensions that are required to check the + database(s). If not yet installed, each extension's objects will be + installed into the given + <replaceable class="parameter">schema</replaceable>, or if not specified + into schema <literal>pg_catalog</literal>. + </para> + <para> + At present, the only required extension is <xref linkend="amcheck"/>. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><option>-j <replaceable class="parameter">num</replaceable></option></term> <term><option>--jobs=<replaceable class="parameter">num</replaceable></option></term> <listitem> |