pgsql: Assert that pgwin32_signal_initialize() has been called earlyen - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Assert that pgwin32_signal_initialize() has been called earlyen
Date
Msg-id E1hBq3r-0002E3-CU@gemulon.postgresql.org
Whole thread Raw
List 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(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Doc: clarify partial-index example.
Next
From: Andres Freund
Date:
Subject: pgsql: tableam: basic documentation.