dolthub/doltgresql

`DESCRIBE [table]` does not work for tables in other schemas

tbantle22 opened this issue · 0 comments

doltgres=> \d
             List of relations
   Schema   |   Name    | Type  |  Owner
------------+-----------+-------+----------
 public     | myview    | view  | postgres
 public     | tablename | table | postgres
 testschema | testtable | table | postgres
(3 rows)

doltgres=> select current_schema();
 "current_schema"
------------------
 public
(1 row)

doltgres=> describe public.tablename;
 Field |     Type     | Null | Key | Default | Extra
-------+--------------+------+-----+---------+-------
 pk    | integer      | NO   | PRI |         |
 col1  | varchar(255) | YES  |     |         |
(2 rows)

doltgres=> describe testschema.testtable;
ERROR:  table not found: testtable (errno 1146) (sqlstate HY000)