From: | vignesh C <vignesh21(at)gmail(dot)com> |
---|---|
To: | Umar Hayat <postgresql(dot)wizard(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Add missing tab completion for VACUUM and ANALYZE with ONLY option |
Date: | 2025-03-18 12:25:07 |
Message-ID: | CALDaNm278w-6HuWw4tA5Yw_qKaDCyw5Y4vq_0+SRxd=6TdDONA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, 27 Feb 2025 at 11:42, vignesh C <vignesh21(at)gmail(dot)com> wrote:
>
> On Thu, 6 Feb 2025 at 16:29, Umar Hayat <postgresql(dot)wizard(at)gmail(dot)com> wrote:
>
> This will include "ONLY" also when we display the tables too:
> + else if (HeadMatches("ANALYZE"))
> +
> COMPLETE_WITH_SCHEMA_QUERY_PLUS(Query_for_list_of_analyzables,
> "ONLY");
>
> like below:
> postgres=# analyze only t1
> information_schema. ONLY public. t1
>
> The same issue exists with vacuum too:
> postgres=# vacuum only t1
> information_schema. ONLY public. t1
The attached patch has the fixes for the above issue.
Regards,
Vignesh
Attachment | Content-Type | Size |
---|---|---|
v1-0001-psql-Tab-completion-for-VACUUM-and-ANALYZE-.-ONLY.patch | text/x-patch | 2.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2025-03-18 12:28:25 | Re: pgsql: pg_upgrade: Preserve default char signedness value from old clus |
Previous Message | Ilia Evdokimov | 2025-03-18 12:09:19 | Re: Proposal - Allow extensions to set a Plan Identifier |