summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-12-20 18:29:51 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-12-20 18:29:51 -0500
commit6ecd7f501062eb5e38240b9eb02e86aed248bd34 (patch)
tree02f9a38e97b91d7c649b063bb438f205d6e1bd11 /src
parentb417779886f2d63f17f2049ce7ee7b290c470e15 (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.
Diffstat (limited to 'src')
-rw-r--r--src/bin/psql/tab-complete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c
index 63424c502b4..3d6ed8da207 100644
--- a/src/bin/psql/tab-complete.c
+++ b/src/bin/psql/tab-complete.c
@@ -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);
}