Skip to content

Commit e9d12a5

Browse files
committed
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>
1 parent 9ba9c70 commit e9d12a5

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

doc/src/sgml/xindex.sgml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,11 @@
2929
<title>Index Methods and Operator Classes</title>
3030

3131
<para>
32-
The <classname>pg_am</classname> table contains one row for every
33-
index method (internally known as access method). Support for
34-
regular access to tables is built into
35-
<productname>PostgreSQL</productname>, but all index methods are
36-
described in <classname>pg_am</classname>. It is possible to add a
37-
new index access method by writing the necessary code and
38-
then creating an entry in <classname>pg_am</classname> &mdash; but that is
39-
beyond the scope of this chapter (see <xref linkend="indexam"/>).
32+
Operator classes are associated with an index access method, such
33+
as <link linkend="btree">B-Tree</link>
34+
or <link linkend="gin">GIN</link>. Custom index access method may be
35+
defined with <xref linkend="sql-create-access-method"/>. See
36+
<xref linkend="indexam"/> for details.
4037
</para>
4138

4239
<para>

0 commit comments

Comments
 (0)