Fix tab completion for ALTER ... TABLESPACE ... OWNED BY.
authorAndres Freund <andres@anarazel.de>
Sat, 19 Dec 2015 16:37:11 +0000 (17:37 +0100)
committerAndres Freund <andres@anarazel.de>
Sat, 19 Dec 2015 16:37:11 +0000 (17:37 +0100)
commit130d94a7b868f5b6df512e5fde94a64e5e71178b
tree0c466b29cbfc55b692ca19c87a6e8cb7c7eda9f2
parentbbbd807097092c7f292872e7da02eee35d67e54b
Fix tab completion for ALTER ... TABLESPACE ... OWNED BY.

Previously the completion used the wrong word to match 'BY'. This was
introduced brokenly, in b2de2a. While at it, also add completion of
IN TABLESPACE ... OWNED BY and fix comments referencing nonexistent
syntax.

Reported-By: Michael Paquier
Author: Michael Paquier and Andres Freund
Discussion: CAB7nPqSHDdSwsJqX0d2XzjqOHr==HdWiubCi4L=Zs7YFTUne8w@mail.gmail.com
Backpatch: 9.4, like the commit introducing the bug
src/bin/psql/tab-complete.c