summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAlvaro Herrera2019-11-08 18:44:20 +0000
committerAlvaro Herrera2019-11-08 18:44:20 +0000
commit71a8a4f6e36547bb060dbcc961ea9b57420f7190 (patch)
tree3abd0dc46c18cc7400933fb2ef3f19d3e8f3f28a /contrib
parent3dcffb381c81c9c8f8254100feacac256b9e75a6 (diff)
Add backtrace support for error reporting
Add some support for automatically showing backtraces in certain error situations in the server. Backtraces are shown on assertion failure; also, a new setting backtrace_functions can be set to a list of C function names, and all ereport()s and elog()s from the mentioned functions will have backtraces generated. Finally, the function errbacktrace() can be manually added to an ereport() call to generate a backtrace for that call. Authors: Peter Eisentraut, Álvaro Herrera Discussion: https://postgr.es/m//[email protected] Discussion: https://postgr.es/m/CAMsr+YGL+yfWE=JvbUbnpWtrRZNey7hJ07+zT4bYJdVp4Szdrg@mail.gmail.com
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions