diff options
| author | Magnus Hagander <magnus@hagander.net> | 2014-07-12 14:17:43 +0200 | 
|---|---|---|
| committer | Magnus Hagander <magnus@hagander.net> | 2014-07-12 14:17:43 +0200 | 
| commit | deee42ab015d54baa1b9e0165bf3635dab4f9f7a (patch) | |
| tree | 75b1e4a63d5a7a0ac260354ecce1db6c7ef2d493 /src/bin/psql/tab-complete.c | |
| parent | d68581483564ec0fbfdc255e493c4f5bd165e55e (diff) | |
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.
Diffstat (limited to 'src/bin/psql/tab-complete.c')
| -rw-r--r-- | src/bin/psql/tab-complete.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index 6c2d431842c..c3a54d458a1 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -2114,7 +2114,8 @@ psql_completion(const char *text, int start, int end)  	{  		static const char *const list_DATABASE[] =  		{"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);  	} | 
