Add basic tests for the low-level backup method.

From: David Steele <david(at)pgmasters(dot)net>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Add basic tests for the low-level backup method.
Date: 2023-11-11 19:21:12
Message-ID: 03e4cf19-fb76-4891-accc-edd429a25b21@pgmasters.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hackers,

As promised in [1], attached are some basic tests for the low-level
backup method.

There are currently no tests for the low-level backup method.
pg_backup_start() and pg_backup_stop() are called but not exercised in
any real fashion.

There is a lot more that can be done, but this at least supplies some
basic tests and provides a place for future improvement.

Regards,
-David

[1]
https://www.postgresql.org/message-id/2daf8adc-8db7-4204-a7f2-a7e94e2bfa4b%40pgmasters.net

Attachment Content-Type Size
low-level-backup-test-v1.patch text/plain 4.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2023-11-11 19:43:25 Re: pgsql: Don't trust unvalidated xl_tot_len.
Previous Message Thomas Munro 2023-11-11 19:00:59 Re: pgsql: Don't trust unvalidated xl_tot_len.