Re: holdable cursors

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
Cc: "Neil Conway" <neilc(at)samurai(dot)com>, "PostgreSQL Patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: holdable cursors
Date: 2003-03-31 17:09:40
Message-ID: 23541.1049130580@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

"Matthew T. O'Connor" <matthew(at)zeut(dot)net> writes:
> From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
>> Yes, you need to do that. Leaving it for the next postmaster restart
>> isn't acceptable (production sites don't restart the postmaster often).

> Would it make any sense for vacuum to look around for (and clean up) unused
> temp files left either from this or sorts etc....

I see no need for that. If a backend leaves temp files on normal exit,
the backend is broken and must be fixed. If it leaves temp files upon
crashing, well we can't expect anything from it; but that scenario will
cause a postmaster restart, which will clean out the temp files.

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-03-31 20:48:07 Re: Deferred trigger cleanup
Previous Message Matthew T. O'Connor 2003-03-31 17:06:34 Re: holdable cursors