Re: holdable cursors - Mailing list pgsql-patches

From Tom Lane
Subject Re: holdable cursors
Date
Msg-id 6350.1049057780@sss.pgh.pa.us
Whole thread Raw
In response to Re: holdable cursors  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
Neil Conway <neilc@samurai.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


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: array support patch phase 1 patch
Next
From: Joe Conway
Date:
Subject: Re: array support patch phase 1 patch