On Thu, Aug 25, 2022 at 10:48 AM Tom Lane <t...@sss.pgh.pa.us> wrote:
> If we were executing a program that the user needs to have some control
> over, sure, but what we have here is an implementation detail that I
> doubt anyone cares about.  The fact that we're using a shell at all is
> only because nobody has cared to manually implement I/O redirection logic
> in these places; otherwise we'd be execl()'ing the server or psql directly.
> Maybe the best answer would be to do that, and get out of the business
> of knowing where the shell is?

Well that also would not be crazy.

-- 
Robert Haas
EDB: http://www.enterprisedb.com


Reply via email to