pgsql: psql: Add tab completion for VACUUM and ANALYZE ... ONLY option.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: psql: Add tab completion for VACUUM and ANALYZE ... ONLY option.
Date: 2025-03-23 21:16:15
Message-ID: E1twSg2-000fRh-29@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

psql: Add tab completion for VACUUM and ANALYZE ... ONLY option.

Improve psql's tab completion for VACUUM and ANALYZE by supporting
the ONLY option introduced in 62ddf7ee9.

In passing, simplify some of the VACUUM patterns by making use
of MatchAnyN.

Author: Umar Hayat <postgresql(dot)wizard(at)gmail(dot)com>
Reviewed-by: Vignesh C <vignesh21(at)gmail(dot)com>
Reviewed-by: Ilia Evdokimov <ilya(dot)evdokimov(at)tantorlabs(dot)com>
Discussion: https://postgr.es/m/CAD68Dp3L6yW_nWs+MWBs6s8tKLRzXaQdQgVRm4byZe0L-hRD8g@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8a3e4011f02dd2789717c633e74fefdd3b648386

Modified Files
--------------
src/bin/psql/tab-complete.in.c | 36 ++++++++++++++++++++++--------------
1 file changed, 22 insertions(+), 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2025-03-23 22:22:43 Re: pgsql: Add vacuum_truncate configuration parameter.
Previous Message Heikki Linnakangas 2025-03-23 18:45:45 pgsql: Fix rare assertion failure in standby, if primary is restarted