From a47834db0fb70256e676862f1d96374a9e114d82 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 21 Nov 2020 08:26:20 +0100 Subject: [PATCH] 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 Reviewed-by: Ashutosh Bapat Discussion: https://www.postgresql.org/message-id/flat/CAB8KJ=gFmBXP=P9htziOj+WM5PDAK4qc7iGQta+8kUh306kQnw@mail.gmail.com --- doc/src/sgml/ddl.sgml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ( 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 ) or inheritance hierarchies (see ), since without it, it's difficult to tell which individual table a row came from. The tableoid can be joined against the -- 2.30.2