Mario Emmenlauer <mario@xxxxxxxxxxxxx> 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