Skip to content

Commit 2ead596

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 261f954 commit 2ead596

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
@@ -1722,7 +1722,7 @@ psql_completion(char *text, int start, int end)
17221722
{
17231723
static const char *const list_DATABASE[] =
17241724
{"OWNER", "TEMPLATE", "ENCODING", "TABLESPACE", "CONNECTION LIMIT",
1725-
NULL};
1725+
"LC_COLLATE", "LC_CTYPE", NULL};
17261726

17271727
COMPLETE_WITH_LIST(list_DATABASE);
17281728
}

0 commit comments

Comments
 (0)