Thread: doc: a small improvement about pg_am description

doc: a small improvement about pg_am description

From
Yugo NAGATA
Date:
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>

Attachment

Re: doc: a small improvement about pg_am description

From
Jeff Davis
Date:
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