Re: plperl tests fail with latest Perl 5.36

From: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: plperl tests fail with latest Perl 5.36
Date: 2022-06-01 15:11:53
Message-ID: 87bkvcmn9i.fsf@wibble.ilmari.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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.

Tested on 5.36.0 and 5.8.9.

- ilmari

Attachment Content-Type Size
0001-Fix-plperl-test-for-change-of-warning-category-in-pe.patch text/x-diff 2.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2022-06-01 15:28:10 Re: support for MERGE
Previous Message Jacob Champion 2022-06-01 15:11:28 Re: [PoC] Let libpq reject unexpected authentication requests