Help SPI - Mailing list pgsql-general

From Anand Surelia
Subject Help SPI
Date
Msg-id 36140361.F67FA34B@bytekinc.com
Whole thread Raw
List pgsql-general
Hi,
I am using refint.c to implement foreign keys references. It works fine
for a few tables but when there are lots of tables and triggers fire in
cascade then it fails.
It will execute a few triggers and then say :
check_primary_key: SPI_prepare returned -6
or
PQExec(): backend closed channel.

I believe it is because of some memory leak while allocating  and saving
plans. Can anyone shed any light? Any help would be appreciated?
Thanks,
Anand.


pgsql-general by date:

Previous
From: "Taral"
Date:
Subject: CNF vs DNF
Next
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] Long update query ?