diff --git a/src/bin/psql/tab-complete.in.c b/src/bin/psql/tab-complete.in.c index 724323ee5f3..75132528f3a 100644 --- a/src/bin/psql/tab-complete.in.c +++ b/src/bin/psql/tab-complete.in.c @@ -5250,7 +5250,7 @@ match_previous_words(int pattern_id, */ if (ends_with(prev_wd, '(') || ends_with(prev_wd, ',')) COMPLETE_WITH("ANALYZE", "CONCURRENTLY", "VERBOSE"); - else if (TailMatches("ANALYZE", "CONCURRENTLY", "VERBOSE")) + else if (TailMatches("ANALYZE|CONCURRENTLY|VERBOSE")) COMPLETE_WITH("ON", "OFF"); }