Re: [HACKERS] Open 6.5 items
От | Bruce Momjian |
---|---|
Тема | Re: [HACKERS] Open 6.5 items |
Дата | |
Msg-id | 199906071430.KAA05077@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: [HACKERS] Open 6.5 items (The Hermit Hacker <scrappy@hub.org>) |
Список | pgsql-hackers |
> > Nothing is wrong with it. I just thought it would be more reliable to > > unlink it, but now am considering I was wrong. > > Just a thought, but if you left it zero length, the dba could use it as a > means for estimating disk space requirements? :) buff.0 buff.1 is zero > lenght, but buff.2 isn't, we know that we've filled 2x1gig buffers plus a > little bit, so can allocate space accordingly? :) > > I'm groping here, help me out ... :) > One reason to do truncate is that if it is a symbolic link to another driver, that link will stay, while unlink will not, and will recreate on on the same drive. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления: