diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-09-13 10:23:59 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-09-13 10:23:59 +0900 |
commit | 72b76f76161c78dd1be42592c4e5b980beef5f26 (patch) | |
tree | 965c19b9331b1d2a367d8ffd5abbc10dabddcd00 /src/backend/replication/logical/reorderbuffer.c | |
parent | 2d77d835403a20b51e17e59f0343ddc17f431eec (diff) | |
download | postgresql-72b76f76161c78dd1be42592c4e5b980beef5f26.tar.gz postgresql-72b76f76161c78dd1be42592c4e5b980beef5f26.zip |
Add regression tests for csvlog with the logging collector
These are added in the existing tests of pg_ctl for log rotation, that
already tested stderr. The same amount of coverage is added for csvlog:
- Checks for pg_current_logfile().
- Log rotation with expected file name.
- Log contents generated.
This test is refactored to minimize the amount of work required to add
tests for new log formats, easing some upcoming work.
Author: Michael Paquier, Sehrope Sarkuni
Discussion: https://postgr.es/m/CAH7T-aqswBM6JWe4pDehi1uOiufqe06DJWaU5=X7dDLyqUExHg@mail.gmail.com
Diffstat (limited to 'src/backend/replication/logical/reorderbuffer.c')
0 files changed, 0 insertions, 0 deletions