mirror of https://github.com/citusdata/citus.git
wip
parent
23ffaabe52
commit
9103a33dbf
|
@ -47,7 +47,8 @@ utils/citus_version.o: $(CITUS_VERSION_INVALIDATE)
|
|||
|
||||
SHLIB_LINK += $(filter -lssl -lcrypto -lssleay32 -leay32, $(LIBS))
|
||||
|
||||
override CPPFLAGS += -I$(libpq_srcdir) -I$(safestringlib_srcdir)/include
|
||||
override LDFLAGS += /usr/lib/gcc/x86_64-linux-gnu/7/libbacktrace.a
|
||||
override CPPFLAGS += -I$(libpq_srcdir) -I$(safestringlib_srcdir)/include -I/usr/lib/gcc/x86_64-linux-gnu/7/include/
|
||||
|
||||
SQL_DEPDIR=.deps/sql
|
||||
SQL_BUILDDIR=build/sql
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
#include "fmgr.h"
|
||||
#include "miscadmin.h"
|
||||
|
||||
#include "backtrace-supported.h"
|
||||
#include "backtrace.h"
|
||||
#include "safe_lib.h"
|
||||
|
||||
#include "citus_version.h"
|
||||
|
@ -366,6 +368,9 @@ multi_log_hook(ErrorData *edata)
|
|||
edata->message = "canceling the transaction since it was "
|
||||
"involved in a distributed deadlock";
|
||||
}
|
||||
|
||||
struct backtrace_state* m = backtrace_create_state(NULL, 0 , NULL, NULL);
|
||||
backtrace_full(m, 0, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue