在 Redshift 上,为什么我的表没有显示在以下查询中?它确实存在,如我运行的下一个查询所示。我想要一种列出模式的所有表的方法:
mydb=# select distinct(tablename) from pg_table_def where schemaname = 'db';
tablename
-----------
(0 rows)
mydb=# \d db.some_table
Table "db.some_table"
Column | Type | Modifiers
-----------------+-----------------------------+-----------
...correct info shows up here...
...but nothing showed up above?
Run Code Online (Sandbox Code Playgroud) redshift ×1