Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group