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