Skip to content

Commit 903134f

Browse files
committed
doc: Mention index references in pg_inherits
Partitioned indexes are also registered in pg_inherits, but the description of this catalog did not reflect that. Author: Dagfinn Ilmari Mannsåker Discussion: https://postgr.es/m/87k0ynj35y.fsf@wibble.ilmari.org Backpatch-through: 11
1 parent e7591fd commit 903134f

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

doc/src/sgml/catalogs.sgml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4417,9 +4417,9 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
44174417

44184418
<para>
44194419
The catalog <structname>pg_inherits</structname> records information about
4420-
table inheritance hierarchies. There is one entry for each direct
4421-
parent-child table relationship in the database. (Indirect inheritance can be determined
4422-
by following chains of entries.)
4420+
table and index inheritance hierarchies. There is one entry for each direct
4421+
parent-child table or index relationship in the database. (Indirect
4422+
inheritance can be determined by following chains of entries.)
44234423
</para>
44244424

44254425
<table>
@@ -4443,7 +4443,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
44434443
(references <link linkend="catalog-pg-class"><structname>pg_class</structname></link>.<structfield>oid</structfield>)
44444444
</para>
44454445
<para>
4446-
The OID of the child table
4446+
The OID of the child table or index
44474447
</para></entry>
44484448
</row>
44494449

@@ -4453,7 +4453,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
44534453
(references <link linkend="catalog-pg-class"><structname>pg_class</structname></link>.<structfield>oid</structfield>)
44544454
</para>
44554455
<para>
4456-
The OID of the parent table
4456+
The OID of the parent table or index
44574457
</para></entry>
44584458
</row>
44594459

@@ -4465,6 +4465,10 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
44654465
If there is more than one direct parent for a child table (multiple
44664466
inheritance), this number tells the order in which the
44674467
inherited columns are to be arranged. The count starts at 1.
4468+
</para>
4469+
<para>
4470+
Indexes can not have multiple inheritance, since they can only inherit
4471+
when using declarative partitioning.
44684472
</para></entry>
44694473
</row>
44704474
</tbody>

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