Re: File descriptors in exec'd subprocesses - Mailing list pgsql-hackers

From Tom Lane
Subject Re: File descriptors in exec'd subprocesses
Date
Msg-id 2420419.1675613173@sss.pgh.pa.us
Whole thread Raw
In response to Re: File descriptors in exec'd subprocesses  (Andres Freund <andres@anarazel.de>)
Responses Re: File descriptors in exec'd subprocesses
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On February 5, 2023 1:00:50 AM GMT+01:00, Thomas Munro <thomas.munro@gmail.com> wrote:
>> Are there any more descriptors we need to think about?

> Postmaster's listen sockets?

I wonder whether O_CLOEXEC on that would be inherited by the
client-communication sockets, though.  That's fine ... unless you
are doing EXEC_BACKEND.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_stat_statements and "IN" conditions
Next
From: Andres Freund
Date:
Subject: Re: Weird failure with latches in curculio on v15