From 0c24af63685d31951b43b91d9c9015f63a3626fb Mon Sep 17 00:00:00 2001
From: David Yozie
Date: Mon, 28 Jan 2019 09:28:42 -0800
Subject: [PATCH] Docs: update pg_class relkind entries (#6799)
* update pg_class relkind entries
* Remove duplicate entry for composite type
* Add info for missing columns: reloftype, relallvisible, relpersistence, relhastriggers
---
.../ref_guide/system_catalogs/pg_class.xml | 38 ++++++++++++++++---
1 file changed, 33 insertions(+), 5 deletions(-)
diff --git a/gpdb-doc/dita/ref_guide/system_catalogs/pg_class.xml b/gpdb-doc/dita/ref_guide/system_catalogs/pg_class.xml
index 5192172ad3..76ab927181 100644
--- a/gpdb-doc/dita/ref_guide/system_catalogs/pg_class.xml
+++ b/gpdb-doc/dita/ref_guide/system_catalogs/pg_class.xml
@@ -51,6 +51,13 @@
The OID of the data type that corresponds to this table's row
type, if any (zero for indexes, which have no pg_type entry)
+
+ reloftype
+ oid
+ pg_type.oid
+ The OID of an entry in pg_type for an underlying composite
+ type.
+
relowner
@@ -107,6 +114,12 @@
planner. It is updated by VACUUM, ANALYZE, and a few
DDL commands.
+
+ relallvisible
+ int32
+
+ Number of all-visible blocks (this value may not be up-to-date).
+
reltoastrelid
@@ -162,6 +175,14 @@
True if this table is shared across all databases in the system.
Only certain system catalog tables are shared.
+
+ relpersistence
+ char
+
+ The type of object persistence: p = heap or append-optimized
+ table, u = unlogged temporary table, t = temporary
+ table.
+
relkind
@@ -169,11 +190,12 @@
char
The type of objectr = heap or append-optimized
- table, i = index, S = sequence, v
- = view, c = composite type, t = TOAST value,
- o = internal append-optimized segment files and EOFs,
- c = composite type, u = uncataloged temporary
- heap table
+ table, i = index, S = sequence, t
+ = TOAST value, v = view, c = composite type,
+ f = foreign table, u = uncatalogued temporary
+ heap table, o = internal append-optimized segment files and EOFs,
+ b = append-only block directory, M = append-only
+ visibility map
@@ -258,6 +280,12 @@
True if table has rules.
+
+ relhastriggers
+ boolean
+
+ True if table has (or once had) triggers.
+
relhassubclass
--
GitLab