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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve tab completion for ALTER STATISTICS <name> SET in psql
Date: 2022-10-24 06:51:46
Message-ID: E1omrJK-000Z1T-3v@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3cf2f7af7f9b6198f3d518aaffb0ff4de340c5bc

Modified Files
--------------
src/bin/psql/tab-complete.c | 3 +++
1 file changed, 3 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-10-24 07:56:50 pgsql: Improve coverage of ruleutils.c for SQLValueFunctions
Previous Message Michael Paquier 2022-10-24 04:59:19 pgsql: Fix and improve TAP tests for pg_hba.conf and regexps