Skip to content

Commit 590d201

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 9f74926 commit 590d201

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
@@ -2500,7 +2500,7 @@ psql_completion(const char *text, int start, int end)
25002500
pg_strcasecmp(prev2_wd, "FROM") == 0)
25012501
{
25022502
static const char *const list_DELETE[] =
2503-
{"USING", "WHERE", "SET", NULL};
2503+
{"USING", "WHERE", NULL};
25042504

25052505
COMPLETE_WITH_LIST(list_DELETE);
25062506
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy