Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group