Describing the table in psql returns error
Open
api:sql
- Dominant language
- Rust
- Stars
- 20.8k
- Forks
- 2.1k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 181
Description
**Describe the bug**
I'm trying to describe table in psql command line
**To Reproduce**
Steps to reproduce the behavior:
1. run `psql`
2. run
```
test=> \d dw_fct_xxx;
```
3. see error
```
ERROR: Unable to parse: ParserError("Expected end of statement, found: OPERATOR")
QUERY: SELECT c.oid,
n.nspname,
c.relname
FROM pg_catalog.pg_class c
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
WHERE c.relname OPERATOR(pg_catalog.~) '^(dw_fct_xxx)$' COLLATE pg_catalog.default
AND pg_catalog.pg_table_is_visible(c.oid)
ORDER BY 2, 3;
```
**Expected behavior**
I should get description of the table
**Version:**
0.35.7
Contributor guide
Assessment
This issue has not been assessed yet.