aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorJeff Davis <jdavis@postgresql.org>2023-10-25 13:20:15 -0700
committerJeff Davis <jdavis@postgresql.org>2023-10-25 13:26:11 -0700
commite9d12a5e22e02bace45dc2ba0e0dcca5b5d4fc52 (patch)
treea8440cc0b138e93af3c4b121b2194e73f2df6c63 /doc/src
parent9ba9c7074fa76787530ac0d50313e317ac7032b9 (diff)
downloadpostgresql-e9d12a5e22e02bace45dc2ba0e0dcca5b5d4fc52.tar.gz
postgresql-e9d12a5e22e02bace45dc2ba0e0dcca5b5d4fc52.zip
Doc fix: Interfacing Extensions to Indexes
Refer to CREATE ACCESS METHOD rather than suggesting direct changes to pg_am. Also corrects index-specific language that predated table access methods. Discussion: https://postgr.es/m/20231025172551.685b7799455f9a6addcf5afa@sraoss.co.jp Reported-by: Yugo NAGATA <nagata@sraoss.co.jp>
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/xindex.sgml13
1 files changed, 5 insertions, 8 deletions
diff --git a/doc/src/sgml/xindex.sgml b/doc/src/sgml/xindex.sgml
index c753d8005ac..22d8ad1aac4 100644
--- a/doc/src/sgml/xindex.sgml
+++ b/doc/src/sgml/xindex.sgml
@@ -29,14 +29,11 @@
<title>Index Methods and Operator Classes</title>
<para>
- The <classname>pg_am</classname> table contains one row for every
- index method (internally known as access method). Support for
- regular access to tables is built into
- <productname>PostgreSQL</productname>, but all index methods are
- described in <classname>pg_am</classname>. It is possible to add a
- new index access method by writing the necessary code and
- then creating an entry in <classname>pg_am</classname> &mdash; but that is
- beyond the scope of this chapter (see <xref linkend="indexam"/>).
+ Operator classes are associated with an index access method, such
+ as <link linkend="btree">B-Tree</link>
+ or <link linkend="gin">GIN</link>. Custom index access method may be
+ defined with <xref linkend="sql-create-access-method"/>. See
+ <xref linkend="indexam"/> for details.
</para>
<para>