summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2017-07-12 12:30:50 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2017-07-12 12:31:20 +0300
commit66a3ea0711db8d0eb04da98b0f1354929b9daf30 (patch)
treeac276f8d9bffeaf7bf017541694f4ed758be96ff /src
parent521fede166d6d8ce0c7745c169ad7c0ea49233c9 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/bin/psql/tab-complete.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c
index 51f5532f5d0..b9aac29b730 100644
--- a/src/bin/psql/tab-complete.c
+++ b/src/bin/psql/tab-complete.c
@@ -3360,9 +3360,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 ||