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:
8cf910a
)
bdr: restart bgworkers after connection aborts again.
author
Andres Freund
<andres@anarazel.de>
Fri, 16 May 2014 16:26:18 +0000
(18:26 +0200)
committer
Andres Freund
<andres@anarazel.de>
Thu, 3 Jul 2014 15:55:38 +0000
(17:55 +0200)
The recent bgworker API fixes reinterpreted the proc_exit(0) by the
old connection abort case into a "don't restart bgworker".
contrib/bdr/bdr.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/bdr/bdr.c
b/contrib/bdr/bdr.c
index b3c4d70bb536a3dd72b59b193325506f2ce18338..73faf300e82e2901680dc4a0ff9c7f5ae1e6a045 100644
(file)
--- a/
contrib/bdr/bdr.c
+++ b/
contrib/bdr/bdr.c
@@
-679,8
+679,7
@@
bdr_apply_main(Datum main_arg)
if (r == -1)
{
- elog(DEBUG1, "data stream ended");
- return;
+ elog(ERROR, "data stream ended");
}
else if (r == -2)
{