Re: Add missing tab completion for VACUUM and ANALYZE with ONLY option - Mailing list pgsql-hackers

From vignesh C
Subject Re: Add missing tab completion for VACUUM and ANALYZE with ONLY option
Date
Msg-id CALDaNm278w-6HuWw4tA5Yw_qKaDCyw5Y4vq_0+SRxd=6TdDONA@mail.gmail.com
Whole thread Raw
In response to Re: Add missing tab completion for VACUUM and ANALYZE with ONLY option  (vignesh C <vignesh21@gmail.com>)
Responses Re: Add missing tab completion for VACUUM and ANALYZE with ONLY option
List pgsql-hackers
On Thu, 27 Feb 2025 at 11:42, vignesh C <vignesh21@gmail.com> wrote:
>
> On Thu, 6 Feb 2025 at 16:29, Umar Hayat <postgresql.wizard@gmail.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

pgsql-hackers by date:

Previous
From: Ilia Evdokimov
Date:
Subject: Re: Proposal - Allow extensions to set a Plan Identifier
Next
From: Robert Haas
Date:
Subject: Re: pgsql: pg_upgrade: Preserve default char signedness value from old clus