From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <mha@sollentuna.net>
Cc: Peter Eisentraut <peter_e@gmx.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 11:11:19 -0400
Message-ID: <18662.1145545879@sss.pgh.pa.us> (raw)
In-Reply-To: <6BCB9D8A16AC4241919521715F4D8BCEA352D6@algol.sollentuna.se>
References: <6BCB9D8A16AC4241919521715F4D8BCEA352D6@algol.sollentuna.se>
"Magnus Hagander" <mha@sollentuna.net> writes:
> I have repeated the problem with CVS head on XP SP2. It *does* create it
> there (or rather, it tries to).
> tmpnam() returns a file in the current dir per documentation, but I see
> it generating one in the root instead.
> tempnam() uses TMP environment variable.
> tmpfile() and tmpnam() both use the same function to generate the
> filename.
Hm. I guess I concur with Peter's conclusion: the cleanest fix is to
put our own implementation of tmpfile() into src/port/.
regards, tom lane
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: tgl@sss.pgh.pa.us, mha@sollentuna.net, peter_e@gmx.net, y-asaba@sraoss.co.jp
Subject: Re: pg_dump -Ft failed on Windows XP
In-Reply-To: <18662.1145545879@sss.pgh.pa.us>
* 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