Re: Hiding name and version - Mailing list pgsql-general

From Tom Lane
Subject Re: Hiding name and version
Date
Msg-id 16006.1442513688@sss.pgh.pa.us
Whole thread Raw
In response to Re: Hiding name and version  ("Quiroga, Damian" <damian.quiroga@intel.com>)
List pgsql-general
"Quiroga, Damian" <damian.quiroga@intel.com> writes:
> I've tried something like "REVOKE EXECUTE ON FUNCTION version() FROM someuser;" and it doesn't work.
> Apparently you can only revoke permissions that you have explicitly granted before.

The default behavior for built-in functions is as though the bootstrap
superuser has granted execute access to PUBLIC.  You would need to
reverse that (and then grant it back to any non-superusers who
should have it).

            regards, tom lane


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Hiding name and version
Next
From: Florin Andrei
Date:
Subject: Re: BDR: cannot drop database even after parting the node