aboutsummaryrefslogtreecommitdiff
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
commit0c28e767c612c9e90ae8ab188cf9b21114a34ddc (patch)
tree13880c4cca993d252193111897f141af14870718 /src
parent9ade78c65e1b98d2a8336be37d0442a53233c3b1 (diff)
downloadpostgresql-0c28e767c612c9e90ae8ab188cf9b21114a34ddc.tar.gz
postgresql-0c28e767c612c9e90ae8ab188cf9b21114a34ddc.zip
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 b935810fe1e..44d7a4f05f4 100644
--- a/src/bin/psql/tab-complete.c
+++ b/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);
}