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.
pull/30/head
Tom Lane 10 years ago
parent 9ade78c65e
commit 0c28e767c6
  1. 2
      src/bin/psql/tab-complete.c

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

Loading…
Cancel
Save