From: Justin Pryzby <pryzby@telsasoft.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: David Rowley <david.rowley@2ndquadrant.com>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Cc: pgsql-hackers@lists.postgresql.org, "Shinoda, Noriyoshi (PN Japan FSIP)" <noriyoshi.shinoda@hpe.com>
Cc: Tomas Vondra <tomas.vondra@enterprisedb.com>
Subject: doc phrase: "inheritance child"
Date: Tue, 24 May 2022 20:32:48 -0500
Message-ID: <20220525013248.GO19626@telsasoft.com> (raw)
In this old sub-thread, we removed the use of word "partition" when it didn't
mean "declarative partitioning".
https://www.postgresql.org/message-id/flat/20180601213300.GT5164%40telsasoft.com#32efea8c1aa0e875d20...
Now, I'm proposing to get rid of the phrase "inheritance child" when it also
*does* apply to declarative partitioning.
Attachments:
[text/x-diff] 0001-doc-avoid-saying-inheritence-when-it-applies-to-part.patch (3.4K, ../20220525013248.GO19626@telsasoft.com/2-0001-doc-avoid-saying-inheritence-when-it-applies-to-part.patch)
download | inline diff:
From 499fdd3ab35e6a152ae2cada934dfd7df48e7e10 Mon Sep 17 00:00:00 2001
From: Justin Pryzby <pryzbyj@telsasoft.com>
Date: Mon, 25 Apr 2022 14:59:12 -0500
Subject: [PATCH] doc: avoid saying "inheritence" when it applies to
partitioned rels
This is almost the opposite of 0c06534bd, which removed references to
"partition" for "child".
---
doc/src/sgml/catalogs.sgml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgmlindex c00c93dd7be..366a142d35e 100644--- a/doc/src/sgml/catalogs.sgml+++ b/doc/src/sgml/catalogs.sgml@@ -2135,7 +2135,7 @@ SCRAM-SHA-256$<replaceable><iteration count></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><iteration count></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><iteration count></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 child tables, not just the
values in the specified relation
</para></entry>
</row>
@@ -7661,7 +7661,7 @@ SCRAM-SHA-256$<replaceable><iteration count></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><iteration count></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 child childs, not just the
values in the specified relation
</para></entry>
</row>
@@ -13152,7 +13152,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 child tables, not just the
values in the specified table
</para></entry>
</row>
--
2.17.1
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: pryzby@telsasoft.com, alvherre@2ndquadrant.com, Langote_Amit_f8@lab.ntt.co.jp, david.rowley@2ndquadrant.com, peter.eisentraut@2ndquadrant.com, ashutosh.bapat@enterprisedb.com, noriyoshi.shinoda@hpe.com, tomas.vondra@enterprisedb.com
Subject: Re: doc phrase: "inheritance child"
In-Reply-To: <20220525013248.GO19626@telsasoft.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox