From: Heikki Linnakangas Date: Wed, 12 Jul 2017 09:30:50 +0000 (+0300) Subject: Remove unnecessary braces, to match the surrounding style. X-Git-Tag: REL9_2_22~29 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=f4d71bdd1352add29f61fba067b9294d01b4d461;p=postgresql.git Remove unnecessary braces, to match the surrounding style. Mostly in the new subscription-related commands. Backport the few that were also present in older versions. Thomas Munro Discussion: https://www.postgresql.org/message-id/CAEepm=3CyW1QmXcXJXmqiJXtXzFDc8SvSfnxkEGD3Bkv2SrkeQ@mail.gmail.com --- diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index e384cac8809..17583357601 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -3037,9 +3037,7 @@ psql_completion(char *text, int start, int end) } } else if (strcmp(prev_wd, "\\set") == 0) - { matches = complete_from_variables(text, "", ""); - } else if (strcmp(prev_wd, "\\sf") == 0 || strcmp(prev_wd, "\\sf+") == 0) COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_functions, NULL); else if (strcmp(prev_wd, "\\cd") == 0 ||