mchron(at)aueb(dot)gr writes:
> I'm trying to copy the contents of a bucket of a hash table to a BufFile.
> There is a memory context for each bucket. That is, there is an array
> (#nbuckets) memory contexts.
That's a lot of contexts...
> The server terminated abnormally here "->>> (1)" at the code below and I
> can't understand why!
Probably you reset a context that contained data that was still needed.
Exactly where did that slot get created, for instance?
regards, tom lane