Ian Barwick <barwick@gmx.net> writes:
> A patch for this using PQescapeString (is there another preferred method?) is
> attached as a possible solution.
Surely all those replacements of \\ with \\\\ are wrong. I agree that
it's insane not to be escaping the user input, though ...
regards, tom lane