pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove latch.c workaround for Linux < 2.6.27.
Date: Sun, 28 Feb 2021 22:27:36 +0000
Message-ID: <E1lGUXI-0006SX-6w@gemulon.postgresql.org> (raw)

Remove latch.c workaround for Linux < 2.6.27.

Commit 82ebbeb0 added a workaround for systems with no epoll_create1()
and EPOLL_CLOEXEC.  Linux < 2.6.27 and glibc < 2.9 are long gone.  Now
seems like a good time to drop the extra code, because otherwise we'd
have to add similar already-dead workaround code to new patches using
XXX_CLOEXEC flags that arrived in the same kernel release.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CA%2BhUKGKL_%3DaO%3Dr30N%3Ds9VoDgTqHpRSzePRbA9dkYO7snc7HsxA%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d1b90995e8d41df7e59efe48e98f26cd66baba9b

Modified Files
--------------
src/backend/storage/ipc/latch.c | 21 +--------------------
1 file changed, 1 insertion(+), 20 deletions(-)



Message-ID: <E1lGUXI-0006SX-6w@gemulon.postgresql.org>
Permalink:  ../E1lGUXI-0006SX-6w@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lGUXI-0006SX-6w@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org
  Subject: Re: pgsql: Remove latch.c workaround for Linux < 2.6.27.
  In-Reply-To: <E1lGUXI-0006SX-6w@gemulon.postgresql.org>
  References: <E1lGUXI-0006SX-6w@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox