diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-06-02 03:55:39 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-06-02 03:55:39 +0000 |
commit | 5312f7a0383b1158cf9c6295c22bad60b8397d60 (patch) | |
tree | b41afcb19c5d294100729e487b115b8b477be414 /databases/postgresql81-server | |
parent | 21b5e839a306102dea852036193659b62afc32fb (diff) | |
download | ports-5312f7a0383b1158cf9c6295c22bad60b8397d60.tar.gz ports-5312f7a0383b1158cf9c6295c22bad60b8397d60.zip |
Notes
Diffstat (limited to 'databases/postgresql81-server')
-rw-r--r-- | databases/postgresql81-server/files/patch-src::backend::commands::async.c | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/databases/postgresql81-server/files/patch-src::backend::commands::async.c b/databases/postgresql81-server/files/patch-src::backend::commands::async.c deleted file mode 100644 index 78eea1eae01c..000000000000 --- a/databases/postgresql81-server/files/patch-src::backend::commands::async.c +++ /dev/null @@ -1,38 +0,0 @@ -*** src/backend/commands/async.c.orig Sun Sep 15 21:24:41 2002 ---- src/backend/commands/async.c Mon Feb 17 21:38:47 2003 -*************** -*** 599,604 **** ---- 599,614 ---- - - if (notifyInterruptEnabled) - { -+ bool save_ImmediateInterruptOK = ImmediateInterruptOK; -+ -+ /* -+ * We may be called while ImmediateInterruptOK is true; turn it off -+ * while messing with the NOTIFY state. (We would have to save -+ * and restore it anyway, because PGSemaphore operations inside -+ * ProcessIncomingNotify() might reset it.) -+ */ -+ ImmediateInterruptOK = false; -+ - /* - * I'm not sure whether some flavors of Unix might allow another - * SIGUSR2 occurrence to recursively interrupt this routine. To -*************** -*** 626,631 **** ---- 636,648 ---- - elog(LOG, "Async_NotifyHandler: done"); - } - } -+ -+ /* -+ * Restore ImmediateInterruptOK, and check for interrupts if needed. -+ */ -+ ImmediateInterruptOK = save_ImmediateInterruptOK; -+ if (save_ImmediateInterruptOK) -+ CHECK_FOR_INTERRUPTS(); - } - else - { - |