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

Commitdeee42a

Browse files
committed
Add autocompletion of locale keywords for CREATE DATABASE
Adds support for autocomplete of LC_COLLATE and LC_CTYPE tothe CREATE DATABASE command in psql.
1 parentd685814 commitdeee42a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/bin/psql/tab-complete.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2114,7 +2114,8 @@ psql_completion(const char *text, int start, int end)
21142114
{
21152115
staticconstchar*constlist_DATABASE[]=
21162116
{"OWNER","TEMPLATE","ENCODING","TABLESPACE","IS_TEMPLATE",
2117-
"ALLOW_CONNECTIONS","CONNECTION LIMIT",NULL};
2117+
"ALLOW_CONNECTIONS","CONNECTION LIMIT","LC_COLLATE","LC_CTYPE",
2118+
NULL};
21182119

21192120
COMPLETE_WITH_LIST(list_DATABASE);
21202121
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp