From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Travis Bauer <trbauer(at)indiana(dot)edu> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Re: plperl and sqrt. |
Date: | 2001-01-18 18:42:17 |
Message-ID: | 4282.979843337@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Travis Bauer <trbauer(at)indiana(dot)edu> writes:
> ... sqrt is disables because you can use it to produce
> floating point exceptions which would call $SIG{??}.
That seems a little silly, unless they also lock out *all* floating
point ops plus integer division (what about divide by zero?).
> I'm not sure why this is bad, but it seems that this would violate the
> comparment somehow.
Offhand I think this is not reasonable or necessary for Postgres' use.
I'd support adding base_math to our standard mask.
> Anyway, it would be nice to have a commandline switch for the
> Makefile.PL script which would allow people to customize the
> operation mask that plperl.so uses.
Submit a patch (and more importantly, documentation patches so that
people will know about this issue).
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-01-18 18:49:38 | Re: Irc channel?? / converting from Oracle |
Previous Message | Guillaume Lémery | 2001-01-18 18:41:48 | Re: Troubles with performances |