Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group