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 f5ab0a14ea83eb6c
which added DELETE's USING option.
This commit is contained in:
Tom Lane 2015-12-20 18:29:51 -05:00
parent 9f749267c4
commit 590d201ef7

View File

@ -2500,7 +2500,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);
}