[COMMITTERS] pgsql: psql: Add completion for \help DROP|ALTER - Mailing list pgsql-committers

From Peter Eisentraut
Subject [COMMITTERS] pgsql: psql: Add completion for \help DROP|ALTER
Date
Msg-id E1coeOH-0001jo-CN@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
psql: Add completion for \help DROP|ALTER

While \help CREATE would complete usefully, \help DROP or \help ALTER
did not complete anything.

Expand the list of things after CREATE and DROP to cover ALTER as well,
and use that for the ALTER completion.  Also make minor tweaks to that
list.

Also add support for completing \help on multiword commands like CREATE
TEXT SEARCH ...

Author: Andreas Karlsson <andreas@proxel.se>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d7d77f3825122bde55be9e06f6c4851028b99795

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


pgsql-committers by date:

Previous
From: Vik Fearing
Date:
Subject: Re: [COMMITTERS] pgsql: Avoid having vacuum set reltuples to 0 onnon-empty relations in
Next
From: Robert Haas
Date:
Subject: [COMMITTERS] pgsql: Fix grammar.