Re: Permission denied for create table

From: Marcin Stępnicki <mstepnicki(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Permission denied for create table
Date: 2008-11-24 07:17:21
Message-ID: 179149fe0811232317h7648a089h2429f3677ec53a27@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Mon, Nov 24, 2008 at 7:50 AM, Pascal Tufenkji <ptufenkji(at)usj(dot)edu(dot)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? ;-)

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Paul Dam 2008-11-24 08:32:10 Re: BULK COLLECT
Previous Message Pascal Tufenkji 2008-11-24 06:50:25 Permission denied for create table