Re: Discerning when functions had execute revoked from public

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Todd Kover <kovert(at)omniscient(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Discerning when functions had execute revoked from public
Date: 2013-01-08 23:57:06
Message-ID: 5275.1357689426@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Todd Kover <kovert(at)omniscient(dot)com> writes:
> This revocation from public happens in our environment. Trouble is, I
> can not find where an indiciation that execute has been revoked from
> public in pg_catalog.pg_proc (or any other table for that matter). Is
> there a way to find this somewhere in the catalog?

pg_proc.proacl is what to look at. If that is NULL then it means the
function has default privileges (viz, public execute). If it's not NULL
then the function has whatever privileges it says.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gavan Schneider 2013-01-09 00:26:26 Re: query by partial timestamp
Previous Message Steve Crawford 2013-01-08 23:03:58 Re: query by partial timestamp