diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-12-20 18:29:52 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-12-20 18:29:52 -0500 |
commit | 6270ec1e5cb0efdcb2c8a22f126958e356496e51 (patch) | |
tree | 582e280d005dff9be81840160217345a0eba5a2a | |
parent | db462a44e22dbaa945eabac7f73d2a240037f75e (diff) | |
download | postgresql-6270ec1e5cb0efdcb2c8a22f126958e356496e51.tar.gz |
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 8f9ab69610..ade87a75e1 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -2003,7 +2003,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); } |