Re: [HACKERS] Open 6.5 items - Mailing list pgsql-hackers

From ZEUGSWETTER Andreas IZ5
Subject Re: [HACKERS] Open 6.5 items
Date
Msg-id 219F68D65015D011A8E000006F8590C60267B38F@sdexcsrv1.f000.d0188.sd.spardat.at
Whole thread Raw
List pgsql-hackers
> 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.
> 
That is the first good argument in favor of truncate other than 
coding issues. I like it. It is actually very good :-)

My only concern with leaving the files around would be, that there is
a chance for other backends to write where they should not.

Andreas


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Bug in LIKE ?
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Priorities for 6.6