From: Alvaro Herrera <alvherre@commandprompt.com>
To: Roberts, Jon <Jon.Roberts@asurion.com>
Cc: 'Kris Jurka' <books@ejurka.com>
Cc: Merlin Moncure <mmoncure@gmail.com>
Cc: Jonah H. Harris <jonah.harris@gmail.com>
Cc: Bill Moran <wmoran@collaborativefusion.com>
Cc: Joshua D. Drake <jd@commandprompt.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: viewing source code
Date: Tue, 18 Dec 2007 15:26:49 -0300
Message-ID: <20071218182649.GB8088@alvh.no-ip.org> (raw)
In-Reply-To: <1A6E6D554222284AB25ABE3229A92762112A17@nrtexcus702.int.asurion.com>
References: <1A6E6D554222284AB25ABE3229A92762112A17@nrtexcus702.int.asurion.com>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: alvherre@commandprompt.com, Jon.Roberts@asurion.com, books@ejurka.com, mmoncure@gmail.com, jonah.harris@gmail.com, wmoran@collaborativefusion.com, jd@commandprompt.com
Subject: Re: viewing source code
In-Reply-To: <20071218182649.GB8088@alvh.no-ip.org>
References: <1A6E6D554222284AB25ABE3229A92762112A17@nrtexcus702.int.asurion.com> <20071218182649.GB8088@alvh.no-ip.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox