列出 PostgreSQL 模式中的表 - List tables in a PostgreSQL schema

問題:

When I do a \\dt in psql I only get a listing of tables in the current schema ( public by default).當我在 psql 中執行\\dt ,我只能獲得當前模式中的表列表(默認情況下爲public )。

How can I get a list of all tables in all schemas or a particular schema?如何獲取所有模式或特定模式中所有表的列表?


解決方案:

參考一: https://stackoom.com/question/13dl2
參考二: List tables in a PostgreSQL schema
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章