Re: SPI_execp() failed in RI_FKey_cascade_del()

From: "Papp, Gyozo" <pgerzson(at)freestart(dot)hu>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: SPI_execp() failed in RI_FKey_cascade_del()
Date: 2002-04-09 18:22:57
Message-ID: 001a01c1e055$e491ffe0$01fdfea9@jaguar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
----- Original Message -----
From: "Stephan Szabo" <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: "Papp, Gyozo" <pgerzson(at)freestart(dot)hu>
Cc: <pgsql-general(at)postgresql(dot)org>
Sent: Tuesday, April 09, 2002 8:11 PM
Subject: Re: [GENERAL] SPI_execp() failed in RI_FKey_cascade_del()

|
| On Tue, 9 Apr 2002, Papp, Gyozo wrote:
|
| > Hello,
| >
| > You can find my minimal db scheme and data which reproduces
| > this error (after pg_restore, too):
| >
| > http://213.134.22.60/~gerzson/spi-error.tar.gz
| > (pg_dump -C Ft -f spi-error.tar and gzipped)
| >
| >
| > Thanks for your guidance in advance
| >
| > ps: [to Tom Lane] sorry for the broken link
|
| I think I see something that might be doing it...
| There's a rule on answer_summary that forces deletes to be
| negated which means the trigger sees that the delete wasn't
| executed which would give the error since the constraint
| would no longer be satisfied.

So, if I drop these rules and I try to protect my database
with a right acl system (grant + revoke), it should work.

Thanks for the clarification!

--
Gyozo Papp - pgerzson(at)freestart(dot)hu

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jan Wieck 2002-04-09 18:52:17 Re: more about pg_toast growth
Previous Message Fran Fabrizio 2002-04-09 18:17:41 Re: Why does this not work? (keyword 'TEXT')