Re: Allow GRANT/REVOKE permissions to be applied to all schema objects with one command

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>, "Matthias Schmidt" <schmidtm(at)mock-software(dot)de>
Subject: Re: Allow GRANT/REVOKE permissions to be applied to all schema objects with one command
Date: 2005-01-31 20:23:59
Message-ID: 3873.1107203039@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message operationsengineer1 2005-01-31 21:01:52 Re: Last ID Problem
Previous Message Ned Lilly 2005-01-31 20:23:04 PostgreSQL at LinuxWorld Boston