[HACKERS] Silence perl warning in check-world

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема [HACKERS] Silence perl warning in check-world
Дата
Msg-id CAMkU=1zNhX8YW5nk4uNGxjMwq0hJzVqnvBd36Bx+G30YoBZ68w@mail.gmail.com
обсуждение исходный текст
Ответы Re: [HACKERS] Silence perl warning in check-world  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
In some older versions of perl (like v5.10), I get a warning that:

Use of implicit split to @_ is deprecated at src/test/recovery/t/006_logical_decoding.pl line 26.

Splitting into a dummy variable silences that warning, as in the attached.  There may be a better way to silence the warning.  (Presumably it actually is clobbering @_ in those older versions of Perl, but that doesn't seem to cause problems in this particular case.)

Cheers,

Jeff


Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] Allow pg_dumpall to work without pg_authid
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: [HACKERS] make check-world output