diff options
Diffstat (limited to 'src/backend/utils/misc/timeout.c')
-rw-r--r-- | src/backend/utils/misc/timeout.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/utils/misc/timeout.c b/src/backend/utils/misc/timeout.c index 1dec4928af0..ce4bc13ec3b 100644 --- a/src/backend/utils/misc/timeout.c +++ b/src/backend/utils/misc/timeout.c @@ -284,11 +284,9 @@ handle_sig_alarm(SIGNAL_ARGS) /* * SIGALRM is always cause for waking anything waiting on the process - * latch. Cope with MyProc not being there, as the startup process also - * uses this signal handler. + * latch. */ - if (MyProc) - SetLatch(&MyProc->procLatch); + SetLatch(MyLatch); /* * Fire any pending timeouts, but only if we're enabled to do so. |