We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fa3ddd commit 1ef91d2Copy full SHA for 1ef91d2
src/backend/commands/async.c
@@ -144,6 +144,9 @@
144
#include "utils/snapmgr.h"
145
#include "utils/timestamp.h"
146
147
+#ifdef EMSCRIPTEN
148
+#include <emscripten.h>
149
+#endif
150
151
/*
152
* Maximum size of a NOTIFY payload, including terminating NULL. This
@@ -1676,6 +1679,12 @@ SignalBackends(void)
1676
1679
BackendId *ids;
1677
1680
int count;
1678
1681
1682
+ #ifdef EMSCRIPTEN
1683
+ // With PGlite we call HandleNotifyInterrupt() directly
1684
+ HandleNotifyInterrupt();
1685
+ return;
1686
+ #endif
1687
+
1688
1689
* Identify backends that we need to signal. We don't want to send
1690
* signals while holding the NotifyQueueLock, so this loop just builds a
0 commit comments