mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08: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 f5ab0a14ea
which added DELETE's USING option.
This commit is contained in:
parent
d854118c8d
commit
99ccb23092
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user