pgsql: Cope with glibc too old to have epoll_create1().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Cope with glibc too old to have epoll_create1().
Date: 2017-04-27 21:14:04
Message-ID: E1d3qjk-0007Wr-QA@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Cope with glibc too old to have epoll_create1().

Commit fa31b6f4e supposed that we didn't have to worry about that
anymore, but it seems that RHEL5 is like that, and that's still
a supported platform. Put back the prior coding under an #ifdef,
adding an explicit fcntl() to retain the desired CLOEXEC property.

Discussion: https://postgr.es/m/12307.1493325329@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/82ebbeb0abfe40fe5f19a6fcdffc7484fd3a35b0

Modified Files
--------------
src/backend/storage/ipc/latch.c | 9 +++++++++
1 file changed, 9 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2017-04-27 21:35:42 pgsql: Fix bug so logical rep launcher saves correctly time of last sta
Previous Message Andres Freund 2017-04-27 20:16:21 pgsql: Preserve required !catalog tuples while computing initial decodi