Re: Removing Users and Revoking Privileges

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Removing Users and Revoking Privileges
Дата
Msg-id 20080229205339.GR4673@alvh.no-ip.org
обсуждение исходный текст
Ответ на Removing Users and Revoking Privileges  (Carl McCalla <Carl.Mccalla@noaa.gov>)
Список pgsql-general
Carl McCalla wrote:
> To All,
>
> I am running Postgres version 7.4.19.
>
> One thing I wanted to do and have successfully completed is changing the
> ownership of a Postgres database and all of its tables to a new owner.
> I have also successfully granted access privileges to the new owner.

FWIW this is all covered in a future Postgres version: if any user has
remaining references on any database, the system won't let you drop it,
and it will produce a list of the affected objects.  That way it is a
lot easier to clean the whole thing up.

I know it doesn't solve your problem; I'm just mentioning it in case
you're looking for reasons to migrate to a newer version.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: "Mike Gould"
Дата:
Сообщение: SERIAL and Primary Key
Следующее
От: Erik Jones
Дата:
Сообщение: Re: SERIAL and Primary Key