pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Test honestly for <sys/signalfd.h>. 2+ messages / 1 participants [nested] [flat]
* pgsql: Test honestly for <sys/signalfd.h>. @ 2022-02-09 19:25 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2022-02-09 19:25 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/c5f5b4dd4b5ccecd193550530ff483f16f95746b Modified Files -------------- configure | 2 +- configure.ac | 1 + src/backend/storage/ipc/latch.c | 9 ++++----- src/include/pg_config.h.in | 3 +++ src/tools/msvc/Solution.pm | 1 + 5 files changed, 10 insertions(+), 6 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Test honestly for <sys/signalfd.h>. @ 2022-02-09 19:25 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2022-02-09 19:25 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c23461a22a1ead0a34dc209c2918ec4ccaf61475 Modified Files -------------- configure | 2 +- configure.ac | 1 + src/backend/storage/ipc/latch.c | 9 ++++----- src/include/pg_config.h.in | 3 +++ src/tools/msvc/Solution.pm | 1 + 5 files changed, 10 insertions(+), 6 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2022-02-09 19:25 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2022-02-09 19:25 pgsql: Test honestly for <sys/signalfd.h>. Tom Lane <tgl@sss.pgh.pa.us> 2022-02-09 19:25 pgsql: Test honestly for <sys/signalfd.h>. Tom Lane <tgl@sss.pgh.pa.us>
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