Re: holdable cursors

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: holdable cursors
Date: 2003-03-30 20:14:09
Message-ID: 5402.1049055249@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Neil Conway <neilc(at)samurai(dot)com> writes:
> - I needed to change the tuple store API slightly -- it assumes that it
> won't be used to hold data across transaction boundaries, so the temp
> files that it uses for on-disk storage are automatically reclaimed at
> end-of-transaction. I added a flag to tuplestore_begin_heap() to control
> this behavior. Is changing the tuple store API in this fashion OK?

What do you do to ensure the temp files *do* get cleaned up eventually?

> To workaround this, I've temporarily hacked up a solution
> that works,

I'm not real pleased with the fact that this patch has already been
applied while it still contains a "temporary hack". Please fix this
soon.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2003-03-30 20:28:16 Re: holdable cursors
Previous Message Tom Lane 2003-03-30 20:09:56 Re: Adding Rendezvous support to postmaster