Re: pg_regress: lookup shellprog in $PATH

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: pg_regress: lookup shellprog in $PATH
Дата
Msg-id CA+Tgmoa7+X=sO_0jJkzO7RvEnA_C4hj_zV79yxMYdaSERf0eXQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_regress: lookup shellprog in $PATH  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_regress: lookup shellprog in $PATH  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Aug 25, 2022 at 10:48 AM Tom Lane <tgl@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



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: shadow variables - pg15 edition
Следующее
От: Christoph Berg
Дата:
Сообщение: Re: pg_receivewal and SIGTERM