allowing users access to a trusted C function - Mailing list pgsql-general

From Jeff Davis
Subject allowing users access to a trusted C function
Date
Msg-id 3A4386E8.8B9EE65A@wasabimg.com
Whole thread Raw
Responses Re: allowing users access to a trusted C function  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
I created (as a superuser) a set of C functions to handle boolean
arithmetic (has to do with simplifying search queries of mine). I would
like users to be able to access those functions somehow. They are very
simple functions so I can't imagine they would be exploited (unless I am
missing something). Is this possible? Otherwise I could use PL/pgSQL,
but I assume that would be significantly slower for a mathematical
operation.

Thanks,
    Jeff Davis


pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: no. of functions
Next
From: Stefano Bargioni
Date:
Subject: Re: Very slow select