[HACKERS] Coverage improvements of src/bin/pg_basebackup and pg_receivewal --endpos

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема [HACKERS] Coverage improvements of src/bin/pg_basebackup and pg_receivewal --endpos
Дата
Msg-id CAB7nPqQ-PQh1Qknrv_cwGf3kH0aReoThby0+37xiRp=MC7M+Mw@mail.gmail.com
обсуждение исходный текст
Ответы Re: [HACKERS] Coverage improvements of src/bin/pg_basebackup and pg_receivewal --endpos  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
Hi all,

The coverage of pg_basebackup is reaching 50%, which is not bad:
https://coverage.postgresql.org/src/bin/pg_basebackup/index.html
In this set pg_receivewal.c is the bad student with less than 20%.

There are a couple of causes behind that, with no tests like:
- option interactions like --create-slot and --drop-slot.
- replication slot drop.
- end of streaming.
- check handling of history files.
- looking at compressed and uncompressed WAL data.
- restart of pg_receivewal on an existing folder.
- pg_basebackup's tests don't use the progress report.

While it is possible to tackle some of those issues independently,
like pg_basebackup stuff, it seems to me that it would be helpful to
make the tests more deterministic by having an --endpos option for
pg_receivewal, similarly to what exists already in pg_recvlogical.

Thoughts?
-- 
Michael



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: [HACKERS] PG10 transition tables, wCTEs and multiple operationson the same table
Следующее
От: Amit Langote
Дата:
Сообщение: Re: [HACKERS] sketchy partcollation handling