Re: Not able to access schema functions and table...

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Not able to access schema functions and table...
Дата
Msg-id 4B7E4F3F.4030004@archonet.com
обсуждение исходный текст
Ответ на Not able to access schema functions and table...  (dipti shah <shahdipti1980@gmail.com>)
Список pgsql-general
On 19/02/10 07:21, dipti shah wrote:
> Hi,
>
> I have executed below queries.
>
> CREATE SCHEMA mydb_schema  AUTHORIZATION postgres;
>
> GRANT ALL ON SCHEMA mydb_schema TO postgres;
>
> REVOKE ALL ON SCHEMA mydb_schema FROM PUBLIC;

> user1=>  select * from mydb_schema.test1;
> ERROR:  permission denied for mydb_schema

> Could anyone please tell me what is wrong here?

There is a USAGE permission for the schema that you need to GRANT.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: dipti shah
Дата:
Сообщение: Re: Not able to access schema functions and table...
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Getting number of affected row after performing update