From 70a437aa45b6dcacc2ad894f95ef5bb46b26035f Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Thu, 28 Jul 2022 18:21:56 +0200 Subject: [PATCH] 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 --- doc/src/sgml/catalogs.sgml | 10 +++++----- doc/src/sgml/system-views.sgml | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index a186e35f00..cd2cc37aeb 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 26ce83eb9b..9728039e71 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