Re: I can't drop a user if I don't drop his grants beforehand??????????????????

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: I can't drop a user if I don't drop his grants beforehand??????????????????
Дата
Msg-id 20090529145037.GA10092@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: I can't drop a user if I don't drop his grants beforehand??????????????????  (Nico Sabbi <nsabbi@officinedigitali.it>)
Список pgsql-general
Nico Sabbi wrote:
> Alvaro Herrera ha scritto:

>>> I'm not speaking of object ownership, but of GRANTs.
>>
>> As Tom says, it's a known limitation.  Did you try REASSIGN OWNED and/or DROP
>> OWNED?

> No, I didn't because the tables weren't owned by the user I wanted to
> drop, but by another one.

DROP OWNED drops GRANTs too.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Converting each item in array to a query result row
Следующее
От: Geoffrey
Дата:
Сообщение: Re: pg_usleep() location