1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/test
David Steele 45c3f4d53c
Improve JSON handling.
Previously read/writing JSON required parsing/render via a variant, which add many more memory allocations and loops.

Instead allow JSON to be read/written serially to improve performance and simplify the code. This also allows us to get rid of many String and Variant constant which are no longer required.

The goal is to be able to read/write very large (e.g. gigabyte manifest) JSON structures, which would not be practical with the current code.

Note that external JSON (GCS, S3, etc) is still handled using variants. Converting these will require more consideration about key ordering since it cannot be guaranteed as in our own formats.
2022-04-25 09:06:26 -04:00
..
certificate Add TLS Server. 2021-10-18 14:32:41 -04:00
code-count Improve path validation for repo-* commands. 2022-03-22 07:50:26 -06:00
data Automate generation of WAL and pg_control test files. 2017-11-18 20:02:54 -05:00
expect Set option-archive-copy flag in backup.manifest to false when offline. 2022-04-05 18:42:19 -04:00
lib/pgBackRestTest Set option-archive-copy flag in backup.manifest to false when offline. 2022-04-05 18:42:19 -04:00
src Improve JSON handling. 2022-04-25 09:06:26 -04:00
.gitignore Move coverage results to test/result. 2020-03-14 15:29:42 -04:00
ci.pl Use Rocky Linux for documentation builds instead of CentOS. 2021-10-28 15:15:49 -04:00
container.yaml Fix language in rh7 test container for aarch64. 2022-01-26 13:22:31 -06:00
define.yaml Improve JSON handling. 2022-04-25 09:06:26 -04:00
Dockerfile Use vagrant user in the Docker container. 2022-02-26 13:50:30 -06:00
test.pl Remove extraneous double spaces in code and comments. 2022-03-15 17:55:48 -06:00
Vagrantfile Update Vagrantfile to Ubuntu 20.04. 2021-10-13 13:21:04 -04:00