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/[email protected] 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(+)
