projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05c5927
)
Initialise a variable correctly.
author
Pavan Deolasee
<
[email protected]
>
Wed, 12 Sep 2018 09:15:55 +0000
(14:45 +0530)
committer
Pavan Deolasee
<
[email protected]
>
Wed, 12 Sep 2018 09:15:55 +0000
(14:45 +0530)
This was leading to unexpected/unexplained crashes in the cluster monitor
process. Per reprot by Hengbing
src/backend/postmaster/clustermon.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/postmaster/clustermon.c
b/src/backend/postmaster/clustermon.c
index e15a0d788b48f43f70055922f22e73052a256a4c..34f571c03bf3929c2dc948d660415f3b1014562e 100644
(file)
--- a/
src/backend/postmaster/clustermon.c
+++ b/
src/backend/postmaster/clustermon.c
@@
-197,7
+197,7
@@
ClusterMonitorInit(void)
while (!got_SIGTERM)
{
struct timeval nap;
- int rc;
+ int rc
= 0
;
/*
* While booting up, aggressively try to report Xmin and fetch global