summaryrefslogtreecommitdiff
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:14 +0300
commitf1edf84580b1df647ae8b9b37c63f2a5612f8610 (patch)
tree573f7c2d27882d8f6cab1bc7e9e70e3a01f678bd
parent123368061188ebc8dc99346be2167e3f7a7b618c (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
-rw-r--r--src/bin/psql/tab-complete.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c
index 4fa21050a52..b5d49ea40da 100644
--- a/src/bin/psql/tab-complete.c
+++ b/src/bin/psql/tab-complete.c
@@ -3083,13 +3083,9 @@ psql_completion(const char *text, int start, int end)
COMPLETE_WITH_LIST_CS2("single", "double");
}
else if (TailMatchesCS1("\\unset"))
- {
matches = complete_from_variables(text, "", "", true);
- }
else if (TailMatchesCS1("\\set"))
- {
matches = complete_from_variables(text, "", "", false);
- }
else if (TailMatchesCS2("\\set", MatchAny))
{
if (TailMatchesCS1("AUTOCOMMIT|ON_ERROR_STOP|QUIET|"