9.3 9.4 9.5 9.6 10 11 12 13
阿里云PostgreSQL 问题报告 纠错本页面

49.76. pg_tables

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

表 49-77. pg_tables的列

名称类型引用描述
schemanamenamepg_namespace.nspname包含表的模式名
tablenamenamepg_class.relname表名
tableownernamepg_authid.rolname表拥有者的名字
tablespacenamepg_tablespace.spcname包含表的表空间的名字(如果使用数据库的默认表空间,此列为空)
hasindexesbooleanpg_class.relhasindex如果表有(或最近有过)任何索引,此列为真
hasrulesbooleanpg_class.relhasrules如果表有(或曾经有过)规则,此列为真
hastriggersbooleanpg_class.relhastriggers如果表有(或者曾经有过)触发器,此列为真
rowsecuritybooleanpg_class.relrowsecurity 如果在表上启用行级安全,则为真
<
/BODY >