aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2022-07-28 18:21:56 +0200
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2022-07-28 18:21:56 +0200
commit70a437aa45b6dcacc2ad894f95ef5bb46b26035f (patch)
tree7c8f45b18041dc48e90009cf9ea32856e72d519b
parent851f4cc75cdd8c831f1baa9a7abf8c8248b65890 (diff)
downloadpostgresql-70a437aa45b6dcacc2ad894f95ef5bb46b26035f.tar.gz
postgresql-70a437aa45b6dcacc2ad894f95ef5bb46b26035f.zip
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 <pryzby@telsasoft.com> Reviewed-by: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com> Reviewed-by: Amit Langote <amitlangote09@gmail.com> Discussion: https://postgr.es/m/20220525013248.GO19626@telsasoft.com
-rw-r--r--doc/src/sgml/catalogs.sgml10
-rw-r--r--doc/src/sgml/system-views.sgml6
2 files changed, 8 insertions, 8 deletions
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$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
<structfield>relhassubclass</structfield> <type>bool</type>
</para>
<para>
- 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
</para></entry>
</row>
@@ -7306,7 +7306,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
<para>
Normally there is one entry, with <structfield>stainherit</structfield> =
<literal>false</literal>, 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
<structfield>stainherit</structfield> = <literal>true</literal> 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$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
<structfield>stainherit</structfield> <type>bool</type>
</para>
<para>
- 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
</para></entry>
</row>
@@ -7661,7 +7661,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
<para>
Normally there is one entry, with <structfield>stxdinherit</structfield> =
<literal>false</literal>, 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
<structfield>stxdinherit</structfield> = <literal>true</literal> 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$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
<structfield>stxdinherit</structfield> <type>bool</type>
</para>
<para>
- 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
</para></entry>
</row>
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
<structfield>inherited</structfield> <type>bool</type>
</para>
<para>
- 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
</para></entry>
</row>
@@ -3855,7 +3855,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
(references <link linkend="catalog-pg-statistic-ext-data"><structname>pg_statistic_ext_data</structname></link>.<structfield>stxdinherit</structfield>)
</para>
<para>
- 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
</para></entry>
</row>
@@ -4047,7 +4047,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
(references <link linkend="catalog-pg-statistic-ext-data"><structname>pg_statistic_ext_data</structname></link>.<structfield>stxdinherit</structfield>)
</para>
<para>
- 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
</para></entry>
</row>