• Tom Lane's avatar
    Use PQescapeString to ensure that tab-completion queries are not messed · 77c1791a
    Tom Lane authored
    up by quotes or backslashes in words that are being matched to database
    names (per gripe from Ian Barwick, though I didn't use his patch).
    Also fix possible memory leakage if _complete_with_query isn't run to
    completion (not clear if that can happen or not, but be safe).
    77c1791a
tab-complete.c 54.6 KB