Commit e1c02d92 authored by Thomas Munro's avatar Thomas Munro

Tab-complete CREATE DATABASE ... LOCALE.

Author: Ian Lawrence Barwick <barwick@gmail.com>
Discussion: https://postgr.es/m/CAB8KJ%3Dh0XO2CB4QbLBc1Tm9Bg5wzSGQtT-eunaCmrghJp4nqdA%40mail.gmail.com
parent 82e0e293
...@@ -2429,7 +2429,7 @@ psql_completion(const char *text, int start, int end) ...@@ -2429,7 +2429,7 @@ psql_completion(const char *text, int start, int end)
COMPLETE_WITH("OWNER", "TEMPLATE", "ENCODING", "TABLESPACE", COMPLETE_WITH("OWNER", "TEMPLATE", "ENCODING", "TABLESPACE",
"IS_TEMPLATE", "IS_TEMPLATE",
"ALLOW_CONNECTIONS", "CONNECTION LIMIT", "ALLOW_CONNECTIONS", "CONNECTION LIMIT",
"LC_COLLATE", "LC_CTYPE"); "LC_COLLATE", "LC_CTYPE", "LOCALE");
else if (Matches("CREATE", "DATABASE", MatchAny, "TEMPLATE")) else if (Matches("CREATE", "DATABASE", MatchAny, "TEMPLATE"))
COMPLETE_WITH_QUERY(Query_for_list_of_template_databases); COMPLETE_WITH_QUERY(Query_for_list_of_template_databases);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment