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

2021-09-01 Thread Mario Emmenlauer
On 05.10.20 14:35, Tom Lane wrote: > Mario Emmenlauer 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 bee

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

2020-10-05 Thread Matthias Apitz
El día lunes, octubre 05, 2020 a las 04:49:27p. m. +0200, Mario Emmenlauer escribió: > On 05.10.20 13:22, Mario Emmenlauer wrote: > > I've used PostgreSQL since version 9.x successfully on Linux, macOS > > and Windows. Today I've upgraded from 12.3 to 13.0 and suddenly I can > > not start the ser

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

2020-10-05 Thread Mario Emmenlauer
On 05.10.20 13:22, Mario Emmenlauer wrote: > I've used PostgreSQL since version 9.x successfully on Linux, macOS > and Windows. Today I've upgraded from 12.3 to 13.0 and suddenly I can > not start the server any more on Ubuntu 20.04 (inside Docker on Ubuntu > 18.04) and on macOS 10.15. > > I get r

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

2020-10-05 Thread Tom Lane
Mario Emmenlauer 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