pgsql: Assert that pgwin32_signal_initialize() has been called early en

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Assert that pgwin32_signal_initialize() has been called early en
Date: 2019-04-04 00:16:55
Message-ID: E1hBq3r-0002E3-CU@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Assert that pgwin32_signal_initialize() has been called early enough.

Before the pgwin32_signal_initialize() call, the backend version of
pg_usleep() has no effect. No in-tree code falls afoul of that today,
but temporary commit 23078689a9921968ac0873b017be6e7f772f10bc did so.

Discussion: https://postgr.es/m/20190402135442.GA1173872@rfd.leadboat.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ab9ed9be2378f02edf613e0543a29287e7484338

Modified Files
--------------
src/backend/port/win32/signal.c | 3 +++
src/port/open.c | 3 +++
2 files changed, 6 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2019-04-04 00:42:06 pgsql: tableam: basic documentation.
Previous Message Tom Lane 2019-04-03 22:28:35 pgsql: Doc: clarify partial-index example.