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

Commit6dad61d

Browse files
committed
Fix tab completion for ALTER LANGUAGE in psql
OWNER_TO was used for the completion, which is not a supported grammar,but OWNER TO is.This error has been introduced by d37b816, so backpatch down to 9.6.Author: Alexander LakhinDiscussion:https://postgr.es/m/7ab243e0-116d-3e44-d120-76b3df7abefd@gmail.comBackpatch-through: 9.6
1 parent7a5e39e commit6dad61d

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
@@ -1887,7 +1887,7 @@ psql_completion(const char *text, int start, int end)
18871887

18881888
/* ALTER LANGUAGE <name> */
18891889
elseif (Matches3("ALTER","LANGUAGE",MatchAny))
1890-
COMPLETE_WITH_LIST2("OWNER_TO","RENAME TO");
1890+
COMPLETE_WITH_LIST2("OWNER TO","RENAME TO");
18911891

18921892
/* ALTER LARGE OBJECT <oid> */
18931893
elseif (Matches4("ALTER","LARGE","OBJECT",MatchAny))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp