8000 Add autocompletion of locale keywords for CREATE DATABASE · patchsoft/postgres@77b5586 · GitHub
[go: up one dir, main page]

Skip to content

Commit 77b5586

Browse files
committed
Add autocompletion of locale keywords for CREATE DATABASE
Adds support for autocomplete of LC_COLLATE and LC_CTYPE to the CREATE DATABASE command in psql.
1 parent a81fbcf commit 77b5586

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
@@ -1231,7 +1231,7 @@ psql_completion(char *text, int start, int end)
12311231
{
12321232
static const char *const list_DATABASE[] =
12331233
{"OWNER", "TEMPLATE", "ENCODING", "TABLESPACE", "CONNECTION LIMIT",
1234-
NULL};
1234+
"LC_COLLATE", "LC_CTYPE", NULL};
12351235

12361236
COMPLETE_WITH_LIST(list_DATABASE);
12371237
}

0 commit comments

Comments
 (0)
0