mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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
This commit is contained in:
@ -217,6 +217,23 @@ PostgreSQL documentation
|
||||
</listitem>
|
||||
</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>
|
||||
|
Reference in New Issue
Block a user