pg.ddx.io pgsql-sql@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Gonzalo Aguilar Delgado <gaguilar@aguilardelgado.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Scott Marlowe <scott.marlowe@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Problem with insert related to different schemas
Date: Wed, 21 Apr 2010 19:36:54 +0200
Message-ID: <1271871414.29798.5.camel@azul1> (raw)
In-Reply-To: <24030.1271863392@sss.pgh.pa.us>
References: <1271233402.10390.5.camel@azul1>
<m2rdcc563d11004200904r22b7b34fhea678e04c930beb7@mail.gmail.com>
<1271781155.6136.57.camel@azul1>
<15360.1271782885@sss.pgh.pa.us>
<1271856300.29798.4.camel@azul1>
<o2pdcc563d11004210631o93ecd816za3501992a7064c2a@mail.gmail.com>
<24030.1271863392@sss.pgh.pa.us>
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
>
view thread (10+ messages)
Message-ID: <1271871414.29798.5.camel@azul1> Permalink: ../1271871414.29798.5.camel@azul1/ Also on: postgresql.org/message-id/1271871414.29798.5.camel@azul1 ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients using the --to and --cc options: reply via email To: pgsql-sql@postgresql.org Cc: gaguilar@aguilardelgado.com, tgl@sss.pgh.pa.us, scott.marlowe@gmail.com Subject: Re: Problem with insert related to different schemas In-Reply-To: <1271871414.29798.5.camel@azul1> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox