Re: IPC::Run accepts bug reports

2024-10-08 Thread Alexander Lakhin
Hello Noah, 04.10.2024 21:57, Noah Misch wrote: That makes sense. Would you file this at https://github.com/cpan-authors/IPC-Run/issues? I suppose that code should become roughly: do { $r = POSIX::read(...) } while (!defined($r) && $!{EINTR}); croak ... unless defined($r); Just for r

Re: IPC::Run accepts bug reports

2024-10-04 Thread Noah Misch
On Fri, Oct 04, 2024 at 02:00:00PM +0300, Alexander Lakhin wrote: > sub _read { > ... >     my $r = POSIX::read( $_[0], $s, 10_000 ); >     croak "$!: read( $_[0] )" if not($r) and !$!{EINTR}; > > That is, EINTR kind of recognized as an expected error, but there is no > retry in this case. Thus, w

Re: IPC::Run accepts bug reports

2024-10-04 Thread Alexander Lakhin
Hello Noah, 16.06.2024 02:48, Noah Misch wrote: I don't see in https://github.com/cpan-authors/IPC-Run/issues anything affecting PostgreSQL. If you know of IPC::Run defects, please report them. If I knew of an IPC::Run defect affecting PostgreSQL, I likely would work on it before absurdity like

Re: IPC::Run accepts bug reports

2024-06-25 Thread Noah Misch
On Mon, Jun 17, 2024 at 01:56:46PM -0400, Robert Haas wrote: > On Sat, Jun 15, 2024 at 7:48 PM Noah Misch wrote: > > Separating this from the pytest thread: > > > > On Sat, Jun 15, 2024 at 01:26:57PM -0400, Robert Haas wrote: > > > The one > > > thing I know about that *I* think is a pretty big pr

Re: IPC::Run accepts bug reports

2024-06-19 Thread Noah Misch
On Tue, Jun 18, 2024 at 08:07:27PM -0700, Andres Freund wrote: > > > > 1) Sometimes hangs hard on windows if started processes have not been > > > > shut > > > >down before script exits. > It reliably reproduces if I comment out > the lines below > # explicitly shut down psql instances grac

Re: IPC::Run accepts bug reports

2024-06-18 Thread Andres Freund
Hi, On 2024-06-18 12:00:13 -0700, Andres Freund wrote: > On 2024-06-18 10:10:17 -0700, Noah Misch wrote: > > > 1) Sometimes hangs hard on windows if started processes have not been shut > > >down before script exits. I've mostly encountered this via the > > > buildfarm / > > >CI, so I ne

Re: IPC::Run accepts bug reports

2024-06-18 Thread Andrew Dunstan
On 2024-06-18 Tu 3:00 PM, Andres Freund wrote: Hi, On 2024-06-18 10:10:17 -0700, Noah Misch wrote: On Mon, Jun 17, 2024 at 11:11:17AM -0700, Andres Freund wrote: On 2024-06-15 16:48:24 -0700, Noah Misch wrote: On Sat, Jun 15, 2024 at 01:26:57PM -0400, Robert Haas wrote: The one thing I know

Re: IPC::Run accepts bug reports

2024-06-18 Thread Andres Freund
Hi, On 2024-06-18 10:10:17 -0700, Noah Misch wrote: > On Mon, Jun 17, 2024 at 11:11:17AM -0700, Andres Freund wrote: > > On 2024-06-15 16:48:24 -0700, Noah Misch wrote: > > > On Sat, Jun 15, 2024 at 01:26:57PM -0400, Robert Haas wrote: > > > > The one > > > > thing I know about that *I* think is a

Re: IPC::Run accepts bug reports

2024-06-18 Thread Noah Misch
On Mon, Jun 17, 2024 at 11:11:17AM -0700, Andres Freund wrote: > On 2024-06-15 16:48:24 -0700, Noah Misch wrote: > > On Sat, Jun 15, 2024 at 01:26:57PM -0400, Robert Haas wrote: > > > The one > > > thing I know about that *I* think is a pretty big problem about Perl > > > is that IPC::Run is not re

Re: IPC::Run accepts bug reports

2024-06-17 Thread Andres Freund
Hi, On 2024-06-15 16:48:24 -0700, Noah Misch wrote: > Separating this from the pytest thread: > > On Sat, Jun 15, 2024 at 01:26:57PM -0400, Robert Haas wrote: > > The one > > thing I know about that *I* think is a pretty big problem about Perl > > is that IPC::Run is not really maintained. > > I d

Re: IPC::Run accepts bug reports

2024-06-17 Thread Robert Haas
On Sat, Jun 15, 2024 at 7:48 PM Noah Misch wrote: > Separating this from the pytest thread: > > On Sat, Jun 15, 2024 at 01:26:57PM -0400, Robert Haas wrote: > > The one > > thing I know about that *I* think is a pretty big problem about Perl > > is that IPC::Run is not really maintained. > > I don

IPC::Run accepts bug reports

2024-06-15 Thread Noah Misch
Separating this from the pytest thread: On Sat, Jun 15, 2024 at 01:26:57PM -0400, Robert Haas wrote: > The one > thing I know about that *I* think is a pretty big problem about Perl > is that IPC::Run is not really maintained. I don't see in https://github.com/cpan-authors/IPC-Run/issues anything