| PostgreSQL 7.4 文檔 | ||||
|---|---|---|---|---|
| Prev | Fast Backward | Chapter 32. 信息模式 | Fast Forward | Next |
視圖 tables 包含所有定義在當前數據庫裡的表和視圖。 只有那些當前用戶有權限訪問(要麼是所有者,要麼是有某些權限)的表和視圖猜顯示出來。
Table 32-34. tables 字段
| 名字 | 數據類型 | 描述 |
|---|---|---|
| table_catalog | sql_identifier | 包含該表的數據庫名字 (總是當前數據庫) |
| table_schema | sql_identifier | 包含該表的模式名字 |
| table_name | sql_identifier | 表的名字 |
| table_type | character_data | 表的類型:永久基本表是 BASE TABLE(普通的表類型), 視圖是 VIEW,或者是 LOCAL TEMPORARY 表示臨時表。 |
| self_referencing_column_name | sql_identifier | 應用于一個 PostgreSQL 裡沒有的特性 |
| reference_generation | character_data | 應用于一個 PostgreSQL 裡沒有的特性 |
| user_defined_type_catalog | sql_identifier | 應用于一個 PostgreSQL 裡沒有的特性 |
| user_defined_type_schema | sql_identifier | 應用于一個 PostgreSQL 裡沒有的特性 |
| user_defined_type_name | sql_identifier | 應用于一個 PostgreSQL 裡沒有的特性 |