aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/psql/tab-complete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c
index 6f481bb24dd..975d65584b8 100644
--- a/src/bin/psql/tab-complete.c
+++ b/src/bin/psql/tab-complete.c
@@ -3595,7 +3595,7 @@ get_previous_words(int point, char **previous_words, int nwords)
{
if (buf[start] == '"')
inquotes = !inquotes;
- else if (!inquotes)
+ if (!inquotes)
{
if (buf[start] == ')')
parentheses++;