Re: copying a bucket to a BufFile - Mailing list pgsql-hackers

From Tom Lane
Subject Re: copying a bucket to a BufFile
Date
Msg-id 9485.1118162288@sss.pgh.pa.us
Whole thread Raw
In response to copying a bucket to a BufFile  (mchron@aueb.gr)
List pgsql-hackers
mchron@aueb.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


pgsql-hackers by date:

Previous
From: mchron@aueb.gr
Date:
Subject: copying a bucket to a BufFile
Next
From: Jaime Casanova
Date:
Subject: Re: [GENERAL] Issue with adding ORDER BY to EXCEPT.