diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-11-08 15:44:20 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-11-08 15:44:20 -0300 |
commit | 71a8a4f6e36547bb060dbcc961ea9b57420f7190 (patch) | |
tree | 3abd0dc46c18cc7400933fb2ef3f19d3e8f3f28a /src/backend/access/gist/gistbuild.c | |
parent | 3dcffb381c81c9c8f8254100feacac256b9e75a6 (diff) | |
download | postgresql-71a8a4f6e36547bb060dbcc961ea9b57420f7190.tar.gz postgresql-71a8a4f6e36547bb060dbcc961ea9b57420f7190.zip |
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//5f48cb47-bf1e-05b6-7aae-3bf2cd01586d@2ndquadrant.com
Discussion: https://postgr.es/m/CAMsr+YGL+yfWE=JvbUbnpWtrRZNey7hJ07+zT4bYJdVp4Szdrg@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistbuild.c')
0 files changed, 0 insertions, 0 deletions