32.36. tables

視圖 tables 包含所有定義在當前數據庫裡的表和視圖。 只有那些當前用戶有權限訪問(要麼是所有者,要麼是有某些權限)的表和視圖猜顯示出來。

Table 32-34. tables 字段

名字數據類型描述
table_catalogsql_identifier包含該表的數據庫名字 (總是當前數據庫)
table_schemasql_identifier包含該表的模式名字
table_namesql_identifier表的名字
table_typecharacter_data 表的類型:永久基本表是 BASE TABLE(普通的表類型), 視圖是 VIEW,或者是 LOCAL TEMPORARY 表示臨時表。
self_referencing_column_namesql_identifier應用于一個 PostgreSQL 裡沒有的特性
reference_generationcharacter_data應用于一個 PostgreSQL 裡沒有的特性
user_defined_type_catalogsql_identifier應用于一個 PostgreSQL 裡沒有的特性
user_defined_type_schemasql_identifier應用于一個 PostgreSQL 裡沒有的特性
user_defined_type_namesql_identifier應用于一個 PostgreSQL 裡沒有的特性