Gregory Stark <stark@enterprisedb.com> writes:
> Do we want something like this which provides a PQescapeByteaParam for
> escaping bytea strings before passing them as text-mode parameters in
> PQexecParam?
Seems a lot easier and more efficient to just pass out-of-line bytea
parameters as binary mode.
regards, tom lane