Re: BUG #4414: PQescapeByteaInternal very slow/inefficient

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Rudolf Leitgeb" <r(dot)leitgeb(at)x-pin(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4414: PQescapeByteaInternal very slow/inefficient
Date: 2008-09-10 17:02:04
Message-ID: 1355.1221066124@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Rudolf Leitgeb" <r(dot)leitgeb(at)x-pin(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Joe Uhl 2008-09-10 19:12:46 Strange behavior for query comparing 8.2.5 and 8.3.0
Previous Message Rudolf Leitgeb 2008-09-10 11:12:58 BUG #4414: PQescapeByteaInternal very slow/inefficient