Re: Delete cascade and trigger permissions? - Mailing list pgsql-general

From Michael Fuhr
Subject Re: Delete cascade and trigger permissions?
Date
Msg-id 20060707021202.GA51442@winnie.fuhr.org
Whole thread Raw
In response to Delete cascade and trigger permissions?  ("Brennan, Sean (IMS)" <BrennanS@imsweb.com>)
List pgsql-general
On Thu, Jul 06, 2006 at 02:06:46PM -0400, Brennan, Sean (IMS) wrote:
> All in the same db connection, I do the following:
> 1)create a temp table
> 2)delete rows from the main table
> 3)access the temp table in the delete trigger of the main table
> 4)access the temp table in the delete trigger of the child table -
> FAILS!

I ran a test based on this description without any trouble.  Could
you post a minimal but complete test case that demonstrates the
problem?  That is, all SQL statements that somebody could execute
in an empty database to see the same behavior you're seeing.  Also,
what version of PostgreSQL are you running?

--
Michael Fuhr

pgsql-general by date:

Previous
From: "Dann Corbit"
Date:
Subject: Re: Long term database archival
Next
From: Ron Johnson
Date:
Subject: Re: Long term database archival