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

From Marcin Stępnicki
Subject Re: Permission denied for create table
Date
Msg-id 179149fe0811232317h7648a089h2429f3677ec53a27@mail.gmail.com
Whole thread Raw
In response to Permission denied for create table  ("Pascal Tufenkji" <ptufenkji@usj.edu.lb>)
List pgsql-sql
On Mon, Nov 24, 2008 at 7:50 AM, Pascal Tufenkji <ptufenkji@usj.edu.lb> wrote:
> sql073751=> SELECT * into emp2 from emp;
>
> ERROR:  emp: permission denied

> Creating a normal table works fine, but creating a table with subqueries is
> giving me "permission denied"
>
> Anyone got a clue?

You don't have SELECT permissions on emp table. You are trying to
create a emp2 table using data from emp. That won't work if you can't
access emp in the first place.

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

Whoa. Are you paleontologist per any chance? ;-)


pgsql-sql by date:

Previous
From: "Pascal Tufenkji"
Date:
Subject: Permission denied for create table
Next
From: "Paul Dam"
Date:
Subject: Re: BULK COLLECT