Re: BUG #4414: PQescapeByteaInternal very slow/inefficient - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #4414: PQescapeByteaInternal very slow/inefficient
Date
Msg-id 1355.1221066124@sss.pgh.pa.us
Whole thread Raw
In response to BUG #4414: PQescapeByteaInternal very slow/inefficient  ("Rudolf Leitgeb" <r.leitgeb@x-pin.com>)
List pgsql-bugs
"Rudolf Leitgeb" <r.leitgeb@x-pin.com> writes:
> PQescapeByteaInternal uses sprintf to convert a byte to its octal
> representation, which slows down escaping of large BLOBs significantly.

Good point.  Fixed in HEAD and 8.3 branches.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Rudolf Leitgeb"
Date:
Subject: BUG #4414: PQescapeByteaInternal very slow/inefficient
Next
From: Joe Uhl
Date:
Subject: Strange behavior for query comparing 8.2.5 and 8.3.0