Skip to content

Commit e710f3b

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 78530c8 commit e710f3b

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
@@ -4416,9 +4416,9 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
44164416

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

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

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

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