Skip to content

Commit 2006bf8

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 cd8ba91 commit 2006bf8

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
@@ -1428,7 +1428,7 @@ psql_completion(char *text, int start, int end)
14281428
{
14291429
static const char *const list_DATABASE[] =
14301430
{"OWNER", "TEMPLATE", "ENCODING", "TABLESPACE", "CONNECTION LIMIT",
1431-
NULL};
1431+
"LC_COLLATE", "LC_CTYPE", NULL};
14321432

14331433
COMPLETE_WITH_LIST(list_DATABASE);
14341434
}

0 commit comments

Comments
 (0)