From: Magnus Hagander Date: Sat, 12 Jul 2014 12:19:57 +0000 (+0200) Subject: Add autocompletion of locale keywords for CREATE DATABASE X-Git-Tag: REL8_4_22~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=77b55869475e1f7dc77d484b7ea5b109e919a818;p=thirdparty%2Fpostgresql.git 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. --- diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index ecc49fae622..37be27aaede 100644 --- 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); }