Skip to content

Commit a70935d

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 c45841f commit a70935d

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
@@ -1648,7 +1648,7 @@ psql_completion(char *text, int start, int end)
16481648
{
16491649
static const char *const list_DATABASE[] =
16501650
{"OWNER", "TEMPLATE", "ENCODING", "TABLESPACE", "CONNECTION LIMIT",
1651-
NULL};
1651+
"LC_COLLATE", "LC_CTYPE", NULL};
16521652

16531653
COMPLETE_WITH_LIST(list_DATABASE);
16541654
}

0 commit comments

Comments
 (0)