Re: pg_dump -Ft failed on Windows XP - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pg_dump -Ft failed on Windows XP
Date
Msg-id 200604201319.48123.peter_e@gmx.net
Whole thread Raw
In response to Re: pg_dump -Ft failed on Windows XP  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-hackers
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/


pgsql-hackers by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: pg_dump -Ft failed on Windows XP
Next
From: "Magnus Hagander"
Date:
Subject: Re: pg_dump -Ft failed on Windows XP