@@ -977,6 +977,7 @@ GRANT SELECT ON TABLE pg_catalog.pg_namespace TO backup;
977977GRANT SELECT ON TABLE pg_catalog.pg_extension TO backup;
978978GRANT EXECUTE ON FUNCTION bt_index_check(regclass) TO backup;
979979GRANT EXECUTE ON FUNCTION bt_index_check(regclass, bool) TO backup;
980+ GRANT EXECUTE ON FUNCTION bt_index_check(regclass, bool, bool) TO backup;
980981</programlisting >
981982 </refsect2 >
982983 <refsect2 id =" pbk-setting-up-partial-restore" >
@@ -4176,7 +4177,7 @@ pg_probackup restore -B <replaceable>backup_dir</replaceable> --instance <replac
41764177pg_probackup checkdb
41774178[-B <replaceable >backup_dir</replaceable >] [--instance <replaceable >instance_name</replaceable >] [-D <replaceable >data_dir</replaceable >]
41784179[--help] [-j <replaceable >num_threads</replaceable >] [--progress]
4179- [--skip-block-validation] [--amcheck [--checkunique] [--heapallindexed]]
4180+ [--amcheck [-- skip-block-validation] [--checkunique] [--heapallindexed]]
41804181[<replaceable >connection_options</replaceable >] [<replaceable >logging_options</replaceable >]
41814182</programlisting >
41824183 <para >
@@ -4191,7 +4192,7 @@ pg_probackup checkdb
41914192 <para >
41924193 Performs logical verification of indexes for the specified
41934194 <productname >PostgreSQL</productname > instance if no corruption was found while checking
4194- data files. You must have the <application >amcheck</application >
4195+ data files. You must have the <ulink url = " https://postgrespro.com/docs/enterprise/current/amcheck.html " >< application >amcheck</application ></ ulink >
41954196 extension or the <application >amcheck_next</application > extension
41964197 installed in the database to check its indexes. For databases
41974198 without <application >amcheck</application >, index verification will be skipped.
@@ -4211,8 +4212,10 @@ pg_probackup checkdb
42114212 installed in the database.
42124213 </para >
42134214 <para >
4214- This verification is only possible if it is supported by the version of the
4215- <application >amcheck</application > extension you are using.
4215+ The verification of unique constraints is only possible if in the version of the
4216+ <application >amcheck</application > extension you are using, the
4217+ <function >bt_index_check</function > function takes the
4218+ <parameter >checkunique</parameter > parameter.
42164219 </para >
42174220 </listitem >
42184221 </varlistentry >
@@ -4226,9 +4229,10 @@ pg_probackup checkdb
42264229 <option >--amcheck</option > flag.
42274230 </para >
42284231 <para >
4229- This check is only possible if it is supported by the version of the
4230- <application >amcheck</application > extension you are using or
4231- if the <application >amcheck_next</application > extension is used instead.
4232+ This check is only possible if in the version of the
4233+ <application >amcheck</application >/<application >amcheck_next</application > extension
4234+ you are using, the <function >bt_index_check</function >
4235+ function takes the <parameter >heapallindexed</parameter > parameter.
42324236 </para >
42334237 </listitem >
42344238 </varlistentry >