Am Donnerstag, 20. April 2006 13:03 schrieb Magnus Hagander:
> Question: Is the use of O_TEMPORARY to open() portable? (my win32 docs
> say it will make the file automatically deleted when the last descriptor
> is closed, which I didn't know before. That would make the patch much
> simpler, but might require #ifdefs?)
I think it would be more elegant if you wrote a replacement implementation of
tmpfile() for pgport and did not change pg_dump at all. And/or write a bug
to Microsoft about a buggy C library. :)
--
Peter Eisentraut
http://developer.postgresql.org/~petere/