Re: Permission denied for create table - Mailing list pgsql-sql

From Tom Lane
Subject Re: Permission denied for create table
Date
Msg-id 17008.1227532676@sss.pgh.pa.us
Whole thread Raw
In response to Permission denied for create table  ("Pascal Tufenkji" <ptufenkji@usj.edu.lb>)
List pgsql-sql
"Pascal Tufenkji" <ptufenkji@usj.edu.lb> writes:
> Creating a normal table works fine, but creating a table with subqueries is
> giving me "permission denied"

You need to explicitly grant select permission on the child tables not
just the parent.

> P.S. I'm working on PostgreSQL 7.3.2

As already noted, you really ought to update that ... among other
things, the documentation in recent versions explicitly covers the
point above ;-)
        regards, tom lane


pgsql-sql by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Permission denied for create table
Next
From: Tk421
Date:
Subject: Sequence and nextval problem