1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-03 22:24:49 +03:00

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 b417779886
commit 6ecd7f5010

View File

@ -2096,7 +2096,7 @@ psql_completion(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);
}