Fix incorrect tab-completion for GRANT and REVOKE

Fujii Masao <fujii@postgresql.org>

Commit: bf4817e4f090a0a72d1849a3d61b45e7f2feadda
Author: Fujii Masao <fujii@postgresql.org>
Date: 2015-10-01T14:39:02Z
Releases: 9.6.0
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.

Files

PathChange+/−
src/bin/psql/tab-complete.c modified +9 −9