Re: error "permission denied for relation" on postgresql 9.0.6 during CREATE TABLE

From: Giuseppe Sacco <giuseppe(at)eppesuigoccas(dot)homedns(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: error "permission denied for relation" on postgresql 9.0.6 during CREATE TABLE
Date: 2012-01-27 17:17:13
Message-ID: 1327684633.4578.37.camel@scarafaggio
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Il giorno ven, 27/01/2012 alle 08.54 -0800, Adrian Klaver ha scritto:
> On Friday, January 27, 2012 8:25:56 am Giuseppe Sacco wrote:
[...]
> > I am owner of table "documents":
> >
> > neos=> \dt agenzia.documents
> > List of relations
> > Schema | Name | Type | Owner
> > ---------+-----------+-------+-------
> > agenzia | documents | table | neos
> > (1 row)
> >
> > I read the documentation about postgresql 9.0 and it seems the error
> > message is about permission "x". As you may see "x" is among my
> > permissions:
>
> The x(REFERENCES) permission needs to be on both tables for the owner of the
> referenced table(noes).

Well, I am owner of the referenced table. I cannot check anything on the
barcodebydocumentinfo table since it is the one I am trying to CREATE.

Thanks,
Giuseppe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2012-01-27 17:38:10 Re: error "permission denied for relation" on postgresql 9.0.6 during CREATE TABLE
Previous Message Adrian Klaver 2012-01-27 16:54:15 Re: error "permission denied for relation" on postgresql 9.0.6 during CREATE TABLE