From: Peter Eisentraut <peter_e@gmx.net>
To: Magnus Hagander <mha@sollentuna.net>
Cc: pgsql-hackers@postgresql.org, "Yoshiyuki Asaba" <y-asaba@sraoss.co.jp>
Subject: Re: pg_dump -Ft failed on Windows XP
Date: Thu, 20 Apr 2006 13:19:47 +0200
Message-ID: <200604201319.48123.peter_e@gmx.net> (raw)
In-Reply-To: <6BCB9D8A16AC4241919521715F4D8BCEA352D0@algol.sollentuna.se>
References: <6BCB9D8A16AC4241919521715F4D8BCEA352D0@algol.sollentuna.se>
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/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: peter_e@gmx.net, mha@sollentuna.net, y-asaba@sraoss.co.jp
Subject: Re: pg_dump -Ft failed on Windows XP
In-Reply-To: <200604201319.48123.peter_e@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox