projects
/
postgresql.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a81fbcf
)
Add autocompletion of locale keywords for CREATE DATABASE
author
Magnus Hagander
<magnus@hagander.net>
Sat, 12 Jul 2014 12:19:57 +0000
(14:19 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Sat, 12 Jul 2014 12:21:44 +0000
(14:21 +0200)
Adds support for autocomplete of LC_COLLATE and LC_CTYPE to
the CREATE DATABASE command in psql.
src/bin/psql/tab-complete.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/tab-complete.c
b/src/bin/psql/tab-complete.c
index ecc49fae622a53803131793b7fcb0a1d13496950..37be27aaede12c80d750c159b247f6ae58203f8a 100644
(file)
--- a/
src/bin/psql/tab-complete.c
+++ b/
src/bin/psql/tab-complete.c
@@
-1231,7
+1231,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);
}