Re: File leak?

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: File leak?
Date: 2004-06-14 13:33:29
Message-ID: 40CDA929.2010802@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:

> Tom Lane wrote:
>>Now that I think about it, I believe Bruce recently removed this on my
>>advice; I was thinking that the problem shouldn't occur anymore now that
>
>
> True.
>
>
>>we WAL-log file creation and deletion. But actually the present form of
>>the WAL entries doesn't ensure that a file created by a transaction that
>>crashes before committing will go away, because file deletion actions
>>are only logged (and replayed) at transaction commit/abort. So it
>>probably should go back in. Or else we could add more WAL logging
>
>
> Wording updated to:
>
> * Remove unreferenced table files created by a transactions that were
> in-progress when the server crashed

I don't think is a good idea put the words: "when the server crashed" in a TODO
list, may be is better write: "when the server is killed abruptly".

My 2 cents.

Regards
Gaetano Mendola

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-06-14 13:35:14 Passing typmod to cast functions (for int-to-bit casting)
Previous Message Tom Lane 2004-06-14 13:19:50 Re: Weird 'bit' type behaviour