From: Alvaro Herrera Date: Thu, 28 Jul 2022 16:21:56 +0000 (+0200) Subject: doc: avoid saying "inheritance" ... X-Git-Tag: REL_16_BETA1~2121 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=70a437aa45b6dcacc2ad894f95ef5bb46b26035f;p=postgresql.git doc: avoid saying "inheritance" ... ... when it applies to partitioned relations. This is almost the opposite of 0c06534bd63b, which removed references to "partition" in favour of "child". Author: Justin Pryzby Reviewed-by: Ashutosh Bapat Reviewed-by: Amit Langote Discussion: https://postgr.es/m/20220525013248.GO19626@telsasoft.com --- diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index a186e35f009..cd2cc37aebd 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -2135,7 +2135,7 @@ SCRAM-SHA-256$<iteration count>:&l relhassubclass bool - True if table or index has (or once had) any inheritance children + True if table or index has (or once had) any inheritance children or partitions @@ -7306,7 +7306,7 @@ SCRAM-SHA-256$<iteration count>:&l Normally there is one entry, with stainherit = false, for each table column that has been analyzed. - If the table has inheritance children, a second entry with + If the table has inheritance children or partitions, a second entry with stainherit = true is also created. This row represents the column's statistics over the inheritance tree, i.e., statistics for the data you'd see with @@ -7389,7 +7389,7 @@ SCRAM-SHA-256$<iteration count>:&l stainherit bool - If true, the stats include inheritance child columns, not just the + If true, the stats include values from child tables, not just the values in the specified relation @@ -7661,7 +7661,7 @@ SCRAM-SHA-256$<iteration count>:&l Normally there is one entry, with stxdinherit = false, for each statistics object that has been analyzed. - If the table has inheritance children, a second entry with + If the table has inheritance children or partitions, a second entry with stxdinherit = true is also created. This row represents the statistics object over the inheritance tree, i.e., statistics for the data you'd see with @@ -7715,7 +7715,7 @@ SCRAM-SHA-256$<iteration count>:&l stxdinherit bool - If true, the stats include inheritance child columns, not just the + If true, the stats include values from child tables, not just the values in the specified relation diff --git a/doc/src/sgml/system-views.sgml b/doc/src/sgml/system-views.sgml index 26ce83eb9b3..9728039e71a 100644 --- a/doc/src/sgml/system-views.sgml +++ b/doc/src/sgml/system-views.sgml @@ -3593,7 +3593,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx inherited bool - If true, this row includes inheritance child columns, not just the + If true, this row includes values from child tables, not just the values in the specified table @@ -3855,7 +3855,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx (references pg_statistic_ext_data.stxdinherit) - If true, the stats include inheritance child columns, not just the + If true, the stats include values from child tables, not just the values in the specified relation @@ -4047,7 +4047,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx (references pg_statistic_ext_data.stxdinherit) - If true, the stats include inheritance child columns, not just the + If true, the stats include values from child tables, not just the values in the specified relation