Re: unQuoteBytea

Ben Lamb <[email protected]>
Newsgroups gmane.comp.python.db.pypgsql.user
Message-ID <[email protected]>
On Thursday 01 May 2003 1:24 am, you wrote:
> > BTW Unescaping a 200Kb JPEG stored in a PostgreSQL bytea field took 1.5
> > mins before and 0.09 seconds afterwards on a 2Ghz machine!
>
> Wow, I wouldn't have imagined that (some platforms') scanf suck so much.
> Doesn't look like libpq's bytea unquoting function was used very much in
> real life, does it?

I guess not many people use sscanf for parsing large (> 1Kb) amounts of data. 
The function was only introduced in 7.3 so I doubt many people have noticed 
it yet.

I'm using Debian stable on Intel, glibc 2.2.5 with gcc-3.2.2.

Ben.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.