aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2020-11-21 08:26:20 +0100
committerPeter Eisentraut <peter@eisentraut.org>2020-11-21 08:26:20 +0100
commita47834db0fb70256e676862f1d96374a9e114d82 (patch)
treea943eaae4bb3a34f9a37e77ed94400b5d5d29bfb /doc/src
parentc71f9a094b32770dcd34b9ba4909435e34583747 (diff)
downloadpostgresql-a47834db0fb70256e676862f1d96374a9e114d82.tar.gz
postgresql-a47834db0fb70256e676862f1d96374a9e114d82.zip
doc: Improve tableoid description
Mention that it's useful for determining table names for partitioned tables as well as for those in inheritance hierarchies. Author: Ian Lawrence Barwick <barwick@gmail.com> Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/CAB8KJ=gFmBXP=P9htziOj+WM5PDAK4qc7iGQta+8kUh306kQnw@mail.gmail.com
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ddl.sgml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml
index 3a2cfbd3011..c12a32c8c7f 100644
--- a/doc/src/sgml/ddl.sgml
+++ b/doc/src/sgml/ddl.sgml
@@ -1144,7 +1144,8 @@ CREATE TABLE circles (
<para>
The OID of the table containing this row. This column is
- particularly handy for queries that select from inheritance
+ particularly handy for queries that select from partitioned
+ tables (see <xref linkend="ddl-partitioning"/>) or inheritance
hierarchies (see <xref linkend="ddl-inherit"/>), since without it,
it's difficult to tell which individual table a row came from. The
<structfield>tableoid</structfield> can be joined against the