[Question: linux pipes ( ... | gzip | cat ... ) in tests failing] Re: [PATCH] Adding pg_dump flag for parallel export to pipes - Mailing list pgsql-hackers

From Hannu Krosing
Subject [Question: linux pipes ( ... | gzip | cat ... ) in tests failing] Re: [PATCH] Adding pg_dump flag for parallel export to pipes
Date
Msg-id CAMT0RQRCs00P3AHJOhz6At-Rre1F3=Xir4A0vBHQvR69LMyvzw@mail.gmail.com
Whole thread Raw
List pgsql-hackers
Just to bring this out separately :

Does anybody have any ideas why pipe commands prematurely close inside tests ?

>  Re: 003-pg_dump_basic_tests has a few basic validation tests for
> correctmflag combinations. We need to write more automated tests in
> 002_pg_dump.pl but have been running into some issues with environment
> setup due to which certain pipe commands result in the shell process
> becoming defunct. These same commands are working fine in manual
> testing. We are still looking into this.

Basically we have pg_dump opening multiple command pipes in parallel
dump mode and they become defunct when tests are run as tests, while
everything works fine when same thing is run manually


Cheers,
Hannu



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Support NOT VALID / VALIDATE constraint options for named NOT NULL constraints
Next
From: Tom Lane
Date:
Subject: Re: [fixed] Trigger test