doc: Improve tableoid description
authorPeter Eisentraut <peter@eisentraut.org>
Sat, 21 Nov 2020 07:26:20 +0000 (08:26 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Sat, 21 Nov 2020 07:26:20 +0000 (08:26 +0100)
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

doc/src/sgml/ddl.sgml

index 3a2cfbd30115b4cec85fbb4a29b0f24701b0094d..c12a32c8c7f02c46e5ac4322a1e698e2697b0950 100644 (file)
@@ -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