diff options
-rw-r--r-- | src/backend/tcop/postgres.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 8c0c8b9c88..3505fc430c 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -2753,11 +2753,9 @@ SigHupHandler(SIGNAL_ARGS) void RecoveryConflictInterrupt(ProcSignalReason reason) { - int save_errno = errno; - /* - * Don't joggle the elbow of proc_exit - */ + * Don't joggle the elbow of proc_exit + */ if (!proc_exit_inprogress) { RecoveryConflictReason = reason; @@ -2856,8 +2854,6 @@ RecoveryConflictInterrupt(ProcSignalReason reason) ProcessInterrupts(); } } - - errno = save_errno; } /* |