dbcli / dbcli/pgcli

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

未关闭
#1,414 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
13.4k
派生
612
平均合并
6 天 14 小时
30 天内合并 PR
10

描述

## 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.

贡献指南

打开贡献指南

调研方向

首先在 pgcli 中重现 \\d+ 的行为,并将其表输出与 psql 进行比较,以 issue 截图作为预期的比较结果。跟踪现有的 \\d+ 命令处理,并确定表选项在哪里被省略;完成的标准是 pgcli 显示 psql 所显示的表选项。

由索引模型根据 Issue 内容生成。

评估

技术栈
postgresql, python
领域
cli, databases
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。