Re: Add missing tab completion for VACUUM and ANALYZE with ONLY option

From: Ilia Evdokimov <ilya(dot)evdokimov(at)tantorlabs(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org, vignesh C <vignesh21(at)gmail(dot)com>, postgresql(dot)wizard(at)gmail(dot)com
Subject: Re: Add missing tab completion for VACUUM and ANALYZE with ONLY option
Date: 2025-03-18 15:13:21
Message-ID: c7f63ca4-e9cd-40e2-9d2c-41a6d90c6978@tantorlabs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 18.03.2025 17:57, Ilia Evdokimov wrote:
> Hi,
>
> Thank you for the patch. However, Is it ok if I can't tab 'ONLY' in
> VACUUM ANALYZE command?
>
> CREATE TABLE only_parted (a int, b text) PARTITION BY LIST (a);
> CREATE TABLE only_parted1 PARTITION OF only_parted FOR VALUES IN (1);
> INSERT INTO only_parted VALUES (1, 'a');
>
> VACUUM ANALYZE {Press Tab}
>
> information_schema.  only_parted          only_parted1 public.
>
> -----------------------------------------------------------------------------
>
>
> Although it works:
>
> postgres=# VACUUM ANALYZE ONLY only_parted;
> WARNING:  VACUUM ONLY of partitioned table "only_parted" has no effect
> VACUUM
> postgres=#
>
> --
> Best regards,
> Ilia Evdokimov,
> Tantor Labs LLC.
>

Umar, Vignesh, sorry for not adding you to CC earlier!

--
Best regards,
Ilia Evdokimov,
Tantor Labs LLC.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacob Champion 2025-03-18 15:17:17 Re: Adding support for SSLKEYLOGFILE in the frontend
Previous Message Melanie Plageman 2025-03-18 15:12:07 Re: Using read_stream in index vacuum