]> granicus.if.org Git - postgresql/commit
Fix incorrect tab-completion for GRANT and REVOKE
authorFujii Masao <fujii@postgresql.org>
Thu, 1 Oct 2015 14:39:02 +0000 (23:39 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 1 Oct 2015 14:39:02 +0000 (23:39 +0900)
commitbf4817e4f090a0a72d1849a3d61b45e7f2feadda
tree34a6137dcf918a73c99eca9fd924a37904ce4aa6
parent21995d3f6d69670b5bc5b3654970701f8abb6d9f
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.
src/bin/psql/tab-complete.c