\d+ metacommand doesn't indicate the name/type of what it's displaying
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
調査の方向性
まず、テーブル、ビュー、マテリアライズドビューに対してメタコマンド \d+ を実行し、次に、そのコマンドに対する pgcli の実装と出力フォーマットを確認します。現在の出力を issue 内の psql の例と比較します。表示されたオブジェクトがテーブル、ビュー、マテリアライズドビューのいずれであるかを出力が識別できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Description
In psql, when you run \d+ <name>, the first line of output will look like this
Materialized view "public.matviewname"
View "public.viewname"
Table "public.tablename"
This is useful information for exploration. While you can typically infer whether something is a table or view simply by checking if there's a view definition included in the output, I could find no way to distinguish between a View and a Materialized View in pgcli's current output.
Your environment
I don't think that the environment is all that relevant, as this is not really a bug, just a feature opportunity. It couldn't hurt, though:
- Ubuntu 22.04
- pgcli 4.1.0
- I have it installed through nix, getting the full list of dependency versions is outside of my wheelhouse.
- Please provide your OS and version information.
- Please provide your CLI version.
- What is the output of
pip freezecommand.
- 主要言語
- Python
- スター
- 13.4k
- フォーク
- 613
- 平均マージ
- 12時間 45分
- マージ済み PR(30日)
- 5
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dbcli/pgcli のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
xinnan-tech/xiaozhi-fde-talk#263 ·
-
rules
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
huggingface/Repo2RLEnv#163 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
huggingface/sentence-transformers#4074 ·
-
comp/dashboard invalid P3
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
NousResearch/hermes-agent#121143 ·