Re: Understanding database schemas

Поиск
Список
Период
Сортировка
От Bosco Rama
Тема Re: Understanding database schemas
Дата
Msg-id 51FBFC48.5080009@boscorama.com
обсуждение исходный текст
Ответ на Re: Understanding database schemas  (Melvin Call <melvincall979@gmail.com>)
Ответы Re: Understanding database schemas  (Melvin Call <melvincall979@gmail.com>)
Список pgsql-general
On 08/02/13 10:56, Melvin Call wrote:
>
> If I may pigtail another related question, what is the procedure for
> allowing another user access to that schema?

Heh.  You almost have the words already:
   grant usage on schema hrschema to hr_user;

This will allow them to see the objects in the schema.  It does nothing
to allow them to access the objects themselves, so you'll still need to
grant the appropriate privileges on the objects within the schema.  You
can use default privileges if you don't wish to grant them at creation
time.  See the docs for default privs:

<http://www.postgresql.org/docs/9.2/static/sql-alterdefaultprivileges.html>

HTH,
Bosco.


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

Предыдущее
От: Jerry Sievers
Дата:
Сообщение: Re: TOC errors
Следующее
От: Melvin Call
Дата:
Сообщение: Re: Understanding database schemas