1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/test
David Steele de1dfb66ca Refactor logging functions to never allocate memory.
Allocating memory made these functions simpler but it meant that memory was leaking into the calling context when logging was enabled. It is not clear that this was an issue but it seems that trace level logging could result it a lot of memory usage depending on the use case.

This also makes it possible to audit allocations returned to the calling context, which will be done in a followup commit.

Also rename objToLog() to objNameToLog() since it seemed logical to name the new function objToLog().
2023-01-12 17:14:36 +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 Refactor logging functions to never allocate memory. 2023-01-12 17:14:36 +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 Refactor logging functions to never allocate memory. 2023-01-12 17:14:36 +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