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.
This commit is contained in:
parent
d685814835
commit
deee42ab01
|
@ -2114,7 +2114,8 @@ psql_completion(const char *text, int start, int end)
|
||||||
{
|
{
|
||||||
static const char *const list_DATABASE[] =
|
static const char *const list_DATABASE[] =
|
||||||
{"OWNER", "TEMPLATE", "ENCODING", "TABLESPACE", "IS_TEMPLATE",
|
{"OWNER", "TEMPLATE", "ENCODING", "TABLESPACE", "IS_TEMPLATE",
|
||||||
"ALLOW_CONNECTIONS", "CONNECTION LIMIT", NULL};
|
"ALLOW_CONNECTIONS", "CONNECTION LIMIT", "LC_COLLATE", "LC_CTYPE",
|
||||||
|
NULL};
|
||||||
|
|
||||||
COMPLETE_WITH_LIST(list_DATABASE);
|
COMPLETE_WITH_LIST(list_DATABASE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue