]> granicus.if.org Git - postgresql/commit
psql: Tab completion for renaming enum values.
authorRobert Haas <rhaas@postgresql.org>
Tue, 8 Nov 2016 21:27:09 +0000 (16:27 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 8 Nov 2016 21:30:51 +0000 (16:30 -0500)
commit577f0bdd2b8904cbdfde6c98f4bda6fd93a05ffc
tree2e5a23eb63bd3f8b2da79ee687d25026b4e9c764
parent9257f0787257022e31c61cd77449127adfccf37f
psql: Tab completion for renaming enum values.

For ALTER TYPE .. RENAME, add "VALUE" to the list of possible
completions.  Complete ALTER TYPE .. RENAME VALUE with possible
enum values.  After that, complete with "TO".

Dagfinn Ilmari MannsÃ¥ker, reviewed by Artur Zakirov.
src/bin/psql/tab-complete.c