On Sun, Jun 26, 2022 at 11:18 AM Thomas Munro <thomas.mu...@gmail.com> wrote: > On Tue, May 17, 2022 at 3:31 PM Thomas Munro <thomas.mu...@gmail.com> wrote: > > On Mon, May 16, 2022 at 3:45 PM Japin Li <japi...@hotmail.com> wrote: > > > Maybe use the __illumos__ macro more accurity. > > > > > > +#elif defined(WAIT_USE_EPOLL) && defined(HAVE_SYS_SIGNALFD_H) && \ > > > + !defined(__sun__) > > > > Thanks, updated, and with a new commit message. > > Pushed to master and REL_14_STABLE.
FTR: I noticed that https://www.illumos.org/issues/13700 had been marked fixed, so I asked if we should remove our check[1]. Nope, another issue was opened at https://www.illumos.org/issues/14892, which I'll keep an eye on. It seems we're pretty good at hitting poll/event-related kernel bugs in various OSes. [1] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=3ab4fc5dcf30ebc90a23ad878342dc528e2d25ce