Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Doc: copy-edit the introductory para for the pg_class catalog.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Sep 2023 18:52:36 +0000 (14:52 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Sep 2023 18:52:36 +0000 (14:52 -0400)
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

doc/src/sgml/catalogs.sgml

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