Re: plperl: Documentation on BYTEA decoding is wrong

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: Florian Weimer <fweimer(at)bfk(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org, Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: Re: plperl: Documentation on BYTEA decoding is wrong
Date: 2008-12-15 16:37:29
Message-ID: 200812151137.29931.xzilla@users.sourceforge.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Monday 28 January 2008 05:37:03 Florian Weimer wrote:
> * Robert Treat:
> > Note we've been using Theo's plperl bytea patch on one of our
> > production servers for some time; if anyone wants access to that
> > lmk.
>
> I'm interested. Could you post a pointer to this code, please?

I had to do some work on this machine last week, and while digging into it, I
ran across this email which appears to have fallen through the cracks. Not
sure that anyone is still interested (heck, i've forgotten what this thread
was even about), but the following patch should apply cleanly to 8.2.11.

Note that personally I think this is a bit of a hack; I'd rather see a
solution in the upstream code, but aiui this approach is frowned upon. If I
get time, I might redo this as a new pl language (plperlo or something)
rather than maintaing the patch. In any case, if anyone is interested on
hacking on this, please drop us a line.

--
Robert Treat
Conjecture: http://www.xzilla.net
Consulting: http://www.omniti.com

Attachment Content-Type Size
plperl.c.bytea_fix text/x-diff 10.8 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jonah H. Harris 2008-12-15 16:38:49 Re: Block-level CRC checks
Previous Message Alvaro Herrera 2008-12-15 16:30:59 Re: Block-level CRC checks