Re: RelationCreateStorage can orphan files - Mailing list pgsql-hackers

From Tom Lane
Subject Re: RelationCreateStorage can orphan files
Date
Msg-id 10541.1284677822@sss.pgh.pa.us
Whole thread Raw
In response to Re: RelationCreateStorage can orphan files  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> This is essentially the same reason why CREATE DATABASE and related
>> commands xlog directory copy operations only after completing them.
>> That potentially wastes much more than a few blocks; but it's still
>> non-dangerous, and far safer than the alternative.

> Is this documented in a C comment somewhere?  Obviously not in a place
> Robert found.

I had thought it was documented in the discussion of WAL logging rules
in access/transam/README, but it isn't.  I'll see about adding
something.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: RelationCreateStorage can orphan files
Next
From: Alvaro Herrera
Date:
Subject: Re: Serializable Snapshot Isolation