Re: Remove sort files - Mailing list pgsql-patches

From Tom Lane
Subject Re: Remove sort files
Date
Msg-id 16092.990640839@sss.pgh.pa.us
Whole thread Raw
In response to Re: Remove sort files  ("Michael Richards" <michael@fastmail.ca>)
List pgsql-patches
"Michael Richards" <michael@fastmail.ca> writes:
> Suppose I'm creating temporary files to sort, on the supported
> platforms (anything non-windows AFAIK) can't you just create and
> unlink the file so long as you don't close it?

No.

(A) cygwin is considered a supported platform.

(B) we use virtual-file references to these files; there is no guarantee
that the file will be held open continuously for as long as we need it.

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Remove sort files
Next
From: Bruce Momjian
Date:
Subject: ANT fix for jar creation