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 9ade78c65e
commit 0c28e767c6

View File

@ -2759,7 +2759,7 @@ psql_completion(const char *text, int start, int end)
pg_strcasecmp(prev2_wd, "FROM") == 0)
{
static const char *const list_DELETE[] =
{"USING", "WHERE", "SET", NULL};
{"USING", "WHERE", NULL};
COMPLETE_WITH_LIST(list_DELETE);
}