Re: "Permission denied" on view

From: Michael A Nachbaur <mike(at)nachbaur(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: "Permission denied" on view
Date: 2003-11-25 17:27:05
Message-ID: 200311250927.05270.mike@nachbaur.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Tuesday 25 November 2003 09:09 am, Tom Lane wrote:
> Michael A Nachbaur <mike(at)nachbaur(dot)com> writes:
> > scamp=> select * from Dialup.UserGroup;
> > ERROR: dialup: permission denied
>
> You haven't granted USAGE permission on the "dialup" schema to this
> user. You need that in addition to select permission on the view itself.

Thank you; apparently I didn't RTFM closely enough.

/me goes sheepishly back to work

--
/* Michael A. Nachbaur <mike(at)nachbaur(dot)com>
* http://nachbaur.com/pgpkey.asc
*/

"`Credit?' he said. `Aaaargggh...'
These two words are usually coupled together in the Old
Pink Dog Bar."

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Burr, Colin 2003-11-25 23:37:41 Bug: Sequence generator insert
Previous Message Tom Lane 2003-11-25 17:09:39 Re: "Permission denied" on view