j sk <jsk817(at)yahoo(dot)com> writes:
> While trying to delete ~8000 rows from a table which
> has about 10 foreign keys and are triggered to cascade
> on delete, I get this error:
> ERROR: Memory exhausted AllocSetAlloc(1124)
Could we see a complete reproducible example? I'm not aware of any
memory leaks in the foreign-key support, but perhaps you've found one...
regards, tom lane