Re: select limit error in file_fdw
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Erik Rijkers <er@xs4all.nl>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2018-12-16T18:10:42Z
Lists: pgsql-hackers
Erik Rijkers <er@xs4all.nl> writes: > On 2018-12-16 16:52, Tom Lane wrote: >> However, something else occurred to me this morning, and a bit >> later I can reproduce the problem! I did it by changing the >> table's definition to use a shell pipeline: > /bin/sh seems to be dash, here. Hm. That must be the relevant difference. I just repeated the experiment on a Fedora 28 box with reasonably up-to-date bash: $ /bin/sh --version GNU bash, version 4.4.23(1)-release (x86_64-redhat-linux-gnu) and it behaves the same as my RHEL6 box: no problem with the direct invocation of unzip, problem if use a pipeline. Anyway, we know what to do, so I'll go do it. regards, tom lane
Commits
-
Improve detection of child-process SIGPIPE failures.
- b1894a6076f3 11.2 landed
- ade2d61ed09c 12.0 landed
- 34010ac2fa18 10.7 landed
-
Handle EPIPE more sanely when we close a pipe reading from a program.
- ffa4cbd623dd 12.0 cited