]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Test honestly for <sys/signalfd.h>.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 9 Feb 2022 19:24:55 +0000 (14:24 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 9 Feb 2022 19:24:55 +0000 (14:24 -0500)
commitc23461a22a1ead0a34dc209c2918ec4ccaf61475
treeae9f8919e0c8cc170676f984ef96522d920a3f69
parente327291e4a96571c85b6a9b140e1a8116fb47ec6
Test honestly for <sys/signalfd.h>.

Commit 6a2a70a02 supposed that any platform having <sys/epoll.h>
would also have <sys/signalfd.h>.  It turns out there are still a
few people using platforms where that's not so, so we'd better make
a separate configure probe for it.  But since it took this long to
notice, I'm content with the decision to not have a separate code
path for epoll-only machines; we'll just fall back to using poll()
for these stragglers.

Per gripe from Gabriela Serventi.  Back-patch to v14 where this
code came in.

Discussion: https://postgr.es/m/CAHOHWE-JjJDfcYuLAAEO7Jk07atFAU47z8TzHzg71gbC0aMy=g@mail.gmail.com
configure
configure.ac
src/backend/storage/ipc/latch.c
src/include/pg_config.h.in
src/tools/msvc/Solution.pm