Re: Not able to access schema functions and table... - Mailing list pgsql-general

From Richard Huxton
Subject Re: Not able to access schema functions and table...
Date
Msg-id 4B7E4F3F.4030004@archonet.com
Whole thread Raw
In response to Not able to access schema functions and table...  (dipti shah <shahdipti1980@gmail.com>)
List 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 by date:

Previous
From: dipti shah
Date:
Subject: Re: Not able to access schema functions and table...
Next
From: Richard Huxton
Date:
Subject: Re: Getting number of affected row after performing update