列出 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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章