Re: pgsql: Add kqueue(2) support to the WaitEventSet API.

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Thomas Munro <tmunro(at)postgresql(dot)org>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Add kqueue(2) support to the WaitEventSet API.
Date: 2020-02-20 07:24:35
Message-ID: 20200220072435.GM2288@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Etsuro Fujita 2020-02-20 10:25:13 pgsql: Remove extra word from comment.
Previous Message Michael Paquier 2020-02-20 07:04:54 Re: pgsql: Clean up some code, comments and docs referring to Windows 2000

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2020-02-20 07:50:50 Re: Autovacuum on partitioned table
Previous Message Masahiko Sawada 2020-02-20 07:16:33 Re: Internal key management system