Skip to content

Commit 55853d6

Browse files
committed
Clarify descriptions of relhassubclass and relispartition in pg_class
Three places are fixed, one for each author. Reported-by: Tom Lane Author: Tom Lane, Amit Langote, Michael Paquier Discussion: https://postgr.es/m/82470.1540177167@sss.pgh.pa.us
1 parent 17f206f commit 55853d6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

doc/src/sgml/catalogs.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1900,7 +1900,9 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
19001900
<entry><structfield>relhassubclass</structfield></entry>
19011901
<entry><type>bool</type></entry>
19021902
<entry></entry>
1903-
<entry>True if table has (or once had) any inheritance children</entry>
1903+
<entry>
1904+
True if table or index has (or once had) any inheritance children
1905+
</entry>
19041906
</row>
19051907

19061908
<row>
@@ -1948,7 +1950,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
19481950
<entry><structfield>relispartition</structfield></entry>
19491951
<entry><type>bool</type></entry>
19501952
<entry></entry>
1951-
<entry>True if table is a partition</entry>
1953+
<entry>True if table or index is a partition</entry>
19521954
</row>
19531955

19541956
<row>

src/include/catalog/pg_class.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ CATALOG(pg_class,1259,RelationRelationId) BKI_BOOTSTRAP BKI_ROWTYPE_OID(83,Relat
6060
bool relhasoids; /* T if we generate OIDs for rows of rel */
6161
bool relhasrules; /* has (or has had) any rules */
6262
bool relhastriggers; /* has (or has had) any TRIGGERs */
63-
bool relhassubclass; /* has (or has had) derived classes */
63+
bool relhassubclass; /* has (or has had) child tables or indexes */
6464
bool relrowsecurity; /* row security is enabled or not */
6565
bool relforcerowsecurity; /* row security forced for owners or
6666
* not */

0 commit comments

Comments
 (0)