Re: Schemas and access

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: felix-lists(at)crowfix(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Schemas and access
Date: 2003-06-22 22:41:17
Message-ID: 14504.1056321677@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

felix-lists(at)crowfix(dot)com writes:
> joebob=> select * from xyzzy.plugh;
> ERROR: xyzzy: permission denied
> It sure looks like the schema itself is invisible to MaryJo, but
> MaryJo can run \dt xyzzy.* perfectly fine.

You need to grant USAGE permission on the schema to MaryJo.

We've seen this mistake often enough that I wonder if maybe schemas
should default to granting USAGE permission to public ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message btober 2003-06-22 22:43:21 Re: Schemas and access
Previous Message Tom Lane 2003-06-22 22:29:07 Re: PlPython