• Tom Lane's avatar
    Fix calculation of space needed for parsed words in tab completion. · f5a4370a
    Tom Lane authored
    Yesterday in commit d854118c, I had a serious brain fade leading me to
    underestimate the number of words that the tab-completion logic could
    divide a line into.  On input such as "(((((", each character will get
    seen as a separate word, which means we do indeed sometimes need more
    space for the words than for the original line.  Fix that.
    f5a4370a
tab-complete.c 130 KB