Use PQescapeString to ensure that tab-completion queries are not messed
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).
Showing
Please register or sign in to comment