doc: a small improvement about pg_am description

Started by Yugo Nagataalmost 3 years ago2 messageshackers
Jump to latest
#1Yugo Nagata
nagata@sraoss.co.jp

Hi,

When reading the documentation about operator class, I found
the following description:

The pg_am table contains one row for every index access method.
Support for access to regular tables is built into PostgreSQL,
but all index access methods are described in pg_am.

It seems to me that this description says pg_am contains only
index access methods but not table methods. I wonder it is missed
to fix this when tableam was supported and other documentation
was changed in b73c3a11963c8bb783993cfffabb09f558f86e37.

Attached is a patch to remove the sentence that starts with
"Support for access to regular tables is ....".

Ragards,
Yugo Nagata

--
Yugo NAGATA <nagata@sraoss.co.jp>

Attachments:

fix_doc_xindex.patchtext/x-diff; name=fix_doc_xindex.patchDownload+2-5
#2Jeff Davis
pgsql@j-davis.com
In reply to: Yugo Nagata (#1)
Re: doc: a small improvement about pg_am description

On Wed, 2023-10-25 at 17:25 +0900, Yugo NAGATA wrote:

It seems to me that this description says pg_am contains only
index access methods but not table methods. I wonder it is missed
to fix this when tableam was supported and other documentation
was changed in b73c3a11963c8bb783993cfffabb09f558f86e37.

Thank you for the report.

That section should not refer to pg_am directly now that there's CREATE
ACCESS METHOD. I committed a fix for that which also fixes the problem
you describe.

--
Jeff Davis
PostgreSQL Contributor Team - AWS