Re: Functions in postgres - Mailing list pgsql-general

From Michael Fuhr
Subject Re: Functions in postgres
Date
Msg-id 20041109151151.GA30394@winnie.fuhr.org
Whole thread Raw
In response to Functions in postgres  ("Tk421" <vrobador@vodafone.es>)
List pgsql-general
On Tue, Nov 09, 2004 at 01:29:19PM +0100, Tk421 wrote:

> I've made some functions, an i want these functions to be used
> by a specified user, but i don't want this user can see the code
> of the functions.

Are you trying to hide the code itself, or are you just trying to
hide sensitive data embedded in the code?  If the latter, then you
might be able to move the data to a table and create the function
with SECURITY DEFINER.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-general by date:

Previous
From: "Ed L."
Date:
Subject: Re: server auto-restarts and ipcs
Next
From: "Garris, Nicole"
Date:
Subject: FW: Proper nesting of hierarchical objects