Re: killing perl2host

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: killing perl2host
Дата
Msg-id fc64ba13-fa3a-2b74-8613-aba9fdd152dc@dunslane.net
обсуждение исходный текст
Ответ на Re: killing perl2host  (Andres Freund <andres@anarazel.de>)
Ответы Re: killing perl2host  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 2/16/22 16:01, Andres Freund wrote:
> Hi,
>
> On 2022-02-16 15:46:28 -0500, Andrew Dunstan wrote:
>> I suggest that we apply this patch:
> +1
>
>> and if nothing breaks in a few days I will set about a more thorough
>> removal of perl2host() and adjusting everywhere it's called, and we can
>> forget that the whole sorry mess ever happened :-)
> I think we would need an error check against using an msys perl when targeting
> native windows, otherwise this'll be too hard to debug.


So something like this in Utils.pm:


die "Msys targeted perl is unsupported for running TAP tests" if
$Config{osname}eq 'msys';


>
> And we probably should set that environment variable that might fix in-tree
> tests? Or reject in-tree builds?


I think that's an orthogonal issue, but yes we should probably set it.
Have you tested to make sure it does what we want? I certainly don't
want to reject in-tree builds.


cheers


andrew


--
Andrew Dunstan
EDB: https://www.enterprisedb.com




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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: refactoring basebackup.c
Следующее
От: Matthias van de Meent
Дата:
Сообщение: Preventing indirection for IndexPageGetOpaque for known-size page special areas