diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-12-20 18:29:51 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-12-20 18:29:51 -0500 |
commit | 590d201ef73c7f34f919b8fd9ecf17d81de25aa4 (patch) | |
tree | 4f5c1af01ad6cfe4f4ac1ad516c202f42b0a6bee | |
parent | 9f749267c431f93f688c4187437a527a13ac2d8d (diff) |
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.
-rw-r--r-- | src/bin/psql/tab-complete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index cf0160067ab..6a6d1e5c18b 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -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); } |