Re: copying a bucket to a BufFile

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: mchron(at)aueb(dot)gr
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: copying a bucket to a BufFile
Date: 2005-06-07 16:38:08
Message-ID: 9485.1118162288@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-06-07 16:42:03 Re: CPU-intensive autovacuuming
Previous Message Bruce Momjian 2005-06-07 16:04:28 Re: CPU-intensive autovacuuming