Improve tab completion for ALTER STATISTICS <name> SET in psql
authorMichael Paquier <michael@paquier.xyz>
Mon, 24 Oct 2022 06:46:42 +0000 (15:46 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 24 Oct 2022 06:46:42 +0000 (15:46 +0900)
commit3cf2f7af7f9b6198f3d518aaffb0ff4de340c5bc
tree0b468e99b1dad0a58648b92280069912c91233d0
parent14a737bfdbe4f2328d7f333b207f52f9ed4ee722
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
src/bin/psql/tab-complete.c