Re: Delete denied? - Mailing list pgsql-sql

From Tom Lane
Subject Re: Delete denied?
Date
Msg-id 11256.1061596528@sss.pgh.pa.us
Whole thread Raw
In response to Delete denied?  (Josh Berkus <josh@agliodbs.com>)
List pgsql-sql
Josh Berkus <josh@agliodbs.com> writes:
> Contributing could be that the table holding the deleted records is a child 
> table with an "ON CASCADE DELETE" of one of the tables being updated 
> elsewhere in the function.  And the function works if called by the owner of 
> the table (and the function).

I seem to recall that the original coding of the RI triggers was
careless about executing the RI operations as the "right" user (namely
the table owner).  This very possibly was still broken in 7.2.4.
        regards, tom lane


pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Delete denied?
Next
From: Stephan Szabo
Date:
Subject: Re: Delete denied?