Re: Inconsistent syntax in GRANT

Поиск
Список
Период
Сортировка
Искать
От
Euler Taveira de Oliveira
Тема
Re: Inconsistent syntax in GRANT
Дата
Msg-id
20060104021806.21032.qmail@web32713.mail.mud.yahoo.com
Ответ на
Список
Дерево обсуждения
Inconsistent syntax in GRANT Josh Berkus <josh@agliodbs.com>
Re: Inconsistent syntax in GRANT Euler Taveira de Oliveira <eulerto@yahoo.com.br>
Re: Inconsistent syntax in GRANT Josh Berkus <josh@agliodbs.com>
Re: Inconsistent syntax in GRANT Bruce Momjian <pgman@candle.pha.pa.us>
--- Josh Berkus  escreveu:

> However,
> GRANT SELECT ON TABLE table1 TO someuser; 
> ... works, while ....
> GRANT SELECT ON SEQUENCE table1_id_seq TO someuser;
> ... raises an error.
> 
> This is inconsistent.   Do people agree with me that the parser
> should 
> accept "SEQUENCE" there, since the optional object name works for all
> 
> other objects?  Is there some technical reason this is difficult to
> do?
> 
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?


Euler Taveira de Oliveira
euler[at]yahoo_com_br




	
_______________________________________________________ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 


В списке pgsql-hackers по дате отправления
От: Andrew Dunstan
Дата:
Сообщение: Re: Deferrable UNIQUE INDEX?
От: Michael Glaesemann
Дата:
Сообщение: Re: Deferrable UNIQUE INDEX?
FAQ