mirror of https://github.com/citusdata/citus.git
wip
parent
0d6efe9349
commit
f3280f105a
|
@ -366,6 +366,14 @@ multi_log_hook(ErrorData *edata)
|
||||||
edata->message = "canceling the transaction since it was "
|
edata->message = "canceling the transaction since it was "
|
||||||
"involved in a distributed deadlock";
|
"involved in a distributed deadlock";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void *buf[100];
|
||||||
|
int nframes;
|
||||||
|
|
||||||
|
nframes = backtrace(buf, lengthof(buf));
|
||||||
|
backtrace_symbols_fd(buf, nframes, fileno(stderr));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue