Re: recovery test failures on hoverfly

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: recovery test failures on hoverfly
Дата
Msg-id 2441509.1623525311@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: recovery test failures on hoverfly  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: recovery test failures on hoverfly  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
>> Michael Paquier <michael@paquier.xyz> writes:
>>> This is the same problem as c757a3da and 6d41dd0, where we write a
>>> query to a pipe but the kill, causing a failure, makes the test fail
>>> with a SIGPIPE in IPC::Run as a query is sent down to a pipe.

After checking the git logs, I realized that this failure is actually
new since 11e9caff8: before that, poll_query_until passed the query
on the command line not stdin, so it wasn't vulnerable to SIGPIPE.
So that explains why we only recently started to see this.

The fix I proposed seems to work fine in all branches, so I went
ahead and pushed it.

            regards, tom lane



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

Предыдущее
От: Yugo NAGATA
Дата:
Сообщение: Avoid stuck of pbgench due to skipped transactions
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Signed vs Unsigned (take 2) (src/backend/storage/ipc/procarray.c)