SPI_execp() failed in RI_FKey_cascade_del()

From: "Papp, Gyozo" <pgerzson(at)freestart(dot)hu>
To: "postgres+php" <pgsql-php(at)postgresql(dot)org>
Subject: SPI_execp() failed in RI_FKey_cascade_del()
Date: 2002-04-09 09:47:29
Message-ID: 007801c1dfab$9070d580$01fdfea9@jaguar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Hi,

does anyone know what this error message refers to?

PostgreSQL query failed: ERROR: SPI_execp() failed in RI_FKey_cascade_del()

The $query was "DELETE FROM request WHERE request_id=33 AND label='DEMO2';"

I have a couple of tables (about 5) that refers to table "request"
with a foreign key constraint like:

request_id INTEGER
CONSTRAINT n_request_id NOT NULL
CONSTRAINT f_request_id
REFERENCES request ON DELETE CASCADE
DEFERRABLE INITIALLY DEFERRED,

Can i work around this without recreate the schema and not delete
correponding values from respective tables one by one?

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

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Areski Belaid 2002-04-09 11:44:31 set_time_limit -VS- database queries
Previous Message John Starkey 2002-04-09 06:02:01 Greek/PHP/PostgreSQL