Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit bb4d05c

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 f280eff commit bb4d05c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/psql/tab-complete.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2046,7 +2046,7 @@ psql_completion(const char *text, int start, int end)
20462046
{
20472047
static const char *const list_DATABASE[] =
20482048
{"OWNER", "TEMPLATE", "ENCODING", "TABLESPACE", "CONNECTION LIMIT",
2049-
NULL};
2049+
"LC_COLLATE", "LC_CTYPE", NULL};
20502050

20512051
COMPLETE_WITH_LIST(list_DATABASE);
20522052
}

0 commit comments

Comments
 (0)