Re: pgsql: Add kqueue(2) support to the WaitEventSet API. - Mailing list pgsql-committers

From Michael Paquier
Subject Re: pgsql: Add kqueue(2) support to the WaitEventSet API.
Date
Msg-id 20200220072435.GM2288@paquier.xyz
Whole thread Raw
In response to pgsql: Add kqueue(2) support to the WaitEventSet API.  (Thomas Munro <tmunro@postgresql.org>)
Responses Re: pgsql: Add kqueue(2) support to the WaitEventSet API.  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-committers
Hi Thomas,

On Wed, Feb 05, 2020 at 04:59:10AM +0000, Thomas Munro wrote:
> Add kqueue(2) support to the WaitEventSet API.
>
> Use kevent(2) to wait for events on the BSD family of operating
> systems and macOS.  This is similar to the epoll(2) support added
> for Linux by commit 98a64d0bd.

Worth noting this issue with the test suite of postgres_fdw for
buildfarm animal coypu, running on NetBSD:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=coypu&dt=2020-02-19%2023%3A01%3A01
+ERROR:  kqueue failed: Too many open files
--
Michael

Attachment

pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pgsql: Clean up some code, comments and docs referring toWindows 2000
Next
From: Etsuro Fujita
Date:
Subject: pgsql: Remove extra word from comment.