[HACKERS] Silence perl warning in check-world - Mailing list pgsql-hackers

From Jeff Janes
Subject [HACKERS] Silence perl warning in check-world
Date
Msg-id CAMkU=1zNhX8YW5nk4uNGxjMwq0hJzVqnvBd36Bx+G30YoBZ68w@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] Silence perl warning in check-world  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List 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


Attachment

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Allow pg_dumpall to work without pg_authid
Next
From: Jeff Janes
Date:
Subject: Re: [HACKERS] make check-world output