pgsql: Remove select(2) backed latch implementation.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove select(2) backed latch implementation.
Date: 2017-04-23 22:32:26
Message-ID: E1d2Q3O-0001mQ-V6@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove select(2) backed latch implementation.

poll(2) is required by Single Unix Spec v2, the usual baseline for
postgres (leaving windows aside). There's not been any buildfarm
animals without poll(2) for a long while, leaving the select(2)
implementation to be largely untested.

On windows, including mingw, poll() is not available, but we have a
special case implementation for windows anyway.

Author: Andres Freund
Discussion: https://postgr.es/m/20170420003611.7r2sdvehesdyiz2i@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/61c21ddad03dda1f92a05a723cf449087d80ec08

Modified Files
--------------
src/backend/storage/ipc/latch.c | 221 +++++-----------------------------------
1 file changed, 28 insertions(+), 193 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2017-04-23 22:34:44 Re: [COMMITTERS] pgsql: Replication lag tracking for walsenders
Previous Message Simon Riggs 2017-04-23 21:14:28 pgsql: Workaround for RecoverPreparedTransactions()