]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Remove latch.c workaround for Linux < 2.6.27.
authorThomas Munro <tmunro@postgresql.org>
Sun, 28 Feb 2021 21:44:21 +0000 (10:44 +1300)
committerThomas Munro <tmunro@postgresql.org>
Sun, 28 Feb 2021 22:24:28 +0000 (11:24 +1300)
commitd1b90995e8d41df7e59efe48e98f26cd66baba9b
tree55692e651dd2575cffc585819b065a0a04c31596
parent943eb478803cc2ed6f0b1f5df6f1b20c9ad6245d
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
src/backend/storage/ipc/latch.c