You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can only reproduce the error when \d is given a "pattern", such as \d public. (note the trailing dot). If given a full name table/index/... name, the command works as expected.
This is a bug in pgspecial, a dependency of pgcli. It's been fixed 2 weeks ago (see dbcli/pgspecial@25a8e15), but there has not been any release of pgspecial yet.
@j-bennet: considering that pgspecial does not see much commits, we're likely to wait for a while becore seeing any major bug fixes there. Perhaps we should release a new version of pgspecial now?
Description
When I run \d on an index, or a schema that contains an index, I get this error:
I can recreate that in a freshly created postgres db:
Your environment
Debian Testing
4.0.1
pip freeze
command.cli_helpers==2.3.1
click==8.1.7
configobj==5.0.8
pendulum==3.0.0
pgcli==4.0.1
pgspecial==2.1.1
prompt-toolkit==3.0.43
psycopg==3.1.18
Pygments==2.18.0
python-dateutil==2.9.0.post0
setproctitle==1.3.3
six==1.16.0
sqlparse==0.4.4
tabulate==0.9.0
typing_extensions==4.11.0
tzdata==2024.1
wcwidth==0.2.13
The text was updated successfully, but these errors were encountered: