[doc] improve tableoid description - Mailing list pgsql-hackers

From Ian Lawrence Barwick
Subject [doc] improve tableoid description
Date
Msg-id CAB8KJ=gFmBXP=P9htziOj+WM5PDAK4qc7iGQta+8kUh306kQnw@mail.gmail.com
Whole thread Raw
Responses Re: [doc] improve tableoid description  (Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>)
List pgsql-hackers
[doc] improve tableoid description

Hi

Attached patch aims to improve the description of the tableoid system column [1]
by:

- mentioning it's useful for determining table names for partitioned tables as
  well as for those in inheritance hierarchies
- mentioning the possibility of casting tableoid to regclass (which is simpler
  than the currently suggested join on pg_class, which is only needed if
  the schema name is absolutely required)

[1] https://www.postgresql.org/docs/current/ddl-system-columns.html


Regards

Ian Barwick


-- 
EnterpriseDB: https://www.enterprisedb.com

Attachment

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Timing of relcache inval at parallel worker init
Next
From: "Daniel Westermann (DWE)"
Date:
Subject: Re: Wrong example in the bloom documentation