projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
261f954
)
Add autocompletion of locale keywords for CREATE DATABASE
author
Magnus Hagander
Sat, 12 Jul 2014 12:19:57 +0000
(14:19 +0200)
committer
Magnus Hagander
Sat, 12 Jul 2014 12:20:37 +0000
(14:20 +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 f4a007f9d1a92998fffe947ccf231edfe28673f8..d839aeba267fcf3d3fc18445b5f247a86c0c48c9 100644
(file)
--- a/
src/bin/psql/tab-complete.c
+++ b/
src/bin/psql/tab-complete.c
@@
-1722,7
+1722,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);
}