1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/test
David Steele c826429123 Improve libbacktrace implementation.
The libbacktrace feature has not been working since the move to meson because libbacktrace detection was not added to the meson build. Add libbacktrace to meson and improve the feature so that it can be compiled into release builds.

The prior implementation fetched line numbers with each stack trace push. Not only was this slow but it missed any functions that were not being tracked on our stack.

Instead just examine the backtrace when an error happens and merge it with the info we have on our stack. If the backtrace is not available then the output remains as before.

Also remove --backtrace from test.pl since the library is now auto-detected.

Leave this library out of the production build for now to give it a little time to shake out in testing.
2023-01-11 11:19:26 +07:00
..
certificate Add TLS Server. 2021-10-18 14:32:41 -04:00
code-count Remove support for PostgreSQL 9.0/9.1/9.2. 2022-12-20 12:20:47 +07:00
data
lib/pgBackRestTest Improve libbacktrace implementation. 2023-01-11 11:19:26 +07:00
src Improve libbacktrace implementation. 2023-01-11 11:19:26 +07:00
.gitignore Move coverage results to test/result. 2020-03-14 15:29:42 -04:00
ci.pl Add experimental Meson build. 2022-06-03 14:13:56 -04:00
container.yaml Remove support for PostgreSQL 9.0/9.1/9.2. 2022-12-20 12:20:47 +07:00
define.yaml Add unit tests for the unit test build code. 2023-01-05 12:59:06 +07:00
Dockerfile Test Dockerfile improvements. 2022-07-21 19:27:58 -04:00
test.pl Improve libbacktrace implementation. 2023-01-11 11:19:26 +07:00
Vagrantfile Update CI to use Ubuntu 22.04 and Fedora 36. 2022-06-06 16:32:20 -04:00