pgsql: psql: Improve CREATE INDEX CONCURRENTLY tab completion - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: psql: Improve CREATE INDEX CONCURRENTLY tab completion
Date
Msg-id E1aJB6K-0002un-IA@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
psql: Improve CREATE INDEX CONCURRENTLY tab completion

The completion of CREATE INDEX CONCURRENTLY was lacking in several ways
compared to a plain CREATE INDEX command:

- CREATE INDEX <name> ON completes table names, but didn't with
  CONCURRENTLY.

- CREATE INDEX completes ON and existing index names, but with
  CONCURRENTLY it only completed ON.

- CREATE INDEX <name> completes ON, but didn't with CONCURRENTLY.

These are now all fixed.

Branch
------
master

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

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


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: psql: Fix CREATE INDEX tab completion
Next
From: Peter Eisentraut
Date:
Subject: pgsql: psql: Update tab completion comment