Re: How to set default owner of objects in Postgresql

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: How to set default owner of objects in Postgresql
Дата
Msg-id CAECtzeW4bcu-9VSe+fvN8BwKCEy36yD_iAoZ3waJq1sXG_PifA@mail.gmail.com
обсуждение исходный текст
Ответ на How to set default owner of objects in Postgresql  (Ashif Shaikh <sashif0@gmail.com>)
Список pgsql-admin
Hi,

Le mer. 16 janv. 2019 à 09:40, Ashif Shaikh <sashif0@gmail.com> a écrit :
Dear Expert's,

I wanted to know whether it is possible to set default owner of any new objects being created in Postgresql 9.6?

For eg: if user abc creates a table in database mydb then by default the owner of the object should be xyz (non superuser).


No. The default owner will always be the user who executes the CREATE statement.


--
Guillaume.

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

Предыдущее
От: Achilleas Mantzios
Дата:
Сообщение: Re: Backup solution over unreliable network
Следующее
От: Shreeyansh Dba
Дата:
Сообщение: Re: How to set default owner of objects in Postgresql