Re: Non-portable shell code in pg_upgrade tap tests

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: Non-portable shell code in pg_upgrade tap tests
Дата
Msg-id 20180723070054.GF3998719@rfd.leadboat.com
обсуждение исходный текст
Ответ на Re: Non-portable shell code in pg_upgrade tap tests  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, Jul 22, 2018 at 02:53:51PM -0400, Tom Lane wrote:
> Noah Misch <noah@leadboat.com> writes:
> > On Sun, Jul 22, 2018 at 10:46:03AM -0400, Tom Lane wrote:
> >> The pg_upgrade makefile does in fact use $(SHELL), so it will default to
> >> whatever shell configure used.
> 
> > It will not, because we don't set $(SHELL) anywhere.  $(SHELL) is not @SHELL@.
> > In our makefiles, $(SHELL) is always /bin/sh, the GNU make default.
> 
> Oh!  Hm, I wonder whether we shouldn't do that, ie add SHELL = @SHELL@
> to Makefile.global.in.

I see that as the right way forward.


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Fix calculations on WAL recycling.
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Memory leak with CALL to Procedure with COMMIT.