> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> >> No we don't. I'm not convinced that we have a problem at all anymore.
> > We already know that crashes will leave these files around, and as we
> > start using file versioning for CLUSTER and DROP COLUMN, I expect those
> > orphaned files to continue.
> I don't. The intention (not yet implemented, but Vadim's referred to it
> repeatedly) is that relation file creation/deletion will be logged in
> WAL, and so it can be redone or undone after a crash. That seems a much
> more secure approach than anything you've proposed in this thread.
I prefer a WAL cleanup myself, especially if it can be done for 7.2, but
how do we do that without fsync'ing the WAL every time we create a file?
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
In response to
pgsql-patches by date
|Next:||From: Tom Lane||Date: 2001-05-31 00:32:31|
|Subject: Re: Patch to remove sort files, temp tables, unreferenced files |
|Previous:||From: Don Baccus||Date: 2001-05-30 22:56:35|
|Subject: Re: Support for %TYPE in CREATE FUNCTION|