Improve tab completion for ALTER STATISTICS <name> SET in psql

Michael Paquier <michael@paquier.xyz>

Commit: 3cf2f7af7f9b6198f3d518aaffb0ff4de340c5bc
Author: Michael Paquier <michael@paquier.xyz>
Date: 2022-10-24T06:46:42Z
Releases: 16.0
Improve tab completion for ALTER STATISTICS <name> SET in psql

The code was completing this pattern with a list of settable characters,
and it was possible to reach this state after completing a "ALTER
STATISTICS <name>" with SET.

Author: Vignesh C
Discussion: https://postgr.es/m/CALDaNm2HHF_371o+EeSjxDDS17Cx7d-ko2h1fLU94=ob=4_ktg@mail.gmail.com

Files

PathChange+/−
src/bin/psql/tab-complete.c modified +3 −0

Discussion