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: "Bruno Wolff III" <bruno(at)wolff(dot)to>, "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-28 21:57:48
Message-ID: 26623.1106949468@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:
>> You left out SEQUENCES.

> And views, but he was just listing the acceptable targets to the 'grant'
> command. Basically, views and sequences are treated as tables in this
> respect.

Right. Also, LANGUAGEs do not live within schemas, so they drop out of
the consideration as well.

Since FUNCTIONs grant EXECUTE to PUBLIC by default, I don't think we
need to worry too much about them either. In practice it would be
enough to solve this problem for tables.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2005-01-28 22:01:51 Re: -HEAD on FreeBSD 6-CURRENT build failures
Previous Message Tom Lane 2005-01-28 21:49:48 Re: [pgsql-hackers] Group-count estimation statistics