Re: Query execution in Perl TAP tests needs work

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Query execution in Perl TAP tests needs work
Дата
Msg-id CA+hUKGJEn_1nRJ2=eNd8iNUCP5-ORG7HL+x27Bet00T5N9YkNg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Query execution in Perl TAP tests needs work  (Noah Misch <noah@leadboat.com>)
Ответы Re: Query execution in Perl TAP tests needs work  (Noah Misch <noah@leadboat.com>)
Список pgsql-hackers
On Tue, Aug 29, 2023 at 1:48 PM Noah Misch <noah@leadboat.com> wrote:
> https://github.com/cpan-authors/IPC-Run/issues/166#issuecomment-1288190929

Interesting.  But that shows a case with no pipes connected, using
select() as a dumb sleep and ignoring SIGCHLD.  In our usage we have
pipes connected, and I think select() should return when the child's
output pipes become readable due to EOF.  I guess something about that
might be b0rked on Windows?  I see there is an extra helper process
doing socket<->pipe conversion (hah, that explains an extra ~10ms at
the start in my timestamps)... I can't really follow that code, but
perhaps the parent forgot to close the far end of the socket pair, so
there is no EOF?



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: subscription/015_stream sometimes breaks
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Query execution in Perl TAP tests needs work