Re: File descriptors in exec'd subprocesses

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: File descriptors in exec'd subprocesses
Date: 2023-02-05 16:06:13
Message-ID: 2420419.1675613173@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)anarazel(dot)de> writes:
> On February 5, 2023 1:00:50 AM GMT+01:00, Thomas Munro <thomas(dot)munro(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2023-02-05 16:08:38 Re: Weird failure with latches in curculio on v15
Previous Message Tom Lane 2023-02-05 16:02:32 Re: pg_stat_statements and "IN" conditions