diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index 0689cc9..3e13e38 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -577,6 +577,89 @@ + + Capability information formerly stored in pg_am + is now available via the functions + pg_indexam_has_capability and + pg_index_has_capability + (see ). The following + boolean-valued capability names are currently supported: + + + + Capabilities + + + + + Name + Description + + + + + amcanorder + Does the access method support ordered scans sorted by the + indexed column's value? + + + amcanorderbyop + Does the access method support ordered scans sorted by the result + of an operator on the indexed column? + + + amcanbackward + Does the access method support backward scanning? + + + amcanunique + Does the access method support unique indexes? + + + amcanmulticol + Does the access method support multicolumn indexes? + + + amoptionalkey + Does the access method support a scan without any constraint + for the first index column? + + + amsearcharray + Does the access method support ScalarArrayOpExpr searches? + + + amsearchnulls + Does the access method support IS NULL/NOT NULL searches? + + + amstorage + Can index storage data type differ from column data type? + + + amclusterable + Can an index of this type be clustered on? + + + ampredlocks + Does an index of this type manage fine-grained predicate locks? + + + amgettuple + Does the access method provide an amgettuple function? + + + amgetbitmap + Does the access method provide an amgetbitmap function? + + + amcanreturn + Does the access method support index-only scans? + + + +
+ diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index baef80d..fd6b983 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -16193,6 +16193,14 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); + pg_indexam_has_capability + + + + pg_index_has_capability + + + pg_options_to_table @@ -16380,6 +16388,16 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); number of columns, pretty-printing is implied + pg_indexam_has_capability(am_oid, cap_name) + boolean + Test whether an index access method has a specified capability + + + pg_index_has_capability(index_oid, cap_name) + boolean + Test whether the access method for the specified index has a specified capability + + pg_options_to_table(reloptions) setof record get the set of storage option name/value pairs @@ -16523,6 +16541,16 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); + pg_indexam_has_capability and + pg_index_has_capability return whether the specified + access method, or the access method for the specified index, advertises the + named capability. NULL is returned if the capability + name is not known; true if the capability is advertised, + false if it is not. Refer + to for capability names and their meanings. + + + pg_options_to_table returns the set of storage option name/value pairs (option_name/option_value) when passed