Re: Problem with insert related to different schemas - Mailing list pgsql-sql

From Gonzalo Aguilar Delgado
Subject Re: Problem with insert related to different schemas
Date
Msg-id 1271871414.29798.5.camel@azul1
Whole thread Raw
In response to Re: Problem with insert related to different schemas  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
Hi Tom, 

This may be a clue... Will check

El mié, 21-04-2010 a las 11:23 -0400, Tom Lane escribió:
> Scott Marlowe <scott.marlowe@gmail.com> writes:
> > On Wed, Apr 21, 2010 at 7:25 AM, Gonzalo Aguilar Delgado
> > <gaguilar@aguilardelgado.com> wrote:
> >> Maybe but I ran even grant all on schema public for this user to check
> >> if this was the problem.
> 
> > That doesn't do what you think it does.  You need to grant on the actual object.
> 
> The error he was getting was about permissions for the schema, though.
> 
> One thought: if you're running any moderately recent version of PG,
> the FK check query will be run as though by the owner of the table,
> not whoever issued the INSERT.  Maybe that user doesn't have the right
> permissions?
> 
>             regards, tom lane
> 



pgsql-sql by date:

Previous
From: Harald Fuchs
Date:
Subject: Re: LEFT OUTER JOIN issue
Next
From: Jayadevan M
Date:
Subject: Re: LEFT OUTER JOIN issue