Doc: copy-edit the introductory para for the pg_class catalog.

The previous wording had a faint archaic whiff to it, and more
importantly used "catalogs" as a verb, which while cutely
self-referential seems likely to provoke confusion in this
particular context.  Also consistently use "kind" not "type" to
refer to the different kinds of relations distinguished by relkind.

Per gripe from Martin Nash.  Back-patch to supported versions.

Discussion: https://postgr.es/m/169518739902.3727338.4793815593763320945@wrigleys.postgresql.org
This commit is contained in:
Tom Lane 2023-09-22 14:52:36 -04:00
parent c994d06f10
commit 2a47c04535

View File

@ -1646,15 +1646,15 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
</indexterm> </indexterm>
<para> <para>
The catalog <structname>pg_class</structname> catalogs tables and most The catalog <structname>pg_class</structname> describes tables and
everything else that has columns or is otherwise similar to a other objects that have columns or are otherwise similar to a
table. This includes indexes (but see also table. This includes indexes (but see also
<structname>pg_index</structname>), sequences (but see also <structname>pg_index</structname>), sequences (but see also
<structname>pg_sequence</structname>), views, materialized <structname>pg_sequence</structname>), views, materialized
views, composite types, and TOAST tables; see <structfield>relkind</structfield>. views, composite types, and TOAST tables; see <structfield>relkind</structfield>.
Below, when we mean all of these Below, when we mean all of these kinds of objects we speak of
kinds of objects we speak of <quote>relations</quote>. Not all <quote>relations</quote>. Not all of <structname>pg_class</structname>'s
columns are meaningful for all relation types. columns are meaningful for all relation kinds.
</para> </para>
<table> <table>