Re: dup(0) fails on Ubuntu 20.04 and macOS 10.15 with 13.0

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: dup(0) fails on Ubuntu 20.04 and macOS 10.15 with 13.0
Дата
Msg-id 1720575.1601908522@sss.pgh.pa.us
обсуждение исходный текст
Ответ на dup(0) fails on Ubuntu 20.04 and macOS 10.15 with 13.0  (Mario Emmenlauer <mario@emmenlauer.de>)
Список pgsql-general
Mario Emmenlauer <mario@emmenlauer.de> writes:
> I get reproducibly the error:
> 2020-10-05 11:48:19.720 CEST [84731] WARNING:  dup(0) failed after 0 successes: Bad file descriptor

Hmph.  That code loop assumes that stdin exists to be duplicated,
but maybe if it had been closed, you'd get this error.

However, that logic hasn't changed in decades, and we've not heard
complaints about it before.  Are you starting the server in some
unusual way?

            regards, tom lane



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

Предыдущее
От: Thorsten Schöning
Дата:
Сообщение: Re: What's your experience with using Postgres in IoT-contexts?
Следующее
От: Mario Emmenlauer
Дата:
Сообщение: Re: dup(0) fails on Ubuntu 20.04 and macOS 10.15 with 13.0