Skip to content

Commit 02e5c27

Browse files
committed
doc: avoid saying "inheritance" ...
... when it applies to partitioned relations. This is almost the opposite of 0c06534, 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
1 parent 8348413 commit 02e5c27

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

doc/src/sgml/catalogs.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2135,7 +2135,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
21352135
<structfield>relhassubclass</structfield> <type>bool</type>
21362136
</para>
21372137
<para>
2138-
True if table or index has (or once had) any inheritance children
2138+
True if table or index has (or once had) any inheritance children or partitions
21392139
</para></entry>
21402140
</row>
21412141

@@ -7306,7 +7306,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
73067306
<para>
73077307
Normally there is one entry, with <structfield>stainherit</structfield> =
73087308
<literal>false</literal>, for each table column that has been analyzed.
7309-
If the table has inheritance children, a second entry with
7309+
If the table has inheritance children or partitions, a second entry with
73107310
<structfield>stainherit</structfield> = <literal>true</literal> is also created. This row
73117311
represents the column's statistics over the inheritance tree, i.e.,
73127312
statistics for the data you'd see with
@@ -7389,7 +7389,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
73897389
<structfield>stainherit</structfield> <type>bool</type>
73907390
</para>
73917391
<para>
7392-
If true, the stats include inheritance child columns, not just the
7392+
If true, the stats include values from child tables, not just the
73937393
values in the specified relation
73947394
</para></entry>
73957395
</row>
@@ -7661,7 +7661,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
76617661
<para>
76627662
Normally there is one entry, with <structfield>stxdinherit</structfield> =
76637663
<literal>false</literal>, for each statistics object that has been analyzed.
7664-
If the table has inheritance children, a second entry with
7664+
If the table has inheritance children or partitions, a second entry with
76657665
<structfield>stxdinherit</structfield> = <literal>true</literal> is also created.
76667666
This row represents the statistics object over the inheritance tree, i.e.,
76677667
statistics for the data you'd see with
@@ -7715,7 +7715,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
77157715
<structfield>stxdinherit</structfield> <type>bool</type>
77167716
</para>
77177717
<para>
7718-
If true, the stats include inheritance child columns, not just the
7718+
If true, the stats include values from child tables, not just the
77197719
values in the specified relation
77207720
</para></entry>
77217721
</row>

doc/src/sgml/system-views.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3593,7 +3593,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
35933593
<structfield>inherited</structfield> <type>bool</type>
35943594
</para>
35953595
<para>
3596-
If true, this row includes inheritance child columns, not just the
3596+
If true, this row includes values from child tables, not just the
35973597
values in the specified table
35983598
</para></entry>
35993599
</row>
@@ -3855,7 +3855,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
38553855
(references <link linkend="catalog-pg-statistic-ext-data"><structname>pg_statistic_ext_data</structname></link>.<structfield>stxdinherit</structfield>)
38563856
</para>
38573857
<para>
3858-
If true, the stats include inheritance child columns, not just the
3858+
If true, the stats include values from child tables, not just the
38593859
values in the specified relation
38603860
</para></entry>
38613861
</row>
@@ -4047,7 +4047,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
40474047
(references <link linkend="catalog-pg-statistic-ext-data"><structname>pg_statistic_ext_data</structname></link>.<structfield>stxdinherit</structfield>)
40484048
</para>
40494049
<para>
4050-
If true, the stats include inheritance child columns, not just the
4050+
If true, the stats include values from child tables, not just the
40514051
values in the specified relation
40524052
</para></entry>
40534053
</row>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy