Re: plperl tests fail with latest Perl 5.36 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: plperl tests fail with latest Perl 5.36
Date
Msg-id 578876.1654098042@sss.pgh.pa.us
Whole thread Raw
In response to Re: plperl tests fail with latest Perl 5.36  (Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>)
Responses Re: plperl tests fail with latest Perl 5.36  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
=?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= <ilmari@ilmari.org> writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> Apparently 5.36 rejiggers warning classifications in a way that breaks
>> one of our test cases.  Perhaps we should switch it to some other
>> warning-triggering condition.

> The simplest thing is to actually use sort in void context,
> i.e. removing the `my $x = ` part from the test, see the attached.

Looks reasonable to me, but I'm hardly a Perl monk.  Anybody have
a different opinion?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: support for MERGE
Next
From: Nathan Bossart
Date:
Subject: silence compiler warning in brin.c