Assert that pgwin32_signal_initialize() has been called early enough.

Noah Misch <noah@leadboat.com>

Commit: ab9ed9be2378f02edf613e0543a29287e7484338
Author: Noah Misch <noah@leadboat.com>
Date: 2019-04-04T00:11:16Z
Releases: 12.0
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

Files

PathChange+/−
src/backend/port/win32/signal.c modified +3 −0
src/port/open.c modified +3 −0

Discussion