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

Commit404e667

Browse files
committed
Fix busted tab-completion pattern for ALTER TABLE t ALTER c DROP ...
Evidently a thinko in commit9b181b0.Kyotaro Horiguchi
1 parentdafa084 commit404e667

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
@@ -1804,7 +1804,7 @@ psql_completion(const char *text, int start, int end)
18041804
COMPLETE_WITH_LIST4("PLAIN","EXTERNAL","EXTENDED","MAIN");
18051805
/* ALTER TABLE ALTER [COLUMN] <foo> DROP */
18061806
elseif (Matches7("ALTER","TABLE",MatchAny,"ALTER","COLUMN",MatchAny,"DROP")||
1807-
Matches8("ALTER","TABLE",MatchAny,"TABLE",MatchAny,"ALTER",MatchAny,"DROP"))
1807+
Matches6("ALTER","TABLE",MatchAny,"ALTER",MatchAny,"DROP"))
18081808
COMPLETE_WITH_LIST2("DEFAULT","NOT NULL");
18091809
elseif (Matches4("ALTER","TABLE",MatchAny,"CLUSTER"))
18101810
COMPLETE_WITH_CONST("ON");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp