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

Commit99ccb23

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 parentd854118 commit99ccb23

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
@@ -2154,7 +2154,7 @@ psql_completion(const char *text, int start, int end)
21542154
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_updatables,NULL);
21552155
/* Complete DELETE FROM <table> */
21562156
elseif (TailMatches3("DELETE","FROM",MatchAny))
2157-
COMPLETE_WITH_LIST3("USING","WHERE","SET");
2157+
COMPLETE_WITH_LIST2("USING","WHERE");
21582158
/* XXX: implement tab completion for DELETE ... USING */
21592159

21602160
/* DISCARD */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp