Re: [GENERAL] pg_upgrade from 9.5 to 9.6 fails with "invalid argument"
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [GENERAL] pg_upgrade from 9.5 to 9.6 fails with "invalid argument" |
| Дата | |
| Msg-id | 14719.1475186933@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [GENERAL] pg_upgrade from 9.5 to 9.6 fails with "invalid argument" (Alvaro Herrera <alvherre@2ndquadrant.com>) |
| Ответы |
Re: [GENERAL] pg_upgrade from 9.5 to 9.6 fails with
"invalid argument"
|
| Список | pgsql-hackers |
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Tom Lane wrote:
>> I wouldn't even put a lot of faith in the errno being meaningful,
>> considering that it does close() calls before capturing the errno.
> So we do close() in a bunch of places while closing shop, which calls
> _close() on Windows; this function sets errno.
But only on failure, no? The close()s usually shouldn't fail, and
therefore shouldn't change errno, it's just that you can't trust that
100%.
I think likely what's happening is that we're seeing a leftover value from
some previous syscall that set GetLastError's result (and, presumably,
wasn't fatal so far as pg_upgrade was concerned).
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера