Re: Allow GRANT/REVOKE permissions to be applied to all schema objects with one command - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Allow GRANT/REVOKE permissions to be applied to all schema objects with one command
Date
Msg-id 3873.1107203039@sss.pgh.pa.us
Whole thread Raw
In response to Re: Allow GRANT/REVOKE permissions to be applied to all schema objects with one command  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
List pgsql-hackers
"Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
> Is the price of looking up a schema a deal breaker here, or is it
> possible to avoid it?

My guess is "no" as to both questions.  I've never seen any profiles
suggesting that permissions-checking is a significant part of query
startup.  In any case, if you assume that the same set of permissions
are going to get checked either way (they're just distributed
differently) then the only direct cost involved would be one additional
syscache fetch, which surely ought not be significant.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Ned Lilly
Date:
Subject: PostgreSQL at LinuxWorld Boston
Next
From: Steve Atkins
Date:
Subject: Re: [BUGS] Bug in create operator and/or initdb