問題:
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