Re: How to give complete ownership of a new DB to a new user (non-SU)?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to give complete ownership of a new DB to a new user (non-SU)?
Дата
Msg-id 9988.1469645837@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How to give complete ownership of a new DB to a new user (non-SU)?  (Billal Mahmood <billal.mahmood@rolustech.com>)
Список pgsql-general
Billal Mahmood <billal.mahmood@rolustech.com> writes:
> *Problem Summary:*
> I'm facing changing ownership issue for a DB and all its DB objects (DB,
> schema, tables, sequences etc ownership).

While there's no magic single statement for this, I think you'll find
that REASSIGN OWNED takes most of the drudgery out of it, if you have
the template database set up properly.

            regards, tom lane


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

Предыдущее
От: Billal Mahmood
Дата:
Сообщение: How to give complete ownership of a new DB to a new user (non-SU)?
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: Uber migrated from Postgres to MySQL