9.3 9.4 9.5 9.6 10 11 12 13 14 15 Current(16) 17
问题报告 纠错本页面
54.30. pg_tables
上一页 上一级 第 54 章 系统视图起始页 下一页

54.30. pg_tables

视图pg_tables提供了对数据库中每个表的有用信息的访问。

表 54.30. pg_tables

列类型

描述

schemaname name (参考 pg_namespace.nspname)

包含表的模式名称

tablename name (references pg_class.relname)

表的名称

tableowner name (references pg_authid.rolname)

表拥有者的名字

tablespace name (参考 pg_tablespace.spcname)

包含表的表空间的名字(如果使用数据库的默认表空间,此列为空)

hasindexes bool (参考 pg_class.relhasindex)

如果表有(或最近有过)任何索引,此列为真

hasrules bool (references pg_class.relhasrules)

如果表有(或曾经有过)规则,此列为真

hastriggers bool (references pg_class.relhastriggers)

如果表有(或者曾经有过)触发器,此列为真

rowsecurity bool (references pg_class.relrowsecurity)

如果表上启用了行安全性则为真



上一页 上一级 下一页
54.29. pg_stats_ext_exprs 起始页 54.31. pg_timezone_abbrevs

AltStyle によって変換されたページ (->オリジナル) /