@@ -977,6 +977,7 @@ GRANT SELECT ON TABLE pg_catalog.pg_namespace TO backup;
977
977
GRANT SELECT ON TABLE pg_catalog.pg_extension TO backup;
978
978
GRANT EXECUTE ON FUNCTION bt_index_check(regclass) TO backup;
979
979
GRANT EXECUTE ON FUNCTION bt_index_check(regclass, bool) TO backup;
980
+ GRANT EXECUTE ON FUNCTION bt_index_check(regclass, bool, bool) TO backup;
980
981
</programlisting >
981
982
</refsect2 >
982
983
<refsect2 id =" pbk-setting-up-partial-restore" >
@@ -4176,7 +4177,7 @@ pg_probackup restore -B <replaceable>backup_dir</replaceable> --instance <replac
4176
4177
pg_probackup checkdb
4177
4178
[-B <replaceable >backup_dir</replaceable >] [--instance <replaceable >instance_name</replaceable >] [-D <replaceable >data_dir</replaceable >]
4178
4179
[--help] [-j <replaceable >num_threads</replaceable >] [--progress]
4179
- [--skip-block-validation] [--amcheck [--checkunique] [--heapallindexed]]
4180
+ [--amcheck [-- skip-block-validation] [--checkunique] [--heapallindexed]]
4180
4181
[<replaceable >connection_options</replaceable >] [<replaceable >logging_options</replaceable >]
4181
4182
</programlisting >
4182
4183
<para >
@@ -4191,7 +4192,7 @@ pg_probackup checkdb
4191
4192
<para >
4192
4193
Performs logical verification of indexes for the specified
4193
4194
<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 >
4195
4196
extension or the <application >amcheck_next</application > extension
4196
4197
installed in the database to check its indexes. For databases
4197
4198
without <application >amcheck</application >, index verification will be skipped.
@@ -4211,8 +4212,10 @@ pg_probackup checkdb
4211
4212
installed in the database.
4212
4213
</para >
4213
4214
<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.
4216
4219
</para >
4217
4220
</listitem >
4218
4221
</varlistentry >
@@ -4226,9 +4229,10 @@ pg_probackup checkdb
4226
4229
<option >--amcheck</option > flag.
4227
4230
</para >
4228
4231
<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.
4232
4236
</para >
4233
4237
</listitem >
4234
4238
</varlistentry >
0 commit comments