diff options
| author | Magnus Hagander | 2014-07-12 12:19:57 +0000 |
|---|---|---|
| committer | Magnus Hagander | 2014-07-12 12:21:13 +0000 |
| commit | 2006bf8104c5686c3696f192b19ba5b657b79b6a (patch) | |
| tree | 7c3ae2257e2237873cf0924e2a28d51372991c31 | |
| parent | cd8ba91a055e7ac8471addf28fa4412db8d2e529 (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.
| -rw-r--r-- | src/bin/psql/tab-complete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index b2b30ef6a81..feeb76f0655 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -1428,7 +1428,7 @@ psql_completion(char *text, int start, int end) { static const char *const list_DATABASE[] = {"OWNER", "TEMPLATE", "ENCODING", "TABLESPACE", "CONNECTION LIMIT", - NULL}; + "LC_COLLATE", "LC_CTYPE", NULL}; COMPLETE_WITH_LIST(list_DATABASE); } |
