Include the dependent extension information in describe command.

From: vignesh C <vignesh21(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Include the dependent extension information in describe command.
Date: 2022-08-14 02:31:14
Message-ID: CALDaNm1riN5brzVz_-7=fOtP2sLOMvXDVAbemPB6BmHAxPF1tw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Currently we do not include the dependent extension information for
index and materialized view in the describe command. I felt it would
be useful to include this information as part of the describe command
like:
\d+ idx_depends
Index "public.idx_depends"
Column | Type | Key? | Definition | Storage | Stats target
--------+---------+------+------------+---------+--------------
a | integer | yes | a | plain |
btree, for table "public.tbl_idx_depends"
Depends:
"plpgsql"

Attached a patch for the same. Thoughts?

Regards,
Vignesh

Attachment Content-Type Size
v1-0001-Include-the-dependent-extension-information-for-i.patch application/octet-stream 7.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2022-08-14 02:55:01 Tab completion for "ALTER TYPE typename SET" and rearranged "Alter TYPE typename RENAME"
Previous Message Tom Lane 2022-08-14 02:21:26 Re: SELECT documentation