8000 Remove silly completion for "DELETE FROM tabname ...". · home201448/postgres@06d4fab · GitHub
[go: up one dir, main page]

Skip to content

Commit 06d4fab

Browse files
committed
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 f5ab0a1 which added DELETE's USING option.
1 parent 09b7abc commit 06d4fab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/psql/tab-complete.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2368,7 +2368,7 @@ psql_completion(char *text, int start, int end)
23682368
pg_strcasecmp(prev2_wd, "FROM") == 0)
23692369
{
23702370
static const char *const list_DELETE[] =
2371-
{"USING", "WHERE", "SET", NULL};
2371+
{"USING", "WHERE", NULL};
23722372

23732373
COMPLETE_WITH_LIST(list_DELETE);
23742374
}

0 commit comments

Comments
 (0)
0