HAWQ-1324. Fixed crash at query cancel, signal hanler cannot call unsafe elog()


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/305e2bc7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/305e2bc7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/305e2bc7

Branch: refs/heads/2.1.0.0-incubating
Commit: 305e2bc78c86e5b0f38fdce349e78e908b3afb65
Parents: 256c066
Author: Ming LI <[email protected]>
Authored: Mon Feb 13 15:16:53 2017 +0800
Committer: Ming LI <[email protected]>
Committed: Tue Feb 14 11:15:04 2017 +0800

----------------------------------------------------------------------
 src/backend/tcop/postgres.c | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/305e2bc7/src/backend/tcop/postgres.c
----------------------------------------------------------------------
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index 7cbe206..2450136 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -3608,8 +3608,6 @@ ProcessInterrupts(void)
 
        if (QueryCancelPending)
        {
-               elog(LOG,"Process interrupt for 'query cancel pending'.");
-
                QueryCancelPending = false;
                        ImmediateInterruptOK = false;   /* not idle anymore */
                        DisableNotifyInterrupt();

Reply via email to