]> granicus.if.org Git - postgresql/commit
psql: Improve CREATE INDEX CONCURRENTLY tab completion
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 13 Jan 2016 01:31:43 +0000 (20:31 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 13 Jan 2016 01:54:27 +0000 (20:54 -0500)
commitb1bfb28b586a319052d96dd4dfd40a05505ea6ed
tree285b97dfa4601db92eb47893f18cd0a19c43b9b7
parentbc56d5898d1cbd9dee6fe16ea7a814a5820b6181
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.
src/bin/psql/tab-complete.c