Thread: pgsql: Fix incorrect tab-completion for GRANT and REVOKE

pgsql: Fix incorrect tab-completion for GRANT and REVOKE

From
Fujii Masao
Date:
Fix incorrect tab-completion for GRANT and REVOKE

Previously "GRANT * ON * TO " was tab-completed to add an extra "TO",
rather than with a list of roles. This is the bug that commit 2f88807
introduced unexpectedly. This commit fixes that incorrect tab-completion.

Thomas Munro, reviewed by Jeff Janes.

Branch
------
master

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

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