Remove silly completion for "DELETE FROM tabname ...".

psql offered USING, WHERE, and SET in this context, but SET is not a valid
possibility here.  Seems to have been a thinko in commit f5ab0a14ea
which added DELETE's USING option.
This commit is contained in:
Tom Lane 2015-12-20 18:29:51 -05:00
parent d854118c8d
commit 99ccb23092
1 changed files with 1 additions and 1 deletions

View File

@ -2154,7 +2154,7 @@ psql_completion(const char *text, int start, int end)
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_updatables, NULL);
/* Complete DELETE FROM <table> */
else if (TailMatches3("DELETE", "FROM", MatchAny))
COMPLETE_WITH_LIST3("USING", "WHERE", "SET");
COMPLETE_WITH_LIST2("USING", "WHERE");
/* XXX: implement tab completion for DELETE ... USING */
/* DISCARD */