PlPerl.c patch - Mailing list pgsql-hackers

From Travis Bauer
Subject PlPerl.c patch
Date
Msg-id 20010118160834.A8411@ghost.cs.indiana.edu
Whole thread Raw
Responses Re: PlPerl.c patch  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I have attached a simple change to src/pl/plperl/plperl.c to
enable the :bash_math opcodes.  Currently plperl.c only
enables the :default opcodes.  This leave out about five of six
math functions including sqrt().

It might be worth considering allowing the user's to enable
other packages on the command line.  However, most of the other
packages allow you to do things like access the underlying file
system (as the owner of the backend process), make system calls,
and perform network operations.

The patch is off of the 7.0.3 released code.


--
----------------------------------------------------------------
Travis Bauer | CS Grad Student | IU |www.cs.indiana.edu/~trbauer
----------------------------------------------------------------

Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: postgres TODO
Next
From: Tom Lane
Date:
Subject: Re: PlPerl.c patch