2011-11-23 41 views

回答

2

與Oracle不同,PostgreSQL實現ANSI information_schema。

因此,甲骨文的ALL_TAB_COLUMNS圖相當於information_schema.columns

但這僅限於當前的數據庫。這是不可能得到這個信息的所有數據庫 - 這是甲骨文相同,ALL_TAB_COLUMNS只顯示當前數據庫(=實例)的列可以在手動

找到

關於INFORMATION_SCHEMA更多細節

http://www.postgresql.org/docs/current/static/information-schema.html