doltgresql icon indicating copy to clipboard operation
doltgresql copied to clipboard

`\d` (describe) does not work unscoped or with a table name

Open timsehn opened this issue 2 years ago • 2 comments

This is supposed to return a list of tables:

employees=> \d
ERROR:  syntax error at position 666 near 'nspname' (errno 1105) (sqlstate HY000)

This is supposed to describe said table.

employees=> \d employees
ERROR:  syntax error at position 158 near 'OPERATOR' (errno 1105) (sqlstate HY000)

timsehn avatar Oct 02 '23 21:10 timsehn

https://github.com/dolthub/doltgresql/pull/17 adds support for \d, but not for \d table_name. In summary, \d table_name is a far more complex command than the others, and I think it requires quite a bit more to be implemented before it can even be hacked in.

Hydrocharged avatar Oct 04 '23 11:10 Hydrocharged