diff options
author | Magnus Hagander <magnus@hagander.net> | 2014-07-12 14:19:57 +0200 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2014-07-12 14:19:57 +0200 |
commit | bb4d05c026a7b811fa081d994bc02133fb6d13b1 (patch) | |
tree | e1317c2b19d877b3d3a2160885abc5161f740025 /src | |
parent | f280eff94974d4f50a927120d45580bb14c27e87 (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')
-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 3bb727f05c9..96de7783e90 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -2046,7 +2046,7 @@ psql_completion(const 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); } |