| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Bruce Momjian <bruce(at)momjian(dot)us> |
| Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: RelationCreateStorage can orphan files |
| Date: | 2010-09-16 22:57:02 |
| Message-ID: | 10541.1284677822@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Bruce Momjian <bruce(at)momjian(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2010-09-16 22:58:06 | Re: Serializable Snapshot Isolation |
| Previous Message | Bruce Momjian | 2010-09-16 22:41:50 | Re: RelationCreateStorage can orphan files |