Re: Delete cascade and trigger permissions?

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: "Brennan, Sean (IMS)" <BrennanS(at)imsweb(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Delete cascade and trigger permissions?
Date: 2006-07-07 02:12:02
Message-ID: 20060707021202.GA51442@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ron Johnson 2006-07-07 02:24:34 Re: Long term database archival
Previous Message Dann Corbit 2006-07-07 01:39:09 Re: Long term database archival