我尝试了很多,但现在似乎不可能列出下表寻求帮助的厉害
下面是命令,后面是问题
logicsoft-internship::DATABASE=> \dn
List of schemas
Name | Owner
------------+----------------
heroku_ext | u8q98eik4pd35o
public | grmgsmxgscmlmc
(2 rows)
logicsoft-internship::DATABASE=> \dt
Did not find any relations.
logicsoft-internship::DATABASE=> \dt dauokokqc98tl4
Did not find any relation named "dauokokqc98tl4".
logicsoft-internship::DATABASE=> \dt dauokokqc98tl4.public
Did not find any relation named "dauokokqc98tl4.public"
1条答案
按热度按时间7ajki6be1#
As documented in the manual
\dn
显示了模式列表(=名称空间)。要显示特定模式(命名空间)中的表,需要提供一个通配符schema name-您使用了完全不同的所有者。