From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] Open 6.5 items |
Date: | 1999-05-31 03:40:10 |
Message-ID: | 199905310340.XAA19362@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> > I thought we decided that file descriptors are kept by backends, and are
> > still accessable while new backends don't see the files. Correct?
> >
>
> Yes,other backends could write to unliked files which would be
> vanished before long.
> I think it's more secure to truncate useless segments to size 0
> than unlinking the segments though vacuum would never remove
> useless segments.
If you truncate, other backends will see the data gone, and will be
writing into the middle of an empty file. Better to remove.
--
Bruce Momjian | http://www.op.net/~candle
maillist(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
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Inoue | 1999-05-31 05:59:33 | RE: [HACKERS] Open 6.5 items |
Previous Message | Hiroshi Inoue | 1999-05-31 02:48:39 | RE: [HACKERS] Open 6.5 items |