Re: Delete denied?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Delete denied?
Date: 2003-08-22 23:48:14
Message-ID: 200308221648.14119.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Guys:

> 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).

Further update: I tried changing the owner of the function and table to no
avail. Also tried dropping the FK. It seems to work if called by the
owner of the database, but not otherwise.

I'm really baffled ... I've written several hundred procedures for 7.2.4, and
have never seen anything like this.

--
-Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2003-08-22 23:55:28 Re: Delete denied?
Previous Message Josh Berkus 2003-08-22 23:24:13 Delete denied?