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:56:20
Message-ID: 6350.1049057780@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:
> On Sun, 2003-03-30 at 15:14, Tom Lane wrote:
>> What do you do to ensure the temp files *do* get cleaned up eventually?

> It would probably be good to clean up any remaining temp files when the
> backend shuts down. Would that be ok?

Yes, you need to do that. Leaving it for the next postmaster restart
isn't acceptable (production sites don't restart the postmaster often).

It should be reasonably painless to do this in a shmem_exit hook.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2003-03-30 22:12:17 Re: array support patch phase 1 patch
Previous Message Tom Lane 2003-03-30 20:39:38 Re: array support patch phase 1 patch