| From: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Silence perl warning in check-world |
| Date: | 2017-03-13 20:51:10 |
| Message-ID: | CAMkU=1zNhX8YW5nk4uNGxjMwq0hJzVqnvBd36Bx+G30YoBZ68w@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 | Content-Type | Size |
|---|---|---|
| silence_perl_warning.patch | application/octet-stream | 813 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeff Janes | 2017-03-13 20:58:49 | Re: make check-world output |
| Previous Message | Peter Eisentraut | 2017-03-13 20:41:05 | Re: Allow pg_dumpall to work without pg_authid |