diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2023-09-22 14:52:36 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2023-09-22 14:52:36 -0400 |
commit | d7cc7184ccca230fd442ca26a8efe44d283724d8 (patch) | |
tree | f34df03267520257eecdfe9377ed9cb0c9c75843 | |
parent | 7cabb20a95aeea441c82552246732ea507f71469 (diff) | |
download | postgresql-d7cc7184ccca230fd442ca26a8efe44d283724d8.tar.gz postgresql-d7cc7184ccca230fd442ca26a8efe44d283724d8.zip |
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
-rw-r--r-- | doc/src/sgml/catalogs.sgml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index 0036f69175e..2322076f5af 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -1651,15 +1651,15 @@ SCRAM-SHA-256$<replaceable><iteration count></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 <structname>pg_index</structname>), sequences (but see also <structname>pg_sequence</structname>), 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. + Below, when we mean all of these kinds of objects we speak of + <quote>relations</quote>. Not all of <structname>pg_class</structname>'s + columns are meaningful for all relation kinds. </para> <table> |