pgcli icon indicating copy to clipboard operation
pgcli copied to clipboard

\d+ doesn't show options of a table while psql does

Open Ray-Eldath opened this issue 2 years ago • 1 comments

Description

In psql, \d+ shows options of a table. In pgcli, it didn't.

pgcli: image

psql: image

Your environment

$ zsh --version
zsh 5.8.1 (x86_64-ubuntu-linux-gnu)
$ omz version
master (b81915d)
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.3 LTS
Release:        22.04
Codename:       jammy
$ pip freeze | grep pgcli
pgcli==3.5.0

I could propose a PR to fix this if you think it's acceptable.

Ray-Eldath avatar Aug 28 '23 01:08 Ray-Eldath

Thank you for reporting, @Ray-Eldath.

I could propose a PR to fix this if you think it's acceptable.

Certainly! We love PRs. We love people who submit PRs. :)

You would make changes here:

https://github.com/dbcli/pgspecial/blob/b3abb959bfb51262ef06f954ac1dbdf48548118e/pgspecial/dbcommands.py#L887

Let us know if you need any help.

j-bennet avatar Aug 28 '23 15:08 j-bennet