From: Robert Haas Date: Thu, 22 Jun 2017 15:07:58 +0000 (-0400) Subject: psql: Restore alphabetical order in words_after_create. X-Git-Tag: REL_10_BETA2~89 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=da6bf130750dec5bcaab0696b00c513c17b14ff9;p=thirdparty%2Fpostgresql.git psql: Restore alphabetical order in words_after_create. Rushabh Lathia Discussion: http://postgr.es/m/CAGPqQf3yKG0Eo04ePfLPG_-KTo=7ZkxbGDVUWfSGN35Y3SG+PA@mail.gmail.com --- diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index 29ccc257932..17344d9d177 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -1014,8 +1014,8 @@ static const pgsql_thing_t words_after_create[] = { {"CONFIGURATION", Query_for_list_of_ts_configurations, NULL, THING_NO_SHOW}, {"CONVERSION", "SELECT pg_catalog.quote_ident(conname) FROM pg_catalog.pg_conversion WHERE substring(pg_catalog.quote_ident(conname),1,%d)='%s'"}, {"DATABASE", Query_for_list_of_databases}, - {"DICTIONARY", Query_for_list_of_ts_dictionaries, NULL, THING_NO_SHOW}, {"DEFAULT PRIVILEGES", NULL, NULL, THING_NO_CREATE | THING_NO_DROP}, + {"DICTIONARY", Query_for_list_of_ts_dictionaries, NULL, THING_NO_SHOW}, {"DOMAIN", NULL, &Query_for_list_of_domains}, {"EVENT TRIGGER", NULL, NULL}, {"EXTENSION", Query_for_list_of_extensions},