plperl: sort trapped by operation mask

From: Reece Hart <reece(at)harts(dot)net>
To: SF PostgreSQL <sfpug(at)postgresql(dot)org>
Subject: plperl: sort trapped by operation mask
Date: 2005-10-06 00:56:25
Message-ID: 1128560185.10677.240.camel@tallac.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: sfpug

I'm getting 'sort trapped by operation mask' from plperl in postgresql
7.4.8. I understand what this message means, but can some one out there
tell me why sort is privileged? Or, is it just untrusted in the context
of s///e ?

The relevant code snippet will be hard to understand, but it is:

s(at)\\[([^\\]]+)\\](at){my %aa=map {$_=>1} split(//,$1); "[".join("",sort
keys %aa)."]"}(at)eg;

This works fine when 'sort' is removed.

Thanks,
Reece

--
Reece Hart, http://harts.net/reece/, GPG:0x25EC91A0

Responses

Browse sfpug by date

  From Date Subject
Next Message David Fetter 2005-10-06 01:11:34 Re: plperl: sort trapped by operation mask
Previous Message elein 2005-10-04 23:30:00 [boonloo@gmail.com: DB Seminar, Fri 10/7 1:10pm, 380 Soda Hall]