Re: pgsql: Enable TAP tests of pg_receivewal for ZLIB on Windows, take thre

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pgsql: Enable TAP tests of pg_receivewal for ZLIB on Windows, take thre
Дата
Msg-id YQyBHjUIzkvTNeox@paquier.xyz
обсуждение исходный текст
Ответ на Re: pgsql: Enable TAP tests of pg_receivewal for ZLIB on Windows, take thre  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-committers
On Thu, Aug 05, 2021 at 11:49:01AM -0400, Andrew Dunstan wrote:
> Yeah, pretty much. I wonder what zlib API the pg_receivewal tests are
> tickling that other tests have not?

The main issue is that this is the first test suite stressing directly
zlib internals, as we only use gzread(), gzwrite() and gzflush()
within pg_dump/ and pg_basebackup/.  And there is currently no
coverage of pg_dump --compress.  My guess is that nobody tackled this
issue because of the need to make the tests conditional depending on
the compilation options.

Saying that, I recall two error patterns from this thread's
experience thanks to the specific error messages we have in
pg_receivewal for the handling of the WAL segments:
- gzopen(), followed by gzwrite() failing on EACCES.
- gzopen(), followed by gzflush() failing.
--
Michael

Вложения

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: process startup: Centralize pgwin32_signal_initialize() calls.
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: process startup: Always call Init[Auxiliary]Process() before Bas