Re: pg_dump -Ft failed on Windows XP

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump -Ft failed on Windows XP
Дата
Msg-id 19296.1145549256@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_dump -Ft failed on Windows XP  ("Magnus Hagander" <mha@sollentuna.net>)
Список pgsql-hackers
"Magnus Hagander" <mha@sollentuna.net> writes:
> Ok. Should be easy enough once the code is fine - can you comment on the
> patch as sent, if the code itself looks right provided i wrap it up in a
> function in port/?

Not sure if the error handling is adequate --- are there any cases
besides EEXIST that should loop?

A look at

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt__tempnam.2c_._wtempnam.2c_.tmpnam.2c_._wtmpnam.asp

suggests that tempnam() is also pretty fragile, esp. if you're passing
NULLs.  Apparently it won't work at all if TMP isn't set?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: float8 regression test failure in head
Следующее
От: Patrick Welche
Дата:
Сообщение: Re: float8 regression test failure in head