Re: plperl: sort trapped by operation mask

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: sfpug(at)postgresql(dot)org
Cc: Reece Hart <reece(at)harts(dot)net>
Subject: Re: plperl: sort trapped by operation mask
Date: 2005-10-06 02:43:19
Message-ID: 200510051943.19760.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: sfpug

Reece,

> Surely I'm not the first one to try sort in a plperl function. And I
> can't think of any reason for sort to require a trusted language.
>
> I don't see anything specifically about sort and plperl/plperlu on the
> web. Enlightenment, anyone?

Well, our "trusted" is dependent on the "safe" mod for perl. For some reason,
the perl gods decided that "sort" wasn't necessarily safe, presumably because
of being able to run the machine out of memory.

--
Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Browse sfpug by date

  From Date Subject
Next Message David Fetter 2005-10-06 02:43:46 Re: order of performance
Previous Message Reece Hart 2005-10-06 02:41:38 Re: plperl: sort trapped by operation mask