Mar 2025

1 commit
psql: Add tab completion for VACUUM and ANALYZE ... ONLY option.
23 Mar 2025Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #81 of 3 reviewers saw the final version

The commit retains the completion additions from #8 in src/bin/psql/tab-complete.in.c, whose patch header credits Umar Hayat despite Vignesh sending it. Tom Lane reordered options and reformatted comments, but also replaced enumerated VACUUM patterns with MatchAnyN, extending matching to combinations such as VACUUM FULL ANALYZE; he described these edits in #14.

  • Vignesh Csaw an earlier versiontrailerVignesh identified unwanted ONLY suggestions in #2, supplied successive fixes through #8, and defended coverage of both commands in #13, before the committer's moderate MatchAnyN changes.
  • Ilia Evdokimovsaw an earlier versiontrailerIlia reported missing VACUUM combinations in #4 and #7, then tested the final attachment in #9 and #11, before the committer broadened the matching logic.
  • Tom Lanesaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Umar Hayat1
Reviewer
Ilia Evdokimov1
Tom Lanecommitter1
vignesh C1
Committer
Tom Lane1