Hide users not created by a user

Поиск
Список
Период
Сортировка
От apagador
Тема Hide users not created by a user
Дата
Msg-id 51B04A48.5000708@ntsp.nec.co.jp
обсуждение исходный текст
Список pgsql-admin
Hello all,

For a multi-tenant database system, it is assumed that only databases
and users
created by a certain tenant should be accessible/viewable to him.

 From what I read, postgresql stores database and user information in
catalogs that
are accessible to public.

Here is a scenario:

Let's say Tenant A created a database and a set of users, and Tenant B also
does the same in the same postgresql instance.

Can postgresql limit the access/view to only those databases and users
that Tenant A
created?

Any idea on how this could be done?

Thanks and best regards.



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

Предыдущее
От: Kouber Saparev
Дата:
Сообщение: Re: Big UPDATE breaking replication
Следующее
От: dx k9
Дата:
Сообщение: rpm upgrade on CentOS 6.3