Re: Inconsistent syntax in GRANT - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Inconsistent syntax in GRANT
Date
Msg-id 200601041141.36788.josh@agliodbs.com
Whole thread Raw
In response to Re: Inconsistent syntax in GRANT  (Euler Taveira de Oliveira <eulerto@yahoo.com.br>)
Responses Re: Inconsistent syntax in GRANT  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Euler,

> It should but it's not implemented yet. There is no difficulty in doing
> it. But I want to propose the following idea: if some object depends on
> another object and its type is 'DEPENDENCY_INTERNAL' we could
> grant/revoke privileges automagically to it. Or maybe create another
> type of dependency to do so.
> Comments?

I think this would be difficult to work out.  Personally, the only 
clear-cut case I can think of is SERIAL columns; other dependancies would 
require a lot of conditional logic.

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Improving N-Distinct estimation by ANALYZE
Next
From: Tom Lane
Date:
Subject: Re: Improving N-Distinct estimation by ANALYZE