Re: viewing source code

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "Roberts, Jon" <Jon(dot)Roberts(at)asurion(dot)com>
Cc: "'Kris Jurka'" <books(at)ejurka(dot)com>, Merlin Moncure <mmoncure(at)gmail(dot)com>, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, Bill Moran <wmoran(at)collaborativefusion(dot)com>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: viewing source code
Date: 2007-12-18 18:26:49
Message-ID: 20071218182649.GB8088@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Roberts, Jon escribió:

> Revoking pg_proc isn't good for users that shouldn't see other's code but
> still need to be able to see their own code.

So create a view on top of pg_proc restricted by current role, and grant
select on that to users.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Roberts, Jon 2007-12-18 18:33:54 Re: viewing source code
Previous Message Roberts, Jon 2007-12-18 16:05:46 Re: viewing source code