Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Ray-Eldath opened this issue Aug 28, 2023 · 1 comment
Open

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

Ray-Eldath opened this issue Aug 28, 2023 · 1 comment

Comments

@Ray-Eldath
Copy link

Ray-Eldath commented Aug 28, 2023

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 Ray-Eldath changed the title \d+ doesn't show all info \d+ doesn't show all options of a table Aug 28, 2023
@Ray-Eldath Ray-Eldath changed the title \d+ doesn't show all options of a table \d+ doesn't show options of a table while psql does Aug 28, 2023
@j-bennet
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants