projects
/
users
/
andresfreund
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c1bcd8
)
bdr: Don't print an informative message in a signal handler.
author
Andres Freund
<
[email protected]
>
Fri, 18 Apr 2014 12:20:35 +0000
(14:20 +0200)
committer
Andres Freund
<
[email protected]
>
Thu, 3 Jul 2014 15:55:25 +0000
(17:55 +0200)
contrib/bdr/bdr.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/bdr/bdr.c
b/contrib/bdr/bdr.c
index 24aa70dd2c7d702b39f2e5db55e128872ddae785..c639b77c38dabb4529c0956f8dda097937d7a398 100644
(file)
--- a/
contrib/bdr/bdr.c
+++ b/
contrib/bdr/bdr.c
@@
-205,9
+205,12
@@
bdr_sigterm(SIGNAL_ARGS)
static void
bdr_sighup(SIGNAL_ARGS)
{
- elog(LOG, "got sighup!");
+ int save_errno = errno;
+
if (MyProc)
SetLatch(&MyProc->procLatch);
+
+ errno = save_errno;
}
static void