diff options
author | Michael Paquier <michael@paquier.xyz> | 2018-10-22 15:26:28 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2018-10-22 15:26:28 +0900 |
commit | 55853d666ce5d0024c50dc3d223346df28abfa70 (patch) | |
tree | b6da9b87c32d7f9b058bda78b7282b71846b5dce | |
parent | 17f206fbc824d2b4b14480199ca9ff7dea417eda (diff) | |
download | postgresql-55853d666ce5d0024c50dc3d223346df28abfa70.tar.gz postgresql-55853d666ce5d0024c50dc3d223346df28abfa70.zip |
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
-rw-r--r-- | doc/src/sgml/catalogs.sgml | 6 | ||||
-rw-r--r-- | src/include/catalog/pg_class.h | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index 6d6fbecd125..9edba96fabb 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -1900,7 +1900,9 @@ SCRAM-SHA-256$<replaceable><iteration count></replaceable>:<replaceable>&l <entry><structfield>relhassubclass</structfield></entry> <entry><type>bool</type></entry> <entry></entry> - <entry>True if table has (or once had) any inheritance children</entry> + <entry> + True if table or index has (or once had) any inheritance children + </entry> </row> <row> @@ -1948,7 +1950,7 @@ SCRAM-SHA-256$<replaceable><iteration count></replaceable>:<replaceable>&l <entry><structfield>relispartition</structfield></entry> <entry><type>bool</type></entry> <entry></entry> - <entry>True if table is a partition</entry> + <entry>True if table or index is a partition</entry> </row> <row> diff --git a/src/include/catalog/pg_class.h b/src/include/catalog/pg_class.h index dc6c415c586..788d7a31dc0 100644 --- a/src/include/catalog/pg_class.h +++ b/src/include/catalog/pg_class.h @@ -60,7 +60,7 @@ CATALOG(pg_class,1259,RelationRelationId) BKI_BOOTSTRAP BKI_ROWTYPE_OID(83,Relat bool relhasoids; /* T if we generate OIDs for rows of rel */ bool relhasrules; /* has (or has had) any rules */ bool relhastriggers; /* has (or has had) any TRIGGERs */ - bool relhassubclass; /* has (or has had) derived classes */ + bool relhassubclass; /* has (or has had) child tables or indexes */ bool relrowsecurity; /* row security is enabled or not */ bool relforcerowsecurity; /* row security forced for owners or * not */ |