Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0c28e76

Browse files
committed
Remove silly completion for "DELETE FROM tabname ...".
psql offered USING, WHERE, and SET in this context, but SET is not a validpossibility here. Seems to have been a thinko in commitf5ab0a1which added DELETE's USING option.
1 parent9ade78c commit0c28e76

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
@@ -2759,7 +2759,7 @@ psql_completion(const char *text, int start, int end)
27592759
pg_strcasecmp(prev2_wd,"FROM")==0)
27602760
{
27612761
staticconstchar*constlist_DELETE[]=
2762-
{"USING","WHERE","SET",NULL};
2762+
{"USING","WHERE",NULL};
27632763

27642764
COMPLETE_WITH_LIST(list_DELETE);
27652765
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp