From: | Andreas Wenk <a(dot)wenk(at)netzmeister-st-pauli(dot)de> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: bug?: permission denied for schema on "on delete set null" |
Date: | 2009-03-10 17:29:50 |
Message-ID: | 49B6A38E.8050404@netzmeister-st-pauli.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Tom Lane schrieb:
> Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it> writes:
>> I get a
>> Query failed: ERROR: permission denied for schema user_test CONTEXT:
>> SQL statement "UPDATE ONLY "user_test"."shop_commerce_baskets" SET
>> "sid" = NULL WHERE $1::pg_catalog.text OPERATOR(pg_catalog.=)
>> "sid"::pg_catalog.text
>
>> This query is run when I do a
>> DELETE FROM user_test.sessions WHERE timestamp < 1236672815;
>> as a result of an
>
>> on delete set null
>
> Queries for RI constraints are run with the permissions of the owner of
> the other table. It looks to me like the owner of user_test.sessions
> doesn't have usage permission on schema user_test ...
>
> regards, tom lane
>
that's what I tried to say ;-) therfore the examples in my other posts ...
Cheers
Andy
From | Date | Subject | |
---|---|---|---|
Next Message | Ivan Sergio Borgonovo | 2009-03-10 18:28:28 | Re: bug?: permission denied for schema on "on delete set null" |
Previous Message | Josh Trutwin | 2009-03-10 17:26:58 | Re: [SOLVED] 8.3.6 build error on Debian Lenny |