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

From Tom Lane
Subject Re: pg_dump -Ft failed on Windows XP
Date
Msg-id 18662.1145545879@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_dump -Ft failed on Windows XP  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-hackers
"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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Google SoC--Idea Request
Next
From: "Gevik Babakhani"
Date:
Subject: TODO item pg_hba.conf